@octane-xplat/macos-renderer 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +95 -20
  2. package/package.json +15 -2
  3. package/src/appearance.ts +2 -0
  4. package/src/fonts.ts +2 -0
  5. package/src/formatted-text.ts +147 -0
  6. package/src/gestures.ts +196 -0
  7. package/src/host-globals.d.ts +55 -0
  8. package/src/html-text.ts +88 -0
  9. package/src/image.ts +91 -16
  10. package/src/index.d.ts +9 -0
  11. package/src/index.ts +5030 -678
  12. package/src/layer.ts +11 -9
  13. package/src/list-template.ts +266 -0
  14. package/src/list-view.ts +445 -0
  15. package/src/portal-components.macos.tsx +86 -0
  16. package/src/presentation.ts +48 -15
  17. package/src/scroll-view.ts +124 -0
  18. package/src/tab-view.ts +512 -0
  19. package/src/template-props.ts +402 -0
  20. package/src/vendor/listview/LICENSE +19 -0
  21. package/src/vendor/listview/README.md +1 -0
  22. package/src/vendor/listview/binding-options.ts +189 -0
  23. package/src/vendor/listview/expressions.ts +285 -0
  24. package/src/webview.ts +36 -7
  25. package/types/ARKitCore.d.ts +199 -0
  26. package/types/AVFAudio.d.ts +2304 -0
  27. package/types/AVFoundation.d.ts +6974 -0
  28. package/types/AVKit.d.ts +215 -0
  29. package/types/AVRouting.d.ts +7 -0
  30. package/types/Accelerate.d.ts +4776 -0
  31. package/types/Accessibility.d.ts +69 -0
  32. package/types/Accounts.d.ts +134 -0
  33. package/types/AdSupport.d.ts +12 -0
  34. package/types/AddressBook.d.ts +1012 -0
  35. package/types/AppKit.d.ts +34247 -0
  36. package/types/AppTrackingTransparency.d.ts +23 -0
  37. package/types/AppleScriptKit.d.ts +6 -0
  38. package/types/ApplicationServices.d.ts +6346 -0
  39. package/types/AudioToolbox.d.ts +7129 -0
  40. package/types/AudioVideoBridging.d.ts +613 -0
  41. package/types/AuthenticationServices.d.ts +982 -0
  42. package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
  43. package/types/Automator.d.ts +248 -0
  44. package/types/BackgroundAssets.d.ts +9 -0
  45. package/types/BrowserEngineKit.d.ts +166 -0
  46. package/types/BusinessChat.d.ts +29 -0
  47. package/types/CFNetwork.d.ts +931 -0
  48. package/types/CalendarStore.d.ts +354 -0
  49. package/types/CallKit.d.ts +30 -0
  50. package/types/Carbon.d.ts +16207 -0
  51. package/types/ClassKit.d.ts +281 -0
  52. package/types/CloudKit.d.ts +1565 -0
  53. package/types/Collaboration.d.ts +123 -0
  54. package/types/ColorSync.d.ts +562 -0
  55. package/types/CompositorServices.d.ts +60 -0
  56. package/types/ComputeGraph.d.ts +16 -0
  57. package/types/Contacts.d.ts +1558 -0
  58. package/types/ContactsUI.d.ts +39 -0
  59. package/types/CoreAudio.d.ts +1376 -0
  60. package/types/CoreAudioKit.d.ts +122 -0
  61. package/types/CoreAudioTypes.d.ts +1003 -0
  62. package/types/CoreBluetooth.d.ts +657 -0
  63. package/types/CoreData.d.ts +2479 -0
  64. package/types/CoreFoundation.d.ts +5546 -0
  65. package/types/CoreGraphics.d.ts +3676 -0
  66. package/types/CoreHaptics.d.ts +361 -0
  67. package/types/CoreImage.d.ts +4781 -0
  68. package/types/CoreLocation.d.ts +564 -0
  69. package/types/CoreMIDI.d.ts +1538 -0
  70. package/types/CoreML.d.ts +905 -0
  71. package/types/CoreMedia.d.ts +2615 -0
  72. package/types/CoreMediaIO.d.ts +1046 -0
  73. package/types/CoreMotion.d.ts +316 -0
  74. package/types/CoreServices.d.ts +24810 -0
  75. package/types/CoreSpotlight.d.ts +789 -0
  76. package/types/CoreTelephony.d.ts +31 -0
  77. package/types/CoreText.d.ts +3973 -0
  78. package/types/CoreTransferable.d.ts +3 -0
  79. package/types/CoreVideo.d.ts +1162 -0
  80. package/types/CoreWLAN.d.ts +556 -0
  81. package/types/CryptoTokenKit.d.ts +548 -0
  82. package/types/DVDPlayback.d.ts +931 -0
  83. package/types/DataDetection.d.ts +66 -0
  84. package/types/DeviceCheck.d.ts +46 -0
  85. package/types/DeviceDiscoveryExtension.d.ts +142 -0
  86. package/types/DirectoryService.d.ts +966 -0
  87. package/types/DiscRecording.d.ts +2345 -0
  88. package/types/DiscRecordingUI.d.ts +288 -0
  89. package/types/DiskArbitration.d.ts +366 -0
  90. package/types/DriverKit.d.ts +639 -0
  91. package/types/EventKit.d.ts +640 -0
  92. package/types/ExceptionHandling.d.ts +56 -0
  93. package/types/ExecutionPolicy.d.ts +30 -0
  94. package/types/ExternalAccessory.d.ts +98 -0
  95. package/types/FSKit.d.ts +237 -0
  96. package/types/FileProvider.d.ts +495 -0
  97. package/types/FileProviderUI.d.ts +31 -0
  98. package/types/FinderSync.d.ts +165 -0
  99. package/types/FocusEngine.d.ts +133 -0
  100. package/types/ForceFeedback.d.ts +399 -0
  101. package/types/Foundation.d.ts +18216 -0
  102. package/types/GLKit.d.ts +937 -0
  103. package/types/GLUT.d.ts +1018 -0
  104. package/types/GSS.d.ts +855 -0
  105. package/types/GameController.d.ts +1394 -0
  106. package/types/GameKit.d.ts +1958 -0
  107. package/types/GameSave.d.ts +54 -0
  108. package/types/GameplayKit.d.ts +1645 -0
  109. package/types/HealthKit.d.ts +278 -0
  110. package/types/Hypervisor.d.ts +2079 -0
  111. package/types/ICADevices.d.ts +1400 -0
  112. package/types/IOBluetooth.d.ts +6094 -0
  113. package/types/IOBluetoothUI.d.ts +250 -0
  114. package/types/IOKit.d.ts +25804 -0
  115. package/types/IOSurface.d.ts +435 -0
  116. package/types/IOUSBHost.d.ts +809 -0
  117. package/types/ImageCaptureCore.d.ts +1104 -0
  118. package/types/ImageIO.d.ts +1697 -0
  119. package/types/InputMethodKit.d.ts +264 -0
  120. package/types/InstallerPlugins.d.ts +102 -0
  121. package/types/InstantMessage.d.ts +229 -0
  122. package/types/Intents.d.ts +1833 -0
  123. package/types/IntentsUI.d.ts +5 -0
  124. package/types/JavaRuntimeSupport.d.ts +520 -0
  125. package/types/JavaScriptCore.d.ts +934 -0
  126. package/types/Kerberos.d.ts +3754 -0
  127. package/types/Kernel.d.ts +33698 -0
  128. package/types/KernelManagement.d.ts +5 -0
  129. package/types/LatentSemanticMapping.d.ts +152 -0
  130. package/types/LinkPresentation.d.ts +57 -0
  131. package/types/LocalAuthentication.d.ts +94 -0
  132. package/types/MLCompute.d.ts +2343 -0
  133. package/types/MapKit.d.ts +2125 -0
  134. package/types/Matter.d.ts +151 -0
  135. package/types/MediaAccessibility.d.ts +137 -0
  136. package/types/MediaLibrary.d.ts +394 -0
  137. package/types/MediaPlayer.d.ts +475 -0
  138. package/types/MediaToolbox.d.ts +70 -0
  139. package/types/Metal.d.ts +4542 -0
  140. package/types/MetalFX.d.ts +107 -0
  141. package/types/MetalKit.d.ts +524 -0
  142. package/types/MetalPerformanceShaders.d.ts +9306 -0
  143. package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
  144. package/types/MetricKit.d.ts +231 -0
  145. package/types/ModelIO.d.ts +2908 -0
  146. package/types/MultipeerConnectivity.d.ts +348 -0
  147. package/types/NaturalLanguage.d.ts +556 -0
  148. package/types/NearbyInteraction.d.ts +51 -0
  149. package/types/NetFS.d.ts +99 -0
  150. package/types/Network.d.ts +1622 -0
  151. package/types/NetworkExtension.d.ts +1574 -0
  152. package/types/NotificationCenter.d.ts +103 -0
  153. package/types/OSAKit.d.ts +260 -0
  154. package/types/OSLog.d.ts +208 -0
  155. package/types/OpenAL.d.ts +314 -0
  156. package/types/OpenCL.d.ts +2489 -0
  157. package/types/OpenDirectory.d.ts +1919 -0
  158. package/types/OpenGL.d.ts +11322 -0
  159. package/types/PCSC.d.ts +534 -0
  160. package/types/PDFKit.d.ts +1575 -0
  161. package/types/PHASE.d.ts +166 -0
  162. package/types/ParavirtualizedGraphics.d.ts +153 -0
  163. package/types/PassKit.d.ts +1287 -0
  164. package/types/PencilKit.d.ts +201 -0
  165. package/types/Photos.d.ts +1125 -0
  166. package/types/PhotosUI.d.ts +397 -0
  167. package/types/PreferencePanes.d.ts +68 -0
  168. package/types/ProximityReaderStub.d.ts +5 -0
  169. package/types/PushKit.d.ts +45 -0
  170. package/types/Quartz.d.ts +1642 -0
  171. package/types/QuartzCore.d.ts +1398 -0
  172. package/types/QuickLook.d.ts +212 -0
  173. package/types/QuickLookThumbnailing.d.ts +131 -0
  174. package/types/QuickLookUI.d.ts +117 -0
  175. package/types/REVISION.json +5 -0
  176. package/types/ReplayKit.d.ts +294 -0
  177. package/types/Runtime.d.ts +51605 -0
  178. package/types/SafariServices.d.ts +430 -0
  179. package/types/SafetyKit.d.ts +7 -0
  180. package/types/SceneKit.d.ts +4996 -0
  181. package/types/ScreenCaptureKit.d.ts +16 -0
  182. package/types/ScreenSaver.d.ts +41 -0
  183. package/types/ScreenTime.d.ts +41 -0
  184. package/types/ScriptingBridge.d.ts +96 -0
  185. package/types/Security.d.ts +14336 -0
  186. package/types/SecurityFoundation.d.ts +53 -0
  187. package/types/SecurityInterface.d.ts +297 -0
  188. package/types/SensorKit.d.ts +7 -0
  189. package/types/ServiceManagement.d.ts +71 -0
  190. package/types/SharedWithYou.d.ts +9 -0
  191. package/types/SharedWithYouCore.d.ts +5 -0
  192. package/types/ShazamKit.d.ts +12 -0
  193. package/types/Social.d.ts +306 -0
  194. package/types/SoundAnalysis.d.ts +177 -0
  195. package/types/Speech.d.ts +246 -0
  196. package/types/SpriteKit.d.ts +2766 -0
  197. package/types/StoreKit.d.ts +509 -0
  198. package/types/SyncServices.d.ts +551 -0
  199. package/types/SystemConfiguration.d.ts +1415 -0
  200. package/types/SystemExtensions.d.ts +89 -0
  201. package/types/TWAIN.d.ts +380 -0
  202. package/types/Tcl.d.ts +4013 -0
  203. package/types/ThreadNetwork.d.ts +77 -0
  204. package/types/Tk.d.ts +3750 -0
  205. package/types/UIUtilities.d.ts +31 -0
  206. package/types/UniformTypeIdentifiers.d.ts +358 -0
  207. package/types/UserNotifications.d.ts +538 -0
  208. package/types/UserNotificationsUI.d.ts +38 -0
  209. package/types/VideoDecodeAcceleration.d.ts +50 -0
  210. package/types/VideoSubscriberAccount.d.ts +139 -0
  211. package/types/VideoToolbox.d.ts +907 -0
  212. package/types/Virtualization.d.ts +302 -0
  213. package/types/Vision.d.ts +1723 -0
  214. package/types/WebKit.d.ts +5195 -0
  215. package/types/WidgetKit.d.ts +9 -0
  216. package/types/_LocationEssentials.d.ts +159 -0
  217. package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
  218. package/types/iTunesLibrary.d.ts +528 -0
  219. package/types/index.d.ts +9 -0
  220. package/types/vecLib.d.ts +33586 -0
  221. package/types/vmnet.d.ts +178 -0
  222. package/src/appkit.d.ts +0 -472
@@ -0,0 +1,982 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+ /// <reference path="./AppKit.d.ts" />
3
+ /// <reference path="./Runtime.d.ts" />
4
+ /// <reference path="./Foundation.d.ts" />
5
+
6
+ declare const ASAuthorizationErrorDomain: string
7
+
8
+ declare const ASAuthorizationAppleIDProviderCredentialRevokedNotification: string
9
+
10
+ declare const ASAuthorizationOperationLogout: string
11
+
12
+ declare const ASAuthorizationOperationRefresh: string
13
+
14
+ declare const ASAuthorizationScopeEmail: string
15
+
16
+ declare const ASAuthorizationScopeFullName: string
17
+
18
+ declare const ASWebAuthenticationSessionErrorDomain: string
19
+
20
+ declare const ASAuthorizationProviderAuthorizationOperationConfigurationRemoved: string
21
+
22
+ declare const ASAuthorizationOperationImplicit: string
23
+
24
+ declare const ASExtensionErrorDomain: string
25
+
26
+ declare const ASAuthorizationOperationLogin: string
27
+
28
+ declare const ASCredentialIdentityStoreErrorDomain: string
29
+
30
+ declare const ASAuthorizationProviderExtensionRequestOptions: {
31
+ None: 0
32
+ UserInteractionEnabled: 1
33
+ RegistrationRepair: 2
34
+ }
35
+
36
+ declare const ASAuthorizationAppleIDButtonStyle: {
37
+ White: 0
38
+ WhiteOutline: 1
39
+ Black: 2
40
+ }
41
+
42
+ declare const ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState: {
43
+ Authorized: 0
44
+ Denied: 1
45
+ NotDetermined: 2
46
+ }
47
+
48
+ declare const ASAuthorizationError: {
49
+ Unknown: 1000
50
+ Canceled: 1001
51
+ InvalidResponse: 1002
52
+ NotHandled: 1003
53
+ Failed: 1004
54
+ }
55
+
56
+ declare const ASCredentialServiceIdentifierType: {
57
+ Domain: 0
58
+ URL: 1
59
+ }
60
+
61
+ declare const ASWebAuthenticationSessionErrorCode: {
62
+ CanceledLogin: 1
63
+ PresentationContextNotProvided: 2
64
+ PresentationContextInvalid: 3
65
+ }
66
+
67
+ declare const ASUserDetectionStatus: {
68
+ Unsupported: 0
69
+ Unknown: 1
70
+ LikelyReal: 2
71
+ }
72
+
73
+ declare const ASExtensionErrorCode: {
74
+ Failed: 0
75
+ UserCanceled: 1
76
+ UserInteractionRequired: 100
77
+ CredentialIdentityNotFound: 101
78
+ }
79
+
80
+ declare const ASAuthorizationAppleIDProviderCredentialState: {
81
+ Revoked: 0
82
+ Authorized: 1
83
+ NotFound: 2
84
+ Transferred: 3
85
+ }
86
+
87
+ declare const ASAuthorizationProviderExtensionFederationType: {
88
+ None: 0
89
+ WSTrust: 1
90
+ DynamicWSTrust: 2
91
+ }
92
+
93
+ declare const ASAuthorizationAppleIDButtonType: {
94
+ SignIn: 0
95
+ Continue: 1
96
+ SignUp: 2
97
+ Default: 0
98
+ }
99
+
100
+ declare const ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy: {
101
+ None: 0
102
+ TouchIDOrWatchCurrentSet: 1
103
+ TouchIDOrWatchAny: 2
104
+ ReuseDuringUnlock: 4
105
+ PasswordFallback: 8
106
+ }
107
+
108
+ declare const ASPublicKeyCredentialClientDataCrossOriginValue: {
109
+ NotSet: 0
110
+ CrossOrigin: 1
111
+ SameOriginWithAncestors: 2
112
+ }
113
+
114
+ declare const ASAuthorizationPublicKeyCredentialAttachment: {
115
+ ASAuthorizationPublicKeyCredentialAttachmentPlatform: 0
116
+ Cross: 1
117
+ }
118
+
119
+ declare const ASCredentialIdentityStoreErrorCode: {
120
+ InternalError: 0
121
+ StoreDisabled: 1
122
+ StoreBusy: 2
123
+ }
124
+
125
+ declare interface ASCredentialIdentity extends NSObjectProtocol {}
126
+
127
+ declare class ASCredentialIdentity extends NativeObject implements ASCredentialIdentity {}
128
+
129
+ declare interface ASWebAuthenticationSessionRequestDelegate extends NSObjectProtocol {
130
+ authenticationSessionRequestDidCompleteWithCallbackURL?(
131
+ authenticationSessionRequest: ASWebAuthenticationSessionRequest,
132
+ callbackURL: NSURL,
133
+ ): void
134
+
135
+ authenticationSessionRequestDidCancelWithError?(
136
+ authenticationSessionRequest: ASWebAuthenticationSessionRequest,
137
+ error: NSError,
138
+ ): void
139
+ }
140
+
141
+ declare class ASWebAuthenticationSessionRequestDelegate
142
+ extends NativeObject
143
+ implements ASWebAuthenticationSessionRequestDelegate {}
144
+
145
+ declare interface ASAuthorizationProviderExtensionAuthorizationRequestHandler extends NSObjectProtocol {
146
+ beginAuthorizationWithRequest(request: ASAuthorizationProviderExtensionAuthorizationRequest): void
147
+
148
+ cancelAuthorizationWithRequest?(
149
+ request: ASAuthorizationProviderExtensionAuthorizationRequest,
150
+ ): void
151
+ }
152
+
153
+ declare class ASAuthorizationProviderExtensionAuthorizationRequestHandler
154
+ extends NativeObject
155
+ implements ASAuthorizationProviderExtensionAuthorizationRequestHandler {}
156
+
157
+ declare interface ASAuthorizationProvider extends NSObjectProtocol {}
158
+
159
+ declare class ASAuthorizationProvider extends NativeObject implements ASAuthorizationProvider {}
160
+
161
+ declare interface ASAuthorizationControllerPresentationContextProviding extends NSObjectProtocol {
162
+ presentationAnchorForAuthorizationController(controller: ASAuthorizationController): NSWindow
163
+ }
164
+
165
+ declare class ASAuthorizationControllerPresentationContextProviding
166
+ extends NativeObject
167
+ implements ASAuthorizationControllerPresentationContextProviding {}
168
+
169
+ declare interface ASWebAuthenticationSessionWebBrowserSessionHandling {
170
+ beginHandlingWebAuthenticationSessionRequest(request: ASWebAuthenticationSessionRequest): void
171
+
172
+ cancelWebAuthenticationSessionRequest(request: ASWebAuthenticationSessionRequest): void
173
+ }
174
+
175
+ declare class ASWebAuthenticationSessionWebBrowserSessionHandling
176
+ extends NativeObject
177
+ implements ASWebAuthenticationSessionWebBrowserSessionHandling {}
178
+
179
+ declare interface ASAuthorizationControllerDelegate extends NSObjectProtocol {
180
+ authorizationControllerDidCompleteWithAuthorization?(
181
+ controller: ASAuthorizationController,
182
+ authorization: ASAuthorization,
183
+ ): void
184
+
185
+ authorizationControllerDidCompleteWithError?(
186
+ controller: ASAuthorizationController,
187
+ error: NSError,
188
+ ): void
189
+ }
190
+
191
+ declare class ASAuthorizationControllerDelegate
192
+ extends NativeObject
193
+ implements ASAuthorizationControllerDelegate {}
194
+
195
+ declare interface ASAuthorizationCredential extends NSObjectProtocol, NSCopying, NSSecureCoding {}
196
+
197
+ declare class ASAuthorizationCredential extends NativeObject implements ASAuthorizationCredential {}
198
+
199
+ declare interface ASWebAuthenticationPresentationContextProviding extends NSObjectProtocol {
200
+ presentationAnchorForWebAuthenticationSession(session: ASWebAuthenticationSession): NSWindow
201
+ }
202
+
203
+ declare class ASWebAuthenticationPresentationContextProviding
204
+ extends NativeObject
205
+ implements ASWebAuthenticationPresentationContextProviding {}
206
+
207
+ declare class ASAuthorizationAppleIDButton extends NSControl implements NSAccessibilityButton {
208
+ static buttonWithTypeStyle<This extends abstract new (...args: any) => any>(
209
+ this: This,
210
+ type: interop.Enum<typeof ASAuthorizationAppleIDButtonType>,
211
+ style: interop.Enum<typeof ASAuthorizationAppleIDButtonStyle>,
212
+ ): InstanceType<This>
213
+
214
+ initWithAuthorizationButtonTypeAuthorizationButtonStyle(
215
+ type: interop.Enum<typeof ASAuthorizationAppleIDButtonType>,
216
+ style: interop.Enum<typeof ASAuthorizationAppleIDButtonStyle>,
217
+ ): this
218
+
219
+ cornerRadius: number
220
+
221
+ accessibilityLabel: string
222
+
223
+ accessibilityPerformPress(): boolean
224
+
225
+ accessibilityFrame: CGRect
226
+
227
+ accessibilityParent: interop.Object
228
+
229
+ isAccessibilityFocused(): boolean
230
+
231
+ accessibilityIdentifier: string
232
+
233
+ isEqual(object: interop.Object): boolean
234
+
235
+ readonly hash: number
236
+
237
+ readonly superclass: interop.Pointer
238
+
239
+ class(): interop.Pointer
240
+
241
+ self(): this
242
+
243
+ performSelector(aSelector: string): interop.Object
244
+
245
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
246
+
247
+ performSelectorWithObjectWithObject(
248
+ aSelector: string,
249
+ object1: interop.Object,
250
+ object2: interop.Object,
251
+ ): interop.Object
252
+
253
+ readonly isProxy: boolean
254
+
255
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
256
+
257
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
258
+
259
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
260
+
261
+ respondsToSelector(aSelector: string): boolean
262
+
263
+ retain(): this
264
+
265
+ release(): void
266
+
267
+ autorelease(): this
268
+
269
+ retainCount(): number
270
+
271
+ readonly zone: interop.Pointer
272
+
273
+ readonly description: string
274
+
275
+ readonly debugDescription: string
276
+ }
277
+
278
+ // @ts-ignore ClassDecl.tsIgnore
279
+ declare class ASCredentialProviderViewController extends NSViewController {
280
+ // @ts-ignore MemberDecl.tsIgnore
281
+ readonly extensionContext: ASCredentialProviderExtensionContext
282
+
283
+ prepareCredentialListForServiceIdentifiers(
284
+ serviceIdentifiers: NSArray<interop.Object> | Array<interop.Object>,
285
+ ): void
286
+
287
+ provideCredentialWithoutUserInteractionForIdentity(
288
+ credentialIdentity: ASPasswordCredentialIdentity,
289
+ ): void
290
+
291
+ prepareInterfaceToProvideCredentialForIdentity(
292
+ credentialIdentity: ASPasswordCredentialIdentity,
293
+ ): void
294
+
295
+ prepareInterfaceForExtensionConfiguration(): void
296
+
297
+ reportPublicKeyCredentialUpdateForRelyingPartyUserHandleNewName(
298
+ relyingParty: string,
299
+ userHandle: NSData,
300
+ newName: string,
301
+ ): void
302
+
303
+ reportUnknownPublicKeyCredentialForRelyingPartyCredentialID(
304
+ relyingParty: string,
305
+ credentialID: NSData,
306
+ ): void
307
+
308
+ reportAllAcceptedPublicKeyCredentialsForRelyingPartyUserHandleAcceptedCredentialIDs(
309
+ relyingParty: string,
310
+ userHandle: NSData,
311
+ acceptedCredentialIDs: NSArray<interop.Object> | Array<interop.Object>,
312
+ ): void
313
+
314
+ reportUnusedPasswordCredentialForDomainUserName(domain: string, userName: string): void
315
+ }
316
+
317
+ declare class ASAuthorizationAppleIDCredential
318
+ extends NSObject
319
+ implements ASAuthorizationCredential
320
+ {
321
+ readonly user: string
322
+
323
+ readonly state: string
324
+
325
+ readonly authorizedScopes: NSArray
326
+
327
+ readonly authorizationCode: NSData
328
+
329
+ readonly identityToken: NSData
330
+
331
+ readonly email: string
332
+
333
+ readonly fullName: NSPersonNameComponents
334
+
335
+ readonly realUserStatus: interop.Enum<typeof ASUserDetectionStatus>
336
+
337
+ isEqual(object: interop.Object): boolean
338
+
339
+ readonly hash: number
340
+
341
+ readonly superclass: interop.Pointer
342
+
343
+ class(): interop.Pointer
344
+
345
+ self(): this
346
+
347
+ performSelector(aSelector: string): interop.Object
348
+
349
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
350
+
351
+ performSelectorWithObjectWithObject(
352
+ aSelector: string,
353
+ object1: interop.Object,
354
+ object2: interop.Object,
355
+ ): interop.Object
356
+
357
+ readonly isProxy: boolean
358
+
359
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
360
+
361
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
362
+
363
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
364
+
365
+ respondsToSelector(aSelector: string): boolean
366
+
367
+ retain(): this
368
+
369
+ release(): void
370
+
371
+ autorelease(): this
372
+
373
+ retainCount(): number
374
+
375
+ readonly zone: interop.Pointer
376
+
377
+ readonly description: string
378
+
379
+ readonly debugDescription: string
380
+
381
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
382
+
383
+ static readonly supportsSecureCoding: boolean
384
+
385
+ encodeWithCoder(coder: NSCoder): void
386
+
387
+ initWithCoder(coder: NSCoder): this
388
+ }
389
+
390
+ declare class ASPasswordCredentialIdentity
391
+ extends NSObject
392
+ implements NSCopying, NSSecureCoding, ASCredentialIdentity
393
+ {
394
+ initWithServiceIdentifierUserRecordIdentifier(
395
+ serviceIdentifier: ASCredentialServiceIdentifier,
396
+ user: string,
397
+ recordIdentifier: string | null,
398
+ ): this
399
+
400
+ static identityWithServiceIdentifierUserRecordIdentifier<
401
+ This extends abstract new (...args: any) => any,
402
+ >(
403
+ this: This,
404
+ serviceIdentifier: ASCredentialServiceIdentifier,
405
+ user: string,
406
+ recordIdentifier: string | null,
407
+ ): InstanceType<This>
408
+
409
+ readonly serviceIdentifier: ASCredentialServiceIdentifier
410
+
411
+ readonly user: string
412
+
413
+ readonly recordIdentifier: string
414
+
415
+ rank: number
416
+
417
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
418
+
419
+ static readonly supportsSecureCoding: boolean
420
+
421
+ encodeWithCoder(coder: NSCoder): void
422
+
423
+ initWithCoder(coder: NSCoder): this
424
+
425
+ isEqual(object: interop.Object): boolean
426
+
427
+ readonly hash: number
428
+
429
+ readonly superclass: interop.Pointer
430
+
431
+ class(): interop.Pointer
432
+
433
+ self(): this
434
+
435
+ performSelector(aSelector: string): interop.Object
436
+
437
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
438
+
439
+ performSelectorWithObjectWithObject(
440
+ aSelector: string,
441
+ object1: interop.Object,
442
+ object2: interop.Object,
443
+ ): interop.Object
444
+
445
+ readonly isProxy: boolean
446
+
447
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
448
+
449
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
450
+
451
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
452
+
453
+ respondsToSelector(aSelector: string): boolean
454
+
455
+ retain(): this
456
+
457
+ release(): void
458
+
459
+ autorelease(): this
460
+
461
+ retainCount(): number
462
+
463
+ readonly zone: interop.Pointer
464
+
465
+ readonly description: string
466
+
467
+ readonly debugDescription: string
468
+ }
469
+
470
+ declare class ASPasswordCredential extends NSObject implements ASAuthorizationCredential {
471
+ initWithUserPassword(user: string, password: string): this
472
+
473
+ static credentialWithUserPassword<This extends abstract new (...args: any) => any>(
474
+ this: This,
475
+ user: string,
476
+ password: string,
477
+ ): InstanceType<This>
478
+
479
+ readonly user: string
480
+
481
+ readonly password: string
482
+
483
+ isEqual(object: interop.Object): boolean
484
+
485
+ readonly hash: number
486
+
487
+ readonly superclass: interop.Pointer
488
+
489
+ class(): interop.Pointer
490
+
491
+ self(): this
492
+
493
+ performSelector(aSelector: string): interop.Object
494
+
495
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
496
+
497
+ performSelectorWithObjectWithObject(
498
+ aSelector: string,
499
+ object1: interop.Object,
500
+ object2: interop.Object,
501
+ ): interop.Object
502
+
503
+ readonly isProxy: boolean
504
+
505
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
506
+
507
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
508
+
509
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
510
+
511
+ respondsToSelector(aSelector: string): boolean
512
+
513
+ retain(): this
514
+
515
+ release(): void
516
+
517
+ autorelease(): this
518
+
519
+ retainCount(): number
520
+
521
+ readonly zone: interop.Pointer
522
+
523
+ readonly description: string
524
+
525
+ readonly debugDescription: string
526
+
527
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
528
+
529
+ static readonly supportsSecureCoding: boolean
530
+
531
+ encodeWithCoder(coder: NSCoder): void
532
+
533
+ initWithCoder(coder: NSCoder): this
534
+ }
535
+
536
+ declare class ASCredentialServiceIdentifier extends NSObject implements NSCopying, NSSecureCoding {
537
+ initWithIdentifierType(
538
+ identifier: string,
539
+ type: interop.Enum<typeof ASCredentialServiceIdentifierType>,
540
+ ): this
541
+
542
+ readonly identifier: string
543
+
544
+ readonly type: interop.Enum<typeof ASCredentialServiceIdentifierType>
545
+
546
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
547
+
548
+ static readonly supportsSecureCoding: boolean
549
+
550
+ encodeWithCoder(coder: NSCoder): void
551
+
552
+ initWithCoder(coder: NSCoder): this
553
+ }
554
+
555
+ declare class ASCredentialIdentityStore extends NSObject {
556
+ static readonly sharedStore: ASCredentialIdentityStore
557
+
558
+ getCredentialIdentityStoreStateWithCompletion(
559
+ completion: (p1: ASCredentialIdentityStoreState) => void,
560
+ ): void
561
+
562
+ saveCredentialIdentitiesCompletion(
563
+ credentialIdentities: NSArray<interop.Object> | Array<interop.Object>,
564
+ completion: (p1: boolean, p2: NSError) => void | null,
565
+ ): void
566
+
567
+ removeCredentialIdentitiesCompletion(
568
+ credentialIdentities: NSArray<interop.Object> | Array<interop.Object>,
569
+ completion: (p1: boolean, p2: NSError) => void | null,
570
+ ): void
571
+
572
+ removeAllCredentialIdentitiesWithCompletion(
573
+ completion: (p1: boolean, p2: NSError) => void | null,
574
+ ): void
575
+
576
+ replaceCredentialIdentitiesWithIdentitiesCompletion(
577
+ newCredentialIdentities: NSArray<interop.Object> | Array<interop.Object>,
578
+ completion: (p1: boolean, p2: NSError) => void | null,
579
+ ): void
580
+ }
581
+
582
+ declare class ASAuthorizationSingleSignOnCredential
583
+ extends NSObject
584
+ implements ASAuthorizationCredential
585
+ {
586
+ readonly state: string
587
+
588
+ readonly accessToken: NSData
589
+
590
+ readonly identityToken: NSData
591
+
592
+ readonly authorizedScopes: NSArray
593
+
594
+ readonly authenticatedResponse: NSHTTPURLResponse
595
+
596
+ isEqual(object: interop.Object): boolean
597
+
598
+ readonly hash: number
599
+
600
+ readonly superclass: interop.Pointer
601
+
602
+ class(): interop.Pointer
603
+
604
+ self(): this
605
+
606
+ performSelector(aSelector: string): interop.Object
607
+
608
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
609
+
610
+ performSelectorWithObjectWithObject(
611
+ aSelector: string,
612
+ object1: interop.Object,
613
+ object2: interop.Object,
614
+ ): interop.Object
615
+
616
+ readonly isProxy: boolean
617
+
618
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
619
+
620
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
621
+
622
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
623
+
624
+ respondsToSelector(aSelector: string): boolean
625
+
626
+ retain(): this
627
+
628
+ release(): void
629
+
630
+ autorelease(): this
631
+
632
+ retainCount(): number
633
+
634
+ readonly zone: interop.Pointer
635
+
636
+ readonly description: string
637
+
638
+ readonly debugDescription: string
639
+
640
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
641
+
642
+ static readonly supportsSecureCoding: boolean
643
+
644
+ encodeWithCoder(coder: NSCoder): void
645
+
646
+ initWithCoder(coder: NSCoder): this
647
+ }
648
+
649
+ declare class ASAuthorizationPasswordProvider extends NSObject implements ASAuthorizationProvider {
650
+ createRequest(): ASAuthorizationPasswordRequest
651
+
652
+ isEqual(object: interop.Object): boolean
653
+
654
+ readonly hash: number
655
+
656
+ readonly superclass: interop.Pointer
657
+
658
+ class(): interop.Pointer
659
+
660
+ self(): this
661
+
662
+ performSelector(aSelector: string): interop.Object
663
+
664
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
665
+
666
+ performSelectorWithObjectWithObject(
667
+ aSelector: string,
668
+ object1: interop.Object,
669
+ object2: interop.Object,
670
+ ): interop.Object
671
+
672
+ readonly isProxy: boolean
673
+
674
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
675
+
676
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
677
+
678
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
679
+
680
+ respondsToSelector(aSelector: string): boolean
681
+
682
+ retain(): this
683
+
684
+ release(): void
685
+
686
+ autorelease(): this
687
+
688
+ retainCount(): number
689
+
690
+ readonly zone: interop.Pointer
691
+
692
+ readonly description: string
693
+
694
+ readonly debugDescription: string
695
+ }
696
+
697
+ declare class ASAuthorizationOpenIDRequest extends ASAuthorizationRequest {
698
+ get requestedScopes(): NSArray
699
+ set requestedScopes(value: NSArray<interop.Object> | Array<interop.Object>)
700
+
701
+ state: string
702
+
703
+ nonce: string
704
+
705
+ requestedOperation: string
706
+ }
707
+
708
+ declare class ASAuthorization extends NSObject {
709
+ readonly provider: ASAuthorizationProvider
710
+
711
+ readonly credential: ASAuthorizationCredential
712
+ }
713
+
714
+ declare class ASAuthorizationAppleIDProvider extends NSObject implements ASAuthorizationProvider {
715
+ createRequest(): ASAuthorizationAppleIDRequest
716
+
717
+ getCredentialStateForUserIDCompletion(
718
+ userID: string,
719
+ completion: (
720
+ p1: interop.Enum<typeof ASAuthorizationAppleIDProviderCredentialState>,
721
+ p2: NSError,
722
+ ) => void | null,
723
+ ): void
724
+
725
+ isEqual(object: interop.Object): boolean
726
+
727
+ readonly hash: number
728
+
729
+ readonly superclass: interop.Pointer
730
+
731
+ class(): interop.Pointer
732
+
733
+ self(): this
734
+
735
+ performSelector(aSelector: string): interop.Object
736
+
737
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
738
+
739
+ performSelectorWithObjectWithObject(
740
+ aSelector: string,
741
+ object1: interop.Object,
742
+ object2: interop.Object,
743
+ ): interop.Object
744
+
745
+ readonly isProxy: boolean
746
+
747
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
748
+
749
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
750
+
751
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
752
+
753
+ respondsToSelector(aSelector: string): boolean
754
+
755
+ retain(): this
756
+
757
+ release(): void
758
+
759
+ autorelease(): this
760
+
761
+ retainCount(): number
762
+
763
+ readonly zone: interop.Pointer
764
+
765
+ readonly description: string
766
+
767
+ readonly debugDescription: string
768
+ }
769
+
770
+ declare class ASAuthorizationController extends NSObject {
771
+ readonly authorizationRequests: NSArray
772
+
773
+ delegate: ASAuthorizationControllerDelegate
774
+
775
+ presentationContextProvider: ASAuthorizationControllerPresentationContextProviding
776
+
777
+ initWithAuthorizationRequests(
778
+ authorizationRequests: NSArray<interop.Object> | Array<interop.Object>,
779
+ ): this
780
+
781
+ performRequests(): void
782
+ }
783
+
784
+ declare class ASAuthorizationRequest extends NSObject implements NSCopying, NSSecureCoding {
785
+ readonly provider: ASAuthorizationProvider
786
+
787
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
788
+
789
+ static readonly supportsSecureCoding: boolean
790
+
791
+ encodeWithCoder(coder: NSCoder): void
792
+
793
+ initWithCoder(coder: NSCoder): this
794
+ }
795
+
796
+ declare class ASAuthorizationPasswordRequest extends ASAuthorizationRequest {}
797
+
798
+ declare class ASAuthorizationSingleSignOnProvider
799
+ extends NSObject
800
+ implements ASAuthorizationProvider
801
+ {
802
+ static authorizationProviderWithIdentityProviderURL<
803
+ This extends abstract new (...args: any) => any,
804
+ >(this: This, url: NSURL): InstanceType<This>
805
+
806
+ createRequest(): ASAuthorizationSingleSignOnRequest
807
+
808
+ readonly url: NSURL
809
+
810
+ readonly canPerformAuthorization: boolean
811
+
812
+ isEqual(object: interop.Object): boolean
813
+
814
+ readonly hash: number
815
+
816
+ readonly superclass: interop.Pointer
817
+
818
+ class(): interop.Pointer
819
+
820
+ self(): this
821
+
822
+ performSelector(aSelector: string): interop.Object
823
+
824
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
825
+
826
+ performSelectorWithObjectWithObject(
827
+ aSelector: string,
828
+ object1: interop.Object,
829
+ object2: interop.Object,
830
+ ): interop.Object
831
+
832
+ readonly isProxy: boolean
833
+
834
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
835
+
836
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
837
+
838
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
839
+
840
+ respondsToSelector(aSelector: string): boolean
841
+
842
+ retain(): this
843
+
844
+ release(): void
845
+
846
+ autorelease(): this
847
+
848
+ retainCount(): number
849
+
850
+ readonly zone: interop.Pointer
851
+
852
+ readonly description: string
853
+
854
+ readonly debugDescription: string
855
+ }
856
+
857
+ declare class ASAuthorizationProviderExtensionAuthorizationRequest extends NSObject {
858
+ doNotHandle(): void
859
+
860
+ cancel(): void
861
+
862
+ complete(): void
863
+
864
+ completeWithHTTPAuthorizationHeaders(
865
+ httpAuthorizationHeaders:
866
+ | NSDictionary<interop.Object, interop.Object>
867
+ | Record<interop.Object, interop.Object>,
868
+ ): void
869
+
870
+ completeWithHTTPResponseHttpBody(httpResponse: NSHTTPURLResponse, httpBody: NSData | null): void
871
+
872
+ completeWithError(error: NSError): void
873
+
874
+ presentAuthorizationViewControllerWithCompletion(
875
+ completion: (p1: boolean, p2: NSError) => void | null,
876
+ ): void
877
+
878
+ readonly url: NSURL
879
+
880
+ readonly requestedOperation: string
881
+
882
+ readonly httpHeaders: NSDictionary
883
+
884
+ readonly httpBody: NSData
885
+
886
+ readonly realm: string
887
+
888
+ readonly extensionData: NSDictionary
889
+
890
+ readonly callerBundleIdentifier: string
891
+
892
+ readonly authorizationOptions: NSDictionary
893
+
894
+ readonly callerManaged: boolean
895
+
896
+ readonly callerTeamIdentifier: string
897
+
898
+ readonly localizedCallerDisplayName: string
899
+
900
+ isCallerManaged(): boolean
901
+ }
902
+
903
+ declare class ASWebAuthenticationSessionRequest
904
+ extends NSObject
905
+ implements NSSecureCoding, NSCopying
906
+ {
907
+ readonly UUID: NSUUID
908
+
909
+ readonly URL: NSURL
910
+
911
+ readonly callbackURLScheme: string
912
+
913
+ readonly shouldUseEphemeralSession: boolean
914
+
915
+ delegate: ASWebAuthenticationSessionRequestDelegate
916
+
917
+ cancelWithError(error: NSError): void
918
+
919
+ completeWithCallbackURL(url: NSURL): void
920
+
921
+ static readonly supportsSecureCoding: boolean
922
+
923
+ encodeWithCoder(coder: NSCoder): void
924
+
925
+ initWithCoder(coder: NSCoder): this
926
+
927
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
928
+ }
929
+
930
+ declare class ASCredentialIdentityStoreState extends NSObject {
931
+ readonly enabled: boolean
932
+
933
+ readonly supportsIncrementalUpdates: boolean
934
+
935
+ isEnabled(): boolean
936
+ }
937
+
938
+ declare class ASWebAuthenticationSession extends NSObject {
939
+ initWithURLCallbackURLSchemeCompletionHandler(
940
+ URL: NSURL,
941
+ callbackURLScheme: string | null,
942
+ completionHandler: (p1: NSURL, p2: NSError) => void,
943
+ ): this
944
+
945
+ presentationContextProvider: ASWebAuthenticationPresentationContextProviding | null
946
+
947
+ prefersEphemeralWebBrowserSession: boolean
948
+
949
+ readonly canStart: boolean
950
+
951
+ start(): boolean
952
+
953
+ cancel(): void
954
+ }
955
+
956
+ declare class ASAuthorizationAppleIDRequest extends ASAuthorizationOpenIDRequest {
957
+ user: string
958
+ }
959
+
960
+ declare class ASWebAuthenticationSessionWebBrowserSessionManager extends NSObject {
961
+ static readonly sharedManager: ASWebAuthenticationSessionWebBrowserSessionManager
962
+
963
+ sessionHandler: ASWebAuthenticationSessionWebBrowserSessionHandling
964
+
965
+ readonly wasLaunchedByAuthenticationServices: boolean
966
+ }
967
+
968
+ declare class ASCredentialProviderExtensionContext extends NSExtensionContext {
969
+ completeRequestWithSelectedCredentialCompletionHandler(
970
+ credential: ASPasswordCredential,
971
+ completionHandler: (p1: boolean) => void | null,
972
+ ): void
973
+
974
+ completeExtensionConfigurationRequest(): void
975
+
976
+ cancelRequestWithError(error: NSError): void
977
+ }
978
+
979
+ declare class ASAuthorizationSingleSignOnRequest extends ASAuthorizationOpenIDRequest {
980
+ get authorizationOptions(): NSArray
981
+ set authorizationOptions(value: NSArray<interop.Object> | Array<interop.Object>)
982
+ }