objcjs-types 0.4.0 → 0.5.1

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 (1259) hide show
  1. package/dist/AVFAudio/AVAudioApplication.d.ts +3 -3
  2. package/dist/AVFAudio/AVAudioConverter.d.ts +1 -1
  3. package/dist/AVFAudio/AVAudioEngine.d.ts +5 -5
  4. package/dist/AVFAudio/AVAudioInputNode.d.ts +3 -2
  5. package/dist/AVFAudio/AVAudioNode.d.ts +2 -2
  6. package/dist/AVFAudio/AVAudioPCMBuffer.d.ts +1 -1
  7. package/dist/AVFAudio/AVAudioPlayerNode.d.ts +8 -9
  8. package/dist/AVFAudio/AVAudioRoutingArbiter.d.ts +2 -2
  9. package/dist/AVFAudio/AVAudioSequencer.d.ts +1 -1
  10. package/dist/AVFAudio/AVAudioSession.d.ts +3 -2
  11. package/dist/AVFAudio/AVAudioSinkNode.d.ts +1 -1
  12. package/dist/AVFAudio/AVAudioSourceNode.d.ts +2 -2
  13. package/dist/AVFAudio/AVAudioUnit.d.ts +2 -1
  14. package/dist/AVFAudio/AVAudioUnitComponentManager.d.ts +2 -1
  15. package/dist/AVFAudio/AVMIDIPlayer.d.ts +1 -1
  16. package/dist/AVFAudio/AVMusicTrack.d.ts +1 -1
  17. package/dist/AVFAudio/AVSpeechSynthesisProviderAudioUnit.d.ts +2 -3
  18. package/dist/AVFAudio/AVSpeechSynthesizer.d.ts +4 -4
  19. package/dist/AVFoundation/AVAsset.d.ts +9 -8
  20. package/dist/AVFoundation/AVAssetExportSession.d.ts +5 -6
  21. package/dist/AVFoundation/AVAssetImageGenerator.d.ts +4 -2
  22. package/dist/AVFoundation/AVAssetPlaybackAssistant.d.ts +2 -2
  23. package/dist/AVFoundation/AVAssetTrack.d.ts +5 -5
  24. package/dist/AVFoundation/AVAssetWriter.d.ts +1 -1
  25. package/dist/AVFoundation/AVAssetWriterInput.d.ts +2 -2
  26. package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +1 -1
  27. package/dist/AVFoundation/AVCaptionConversionValidator.d.ts +2 -2
  28. package/dist/AVFoundation/AVCaptureDeskViewApplication.d.ts +3 -3
  29. package/dist/AVFoundation/AVCaptureDevice.d.ts +8 -7
  30. package/dist/AVFoundation/AVCaptureIndexPicker.d.ts +2 -3
  31. package/dist/AVFoundation/AVCapturePhotoOutput.d.ts +2 -1
  32. package/dist/AVFoundation/AVCaptureSlider.d.ts +1 -2
  33. package/dist/AVFoundation/AVCaptureStillImageOutput.d.ts +5 -3
  34. package/dist/AVFoundation/AVCaptureSystemExposureBiasSlider.d.ts +1 -2
  35. package/dist/AVFoundation/AVCaptureSystemZoomSlider.d.ts +1 -2
  36. package/dist/AVFoundation/AVComposition.d.ts +3 -7
  37. package/dist/AVFoundation/AVContentKeyRequest.d.ts +1 -1
  38. package/dist/AVFoundation/AVContentKeySession.d.ts +4 -3
  39. package/dist/AVFoundation/AVError.d.ts +88 -0
  40. package/dist/AVFoundation/AVError.js +88 -0
  41. package/dist/AVFoundation/AVExternalStorageDevice.d.ts +1 -1
  42. package/dist/AVFoundation/AVFragmentedAsset.d.ts +3 -7
  43. package/dist/AVFoundation/AVFragmentedMovie.d.ts +3 -7
  44. package/dist/AVFoundation/AVMetadataItem.d.ts +3 -2
  45. package/dist/AVFoundation/AVMovie.d.ts +3 -6
  46. package/dist/AVFoundation/AVMutableComposition.d.ts +4 -7
  47. package/dist/AVFoundation/AVMutableMovie.d.ts +3 -6
  48. package/dist/AVFoundation/AVMutableVideoComposition.d.ts +4 -10
  49. package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -5
  50. package/dist/AVFoundation/AVPlayer.d.ts +6 -6
  51. package/dist/AVFoundation/AVPlayerItem.d.ts +4 -4
  52. package/dist/AVFoundation/AVPlayerItemIntegratedTimeline.d.ts +4 -5
  53. package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +1 -1
  54. package/dist/AVFoundation/AVSampleBufferAudioRenderer.d.ts +1 -2
  55. package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +1 -1
  56. package/dist/AVFoundation/AVSampleBufferGenerator.d.ts +2 -1
  57. package/dist/AVFoundation/AVSampleBufferGeneratorBatch.d.ts +2 -2
  58. package/dist/AVFoundation/AVSampleBufferRenderSynchronizer.d.ts +3 -3
  59. package/dist/AVFoundation/AVSampleBufferVideoRenderer.d.ts +3 -2
  60. package/dist/AVFoundation/AVURLAsset.d.ts +2 -2
  61. package/dist/AVFoundation/AVVideoComposition.d.ts +6 -4
  62. package/dist/AVFoundation/index.d.ts +1 -0
  63. package/dist/AVFoundation/index.js +1 -0
  64. package/dist/AVKit/AVPictureInPictureControllerDelegate.d.ts +1 -2
  65. package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +1 -2
  66. package/dist/AVKit/AVPlayerView.d.ts +2 -2
  67. package/dist/AVKit/AVPlayerViewDelegate.d.ts +1 -2
  68. package/dist/AVKit/AVPlayerViewPictureInPictureDelegate.d.ts +1 -2
  69. package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -2
  70. package/dist/Accessibility/AXBrailleMapRenderer.d.ts +3 -3
  71. package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -3
  72. package/dist/Accessibility/AXNumericDataAxisDescriptor.d.ts +4 -5
  73. package/dist/Accessibility/functions.d.ts +2 -2
  74. package/dist/Accessibility/functions.js +1 -1
  75. package/dist/AccessorySetupKit/ASAccessorySession.d.ts +12 -10
  76. package/dist/AccessorySetupKit/ASErrorCode.d.ts +15 -0
  77. package/dist/AccessorySetupKit/ASErrorCode.js +15 -0
  78. package/dist/AccessorySetupKit/index.d.ts +1 -0
  79. package/dist/AccessorySetupKit/index.js +1 -0
  80. package/dist/Accounts/ACAccountStore.d.ts +7 -6
  81. package/dist/AdServices/AAAttributionErrorCode.d.ts +6 -0
  82. package/dist/AdServices/AAAttributionErrorCode.js +6 -0
  83. package/dist/AdServices/index.d.ts +1 -0
  84. package/dist/AdServices/index.js +1 -0
  85. package/dist/AppKit/NSAccessibilityCustomAction.d.ts +3 -4
  86. package/dist/AppKit/NSAlert.d.ts +1 -1
  87. package/dist/AppKit/NSAnimationContext.d.ts +4 -5
  88. package/dist/AppKit/NSAppearance.d.ts +1 -2
  89. package/dist/AppKit/NSApplication.d.ts +3 -2
  90. package/dist/AppKit/NSApplicationDelegate.d.ts +1 -1
  91. package/dist/AppKit/NSButton.d.ts +3 -2
  92. package/dist/AppKit/NSCandidateListTouchBarItem.d.ts +3 -2
  93. package/dist/AppKit/NSCell.d.ts +3 -2
  94. package/dist/AppKit/NSCollectionLayoutGroup.d.ts +2 -2
  95. package/dist/AppKit/NSCollectionLayoutSection.d.ts +4 -3
  96. package/dist/AppKit/NSCollectionView.d.ts +1 -1
  97. package/dist/AppKit/NSCollectionViewCompositionalLayout.d.ts +3 -3
  98. package/dist/AppKit/NSCollectionViewDiffableDataSource.d.ts +6 -3
  99. package/dist/AppKit/NSColor.d.ts +2 -1
  100. package/dist/AppKit/NSColorSampler.d.ts +2 -2
  101. package/dist/AppKit/NSControlStateValue.d.ts +6 -0
  102. package/dist/AppKit/NSControlStateValue.js +6 -0
  103. package/dist/AppKit/NSCursor.d.ts +2 -2
  104. package/dist/AppKit/NSCursorFrameResizePosition.d.ts +11 -0
  105. package/dist/AppKit/NSCursorFrameResizePosition.js +11 -0
  106. package/dist/AppKit/NSCustomImageRep.d.ts +3 -2
  107. package/dist/AppKit/NSDocument.d.ts +20 -20
  108. package/dist/AppKit/NSDocumentController.d.ts +4 -4
  109. package/dist/AppKit/NSDraggingInfo.d.ts +2 -1
  110. package/dist/AppKit/NSDraggingItem.d.ts +2 -2
  111. package/dist/AppKit/NSDraggingSession.d.ts +2 -1
  112. package/dist/AppKit/NSEvent.d.ts +3 -3
  113. package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
  114. package/dist/AppKit/NSFilePromiseReceiver.d.ts +2 -2
  115. package/dist/AppKit/NSFontAssetRequest.d.ts +2 -2
  116. package/dist/AppKit/NSImage.d.ts +1 -1
  117. package/dist/AppKit/NSLayoutManager.d.ts +2 -2
  118. package/dist/AppKit/NSMenu.d.ts +2 -2
  119. package/dist/AppKit/NSMenuItem.d.ts +3 -2
  120. package/dist/AppKit/NSModalResponse.d.ts +11 -0
  121. package/dist/AppKit/NSModalResponse.js +11 -0
  122. package/dist/AppKit/NSPDFPanel.d.ts +1 -2
  123. package/dist/AppKit/NSPageLayout.d.ts +2 -1
  124. package/dist/AppKit/NSPasteboard.d.ts +4 -3
  125. package/dist/AppKit/NSPasteboardItem.d.ts +5 -3
  126. package/dist/AppKit/NSPrintPanel.d.ts +2 -1
  127. package/dist/AppKit/NSSavePanel.d.ts +2 -2
  128. package/dist/AppKit/NSScrubber.d.ts +1 -1
  129. package/dist/AppKit/NSSharingService.d.ts +1 -2
  130. package/dist/AppKit/NSSliderAccessoryBehavior.d.ts +1 -1
  131. package/dist/AppKit/NSSpellChecker.d.ts +3 -3
  132. package/dist/AppKit/NSStepperTouchBarItem.d.ts +2 -1
  133. package/dist/AppKit/NSStoryboard.d.ts +3 -2
  134. package/dist/AppKit/NSStoryboardSegue.d.ts +1 -1
  135. package/dist/AppKit/NSSwitch.d.ts +3 -2
  136. package/dist/AppKit/NSTableView.d.ts +1 -1
  137. package/dist/AppKit/NSTableViewDiffableDataSource.d.ts +9 -6
  138. package/dist/AppKit/NSTableViewRowAction.d.ts +1 -2
  139. package/dist/AppKit/NSTextContentManager.d.ts +3 -3
  140. package/dist/AppKit/NSTextElementProvider.d.ts +4 -3
  141. package/dist/AppKit/NSTextInsertionIndicator.d.ts +2 -3
  142. package/dist/AppKit/NSTextLayoutManager.d.ts +5 -5
  143. package/dist/AppKit/NSTextSelectionDataSource.d.ts +4 -3
  144. package/dist/AppKit/NSTextStorageObserving.d.ts +1 -2
  145. package/dist/AppKit/NSToolbarItem.d.ts +3 -2
  146. package/dist/AppKit/NSToolbarItemVisibilityPriority.d.ts +7 -0
  147. package/dist/AppKit/NSToolbarItemVisibilityPriority.js +7 -0
  148. package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +1 -1
  149. package/dist/AppKit/NSView.d.ts +1 -1
  150. package/dist/AppKit/NSViewController.d.ts +1 -1
  151. package/dist/AppKit/NSWindow.d.ts +7 -6
  152. package/dist/AppKit/NSWindowLevel.d.ts +13 -0
  153. package/dist/AppKit/NSWindowLevel.js +13 -0
  154. package/dist/AppKit/NSWorkspace.d.ts +12 -10
  155. package/dist/AppKit/NSWritingToolsCoordinatorAnimationParameters.d.ts +4 -5
  156. package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +16 -14
  157. package/dist/AppKit/index.d.ts +5 -0
  158. package/dist/AppKit/index.js +5 -0
  159. package/dist/AppTrackingTransparency/ATTrackingManager.d.ts +1 -2
  160. package/dist/AudioToolbox/AUAudioUnit.d.ts +20 -19
  161. package/dist/AudioToolbox/AUMessageChannel.d.ts +2 -3
  162. package/dist/AudioToolbox/AUParameterNode.d.ts +14 -13
  163. package/dist/AudioToolbox/functions.d.ts +11 -11
  164. package/dist/AudioToolbox/functions.js +11 -11
  165. package/dist/AudioVideoBridging/AVB17221ACMPInterface.d.ts +2 -1
  166. package/dist/AudioVideoBridging/AVB17221AECPInterface.d.ts +3 -2
  167. package/dist/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext.d.ts +2 -2
  168. package/dist/AuthenticationServices/ASAuthorizationAppleIDProvider.d.ts +3 -2
  169. package/dist/AuthenticationServices/ASAuthorizationError.d.ts +14 -0
  170. package/dist/AuthenticationServices/ASAuthorizationError.js +14 -0
  171. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequest.d.ts +1 -2
  172. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginConfiguration.d.ts +2 -1
  173. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginManager.d.ts +6 -4
  174. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +8 -5
  175. package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialParameters.d.ts +3 -2
  176. package/dist/AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.d.ts +3 -3
  177. package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.d.ts +4 -0
  178. package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.js +4 -0
  179. package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.d.ts +4 -0
  180. package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.js +4 -0
  181. package/dist/AuthenticationServices/ASCredentialIdentityStore.d.ts +11 -10
  182. package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.d.ts +6 -0
  183. package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.js +6 -0
  184. package/dist/AuthenticationServices/ASCredentialProviderExtensionContext.d.ts +6 -7
  185. package/dist/AuthenticationServices/ASExtensionErrorCode.d.ts +8 -0
  186. package/dist/AuthenticationServices/ASExtensionErrorCode.js +8 -0
  187. package/dist/AuthenticationServices/ASSettingsHelper.d.ts +4 -4
  188. package/dist/AuthenticationServices/ASWebAuthenticationSession.d.ts +3 -3
  189. package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.d.ts +6 -0
  190. package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.js +6 -0
  191. package/dist/AuthenticationServices/index.d.ts +6 -0
  192. package/dist/AuthenticationServices/index.js +6 -0
  193. package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.d.ts +8 -0
  194. package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.js +8 -0
  195. package/dist/AutomaticAssessmentConfiguration/index.d.ts +1 -0
  196. package/dist/AutomaticAssessmentConfiguration/index.js +1 -0
  197. package/dist/BackgroundAssets/BAAssetPackManager.d.ts +9 -6
  198. package/dist/BackgroundAssets/BADownload.d.ts +2 -1
  199. package/dist/BackgroundAssets/BADownloadManager.d.ts +4 -3
  200. package/dist/BackgroundAssets/BADownloadManagerDelegate.d.ts +3 -2
  201. package/dist/BackgroundAssets/BADownloaderExtension.d.ts +3 -2
  202. package/dist/BackgroundAssets/BADownloaderPriority.d.ts +2 -0
  203. package/dist/BackgroundAssets/BADownloaderPriority.js +2 -0
  204. package/dist/BackgroundAssets/BAURLDownload.d.ts +3 -2
  205. package/dist/BackgroundAssets/index.d.ts +1 -0
  206. package/dist/BackgroundAssets/index.js +1 -0
  207. package/dist/BackgroundTasks/BGTask.d.ts +2 -3
  208. package/dist/BackgroundTasks/BGTaskScheduler.d.ts +4 -2
  209. package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.d.ts +7 -0
  210. package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.js +7 -0
  211. package/dist/BackgroundTasks/index.d.ts +1 -0
  212. package/dist/BackgroundTasks/index.js +1 -0
  213. package/dist/BrowserEngineKit/BEDownloadMonitor.d.ts +5 -4
  214. package/dist/BrowserEngineKit/BELayerHierarchyHandle.d.ts +1 -1
  215. package/dist/BrowserEngineKit/BELayerHierarchyHostingTransactionCoordinator.d.ts +1 -1
  216. package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +4 -3
  217. package/dist/BrowserEngineKit/BERenderingProcess.d.ts +4 -3
  218. package/dist/BrowserEngineKit/BEWebContentFilter.d.ts +4 -3
  219. package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +4 -3
  220. package/dist/CallKit/CXCallController.d.ts +4 -4
  221. package/dist/CallKit/CXCallDirectoryExtensionContext.d.ts +1 -2
  222. package/dist/CallKit/CXCallDirectoryManager.d.ts +5 -4
  223. package/dist/CallKit/CXErrorCode.d.ts +7 -0
  224. package/dist/CallKit/CXErrorCode.js +7 -0
  225. package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.d.ts +12 -0
  226. package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.js +12 -0
  227. package/dist/CallKit/CXErrorCodeIncomingCallError.d.ts +11 -0
  228. package/dist/CallKit/CXErrorCodeIncomingCallError.js +11 -0
  229. package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.d.ts +6 -0
  230. package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.js +6 -0
  231. package/dist/CallKit/CXErrorCodeRequestTransactionError.d.ts +12 -0
  232. package/dist/CallKit/CXErrorCodeRequestTransactionError.js +12 -0
  233. package/dist/CallKit/CXProvider.d.ts +3 -2
  234. package/dist/CallKit/index.d.ts +5 -0
  235. package/dist/CallKit/index.js +5 -0
  236. package/dist/Cinematic/CNAssetInfo.d.ts +3 -3
  237. package/dist/Cinematic/CNAssetSpatialAudioInfo.d.ts +3 -3
  238. package/dist/Cinematic/CNCinematicErrorCode.d.ts +10 -0
  239. package/dist/Cinematic/CNCinematicErrorCode.js +10 -0
  240. package/dist/Cinematic/CNRenderingSessionAttributes.d.ts +2 -2
  241. package/dist/Cinematic/CNScript.d.ts +2 -2
  242. package/dist/Cinematic/index.d.ts +1 -0
  243. package/dist/Cinematic/index.js +1 -0
  244. package/dist/ClassKit/CLSContext.d.ts +2 -1
  245. package/dist/ClassKit/CLSContextProvider.d.ts +2 -2
  246. package/dist/ClassKit/CLSDataStore.d.ts +5 -5
  247. package/dist/ClassKit/CLSErrorCode.d.ts +14 -0
  248. package/dist/ClassKit/CLSErrorCode.js +14 -0
  249. package/dist/ClassKit/index.d.ts +1 -0
  250. package/dist/ClassKit/index.js +1 -0
  251. package/dist/CloudKit/CKAcceptSharesOperation.d.ts +7 -5
  252. package/dist/CloudKit/CKContainer.d.ts +22 -16
  253. package/dist/CloudKit/CKDatabase.d.ts +14 -13
  254. package/dist/CloudKit/CKDiscoverAllUserIdentitiesOperation.d.ts +6 -5
  255. package/dist/CloudKit/CKDiscoverUserIdentitiesOperation.d.ts +7 -5
  256. package/dist/CloudKit/CKFetchDatabaseChangesOperation.d.ts +14 -13
  257. package/dist/CloudKit/CKFetchRecordChangesOperation.d.ts +10 -7
  258. package/dist/CloudKit/CKFetchRecordZoneChangesOperation.d.ts +19 -13
  259. package/dist/CloudKit/CKFetchRecordZonesOperation.d.ts +8 -5
  260. package/dist/CloudKit/CKFetchRecordsOperation.d.ts +10 -7
  261. package/dist/CloudKit/CKFetchShareMetadataOperation.d.ts +7 -5
  262. package/dist/CloudKit/CKFetchShareParticipantsOperation.d.ts +9 -7
  263. package/dist/CloudKit/CKFetchSubscriptionsOperation.d.ts +8 -5
  264. package/dist/CloudKit/CKFetchWebAuthTokenOperation.d.ts +3 -3
  265. package/dist/CloudKit/CKModifyRecordZonesOperation.d.ts +9 -7
  266. package/dist/CloudKit/CKModifyRecordsOperation.d.ts +13 -11
  267. package/dist/CloudKit/CKModifySubscriptionsOperation.d.ts +9 -7
  268. package/dist/CloudKit/CKOperation.d.ts +2 -3
  269. package/dist/CloudKit/CKQueryOperation.d.ts +9 -7
  270. package/dist/CloudKit/CKShareRequestAccessOperation.d.ts +6 -5
  271. package/dist/CloudKit/CKSyncEngine.d.ts +6 -6
  272. package/dist/CloudKit/CKSyncEngineRecordZoneChangeBatch.d.ts +3 -2
  273. package/dist/CloudKit/CKSystemSharingUIObserver.d.ts +7 -5
  274. package/dist/Collaboration/CBIdentityPicker.d.ts +1 -1
  275. package/dist/Contacts/CNContact.d.ts +1 -1
  276. package/dist/Contacts/CNContactStore.d.ts +3 -2
  277. package/dist/CoreAudio/functions.d.ts +3 -3
  278. package/dist/CoreAudio/functions.js +3 -3
  279. package/dist/CoreData/NSAsynchronousFetchRequest.d.ts +3 -3
  280. package/dist/CoreData/NSBatchInsertRequest.d.ts +12 -11
  281. package/dist/CoreData/NSCoreDataCoreSpotlightDelegate.d.ts +4 -4
  282. package/dist/CoreData/NSCustomMigrationStage.d.ts +5 -4
  283. package/dist/CoreData/NSManagedObjectContext.d.ts +2 -2
  284. package/dist/CoreData/NSPersistentCloudKitContainer.d.ts +8 -5
  285. package/dist/CoreData/NSPersistentContainer.d.ts +4 -3
  286. package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +4 -3
  287. package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +3 -2
  288. package/dist/CoreHaptics/CHHapticEngine.d.ts +10 -7
  289. package/dist/CoreHaptics/CHHapticErrorCode.d.ts +27 -0
  290. package/dist/CoreHaptics/CHHapticErrorCode.js +27 -0
  291. package/dist/CoreHaptics/index.d.ts +1 -0
  292. package/dist/CoreHaptics/index.js +1 -0
  293. package/dist/CoreImage/CIKernel.d.ts +1 -1
  294. package/dist/CoreImage/CIRenderDestination.d.ts +1 -1
  295. package/dist/CoreImage/CIWarpKernel.d.ts +1 -2
  296. package/dist/CoreLocation/CLBackgroundActivitySession.d.ts +2 -2
  297. package/dist/CoreLocation/CLGeocoder.d.ts +11 -9
  298. package/dist/CoreLocation/CLLocationManager.d.ts +6 -3
  299. package/dist/CoreLocation/CLLocationManagerDelegate.d.ts +2 -1
  300. package/dist/CoreLocation/CLLocationPushServiceError.d.ts +8 -0
  301. package/dist/CoreLocation/CLLocationPushServiceError.js +8 -0
  302. package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -2
  303. package/dist/CoreLocation/CLLocationUpdater.d.ts +3 -3
  304. package/dist/CoreLocation/CLMonitor.d.ts +1 -2
  305. package/dist/CoreLocation/CLMonitorConfiguration.d.ts +4 -3
  306. package/dist/CoreLocation/CLRegionState.d.ts +6 -0
  307. package/dist/CoreLocation/CLRegionState.js +6 -0
  308. package/dist/CoreLocation/CLServiceSession.d.ts +3 -3
  309. package/dist/CoreLocation/index.d.ts +2 -0
  310. package/dist/CoreLocation/index.js +2 -0
  311. package/dist/CoreMIDI/MIDICIDiscoveryManager.d.ts +2 -2
  312. package/dist/CoreMIDI/MIDICISession.d.ts +6 -5
  313. package/dist/CoreMIDI/MIDIUMPMutableEndpoint.d.ts +1 -1
  314. package/dist/CoreMIDI/functions.d.ts +5 -5
  315. package/dist/CoreMIDI/functions.js +5 -5
  316. package/dist/CoreML/MLComputePlan.d.ts +3 -3
  317. package/dist/CoreML/MLModel.d.ts +7 -6
  318. package/dist/CoreML/MLModelAsset.d.ts +6 -3
  319. package/dist/CoreML/MLModelCollection.d.ts +3 -2
  320. package/dist/CoreML/MLModelStructure.d.ts +3 -3
  321. package/dist/CoreML/MLMultiArray.d.ts +3 -3
  322. package/dist/CoreML/MLState.d.ts +2 -2
  323. package/dist/CoreML/MLUpdateProgressHandlers.d.ts +2 -2
  324. package/dist/CoreML/MLUpdateTask.d.ts +3 -2
  325. package/dist/CoreMediaIO/CMIOExtensionStream.d.ts +2 -1
  326. package/dist/CoreMediaIO/functions.d.ts +2 -2
  327. package/dist/CoreMediaIO/functions.js +2 -2
  328. package/dist/CoreMotion/CMAltimeter.d.ts +5 -3
  329. package/dist/CoreMotion/CMBatchedSensorManager.d.ts +3 -3
  330. package/dist/CoreMotion/CMFallDetectionDelegate.d.ts +1 -2
  331. package/dist/CoreMotion/CMFallDetectionManager.d.ts +1 -2
  332. package/dist/CoreMotion/CMHeadphoneActivityManager.d.ts +5 -3
  333. package/dist/CoreMotion/CMHeadphoneMotionManager.d.ts +2 -2
  334. package/dist/CoreMotion/CMMotionActivityManager.d.ts +5 -3
  335. package/dist/CoreMotion/CMMotionManager.d.ts +7 -5
  336. package/dist/CoreMotion/CMMovementDisorderManager.d.ts +4 -3
  337. package/dist/CoreMotion/CMPedometer.d.ts +6 -4
  338. package/dist/CoreMotion/CMStepCounter.d.ts +3 -3
  339. package/dist/CoreSpotlight/CSSearchQuery.d.ts +5 -5
  340. package/dist/CoreSpotlight/CSSearchableIndex.d.ts +9 -9
  341. package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +3 -3
  342. package/dist/CoreSpotlight/CSUserQuery.d.ts +2 -3
  343. package/dist/CoreTelephony/CTCallCenter.d.ts +3 -2
  344. package/dist/CoreTelephony/CTCellularData.d.ts +2 -3
  345. package/dist/CoreTelephony/CTCellularPlanProvisioning.d.ts +5 -4
  346. package/dist/CoreTelephony/CTCellularPlanStatus.d.ts +3 -3
  347. package/dist/CoreTelephony/CTTelephonyNetworkInfo.d.ts +4 -5
  348. package/dist/CoreText/functions.d.ts +9 -9
  349. package/dist/CoreText/functions.js +9 -9
  350. package/dist/CryptoTokenKit/TKErrorCode.d.ts +15 -0
  351. package/dist/CryptoTokenKit/TKErrorCode.js +15 -0
  352. package/dist/CryptoTokenKit/TKSmartCard.d.ts +5 -4
  353. package/dist/CryptoTokenKit/TKSmartCardATR.d.ts +1 -2
  354. package/dist/CryptoTokenKit/TKSmartCardSlotManager.d.ts +4 -3
  355. package/dist/CryptoTokenKit/TKSmartCardUserInteraction.d.ts +2 -2
  356. package/dist/CryptoTokenKit/TKTokenWatcher.d.ts +3 -4
  357. package/dist/CryptoTokenKit/index.d.ts +1 -0
  358. package/dist/CryptoTokenKit/index.js +1 -0
  359. package/dist/DeviceCheck/DCAppAttestService.d.ts +4 -4
  360. package/dist/DeviceCheck/DCDevice.d.ts +3 -2
  361. package/dist/DeviceCheck/DCError.d.ts +8 -0
  362. package/dist/DeviceCheck/DCError.js +8 -0
  363. package/dist/DeviceCheck/index.d.ts +1 -0
  364. package/dist/DeviceCheck/index.js +1 -0
  365. package/dist/DeviceDiscoveryExtension/DDErrorCode.d.ts +12 -0
  366. package/dist/DeviceDiscoveryExtension/DDErrorCode.js +12 -0
  367. package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
  368. package/dist/DeviceDiscoveryExtension/index.js +1 -0
  369. package/dist/EventKit/EKEventStore.d.ts +7 -6
  370. package/dist/EventKit/EKVirtualConferenceProvider.d.ts +5 -3
  371. package/dist/ExecutionPolicy/EPDeveloperTool.d.ts +1 -2
  372. package/dist/ExecutionPolicy/EPError.d.ts +5 -0
  373. package/dist/ExecutionPolicy/EPError.js +5 -0
  374. package/dist/ExecutionPolicy/index.d.ts +1 -0
  375. package/dist/ExecutionPolicy/index.js +1 -0
  376. package/dist/ExternalAccessory/EAAccessoryManager.d.ts +2 -1
  377. package/dist/FSKit/FSBlockDeviceResource.d.ts +3 -2
  378. package/dist/FSKit/FSClient.d.ts +3 -2
  379. package/dist/FSKit/FSErrorCode.d.ts +10 -0
  380. package/dist/FSKit/FSErrorCode.js +10 -0
  381. package/dist/FSKit/FSFileSystemBase.d.ts +2 -2
  382. package/dist/FSKit/FSOperationID.d.ts +2 -0
  383. package/dist/FSKit/FSOperationID.js +2 -0
  384. package/dist/FSKit/FSTask.d.ts +2 -3
  385. package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +6 -4
  386. package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +2 -2
  387. package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
  388. package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +6 -5
  389. package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +3 -3
  390. package/dist/FSKit/FSVolumeOperations.d.ts +18 -17
  391. package/dist/FSKit/FSVolumePreallocateOperations.d.ts +2 -1
  392. package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +3 -2
  393. package/dist/FSKit/FSVolumeRenameOperations.d.ts +2 -2
  394. package/dist/FSKit/FSVolumeXattrOperations.d.ts +4 -4
  395. package/dist/FSKit/index.d.ts +2 -0
  396. package/dist/FSKit/index.js +2 -0
  397. package/dist/FileProvider/NSFileProviderCustomAction.d.ts +2 -2
  398. package/dist/FileProvider/NSFileProviderEnumerator.d.ts +1 -2
  399. package/dist/FileProvider/NSFileProviderErrorCode.d.ts +27 -0
  400. package/dist/FileProvider/NSFileProviderErrorCode.js +27 -0
  401. package/dist/FileProvider/NSFileProviderExtension.d.ts +14 -13
  402. package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +2 -2
  403. package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +3 -2
  404. package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +3 -2
  405. package/dist/FileProvider/NSFileProviderManager.d.ts +25 -23
  406. package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +5 -2
  407. package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +9 -9
  408. package/dist/FileProvider/NSFileProviderServicing.d.ts +3 -2
  409. package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +4 -2
  410. package/dist/FileProvider/index.d.ts +1 -0
  411. package/dist/FileProvider/index.js +1 -0
  412. package/dist/FinderSync/FIFinderSync.d.ts +3 -1
  413. package/dist/FinderSync/FIFinderSyncController.d.ts +3 -3
  414. package/dist/Foundation/NSArray.d.ts +13 -13
  415. package/dist/Foundation/NSAttributedString.d.ts +2 -2
  416. package/dist/Foundation/NSBackgroundActivityScheduler.d.ts +2 -2
  417. package/dist/Foundation/NSBlockOperation.d.ts +3 -3
  418. package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -3
  419. package/dist/Foundation/NSCalendar.d.ts +1 -1
  420. package/dist/Foundation/NSData.d.ts +2 -2
  421. package/dist/Foundation/NSDictionary.d.ts +6 -6
  422. package/dist/Foundation/NSError.d.ts +2 -2
  423. package/dist/Foundation/NSExpression.d.ts +2 -2
  424. package/dist/Foundation/NSExtensionContext.d.ts +2 -3
  425. package/dist/Foundation/NSFileCoordinator.d.ts +7 -6
  426. package/dist/Foundation/NSFileHandle.d.ts +4 -4
  427. package/dist/Foundation/NSFileManager.d.ts +9 -7
  428. package/dist/Foundation/NSFilePresenter.d.ts +7 -7
  429. package/dist/Foundation/NSFileProviderService.d.ts +3 -2
  430. package/dist/Foundation/NSFileVersion.d.ts +2 -1
  431. package/dist/Foundation/NSHTTPCookieStorage.d.ts +1 -2
  432. package/dist/Foundation/NSIndexSet.d.ts +12 -12
  433. package/dist/Foundation/NSItemProvider.d.ts +15 -12
  434. package/dist/Foundation/NSItemProviderWriting.d.ts +3 -2
  435. package/dist/Foundation/NSLinguisticTagger.d.ts +3 -3
  436. package/dist/Foundation/NSMetadataQuery.d.ts +2 -2
  437. package/dist/Foundation/NSMutableArray.d.ts +2 -2
  438. package/dist/Foundation/NSMutableOrderedSet.d.ts +3 -3
  439. package/dist/Foundation/NSNotificationCenter.d.ts +1 -1
  440. package/dist/Foundation/NSOperation.d.ts +2 -3
  441. package/dist/Foundation/NSOperationQueue.d.ts +2 -3
  442. package/dist/Foundation/NSOrderedCollectionDifference.d.ts +2 -2
  443. package/dist/Foundation/NSOrderedSet.d.ts +13 -13
  444. package/dist/Foundation/NSPredicate.d.ts +1 -1
  445. package/dist/Foundation/NSProcessInfo.d.ts +2 -3
  446. package/dist/Foundation/NSProgress.d.ts +8 -8
  447. package/dist/Foundation/NSRegularExpression.d.ts +2 -1
  448. package/dist/Foundation/NSRunLoop.d.ts +2 -2
  449. package/dist/Foundation/NSSet.d.ts +4 -4
  450. package/dist/Foundation/NSSortDescriptor.d.ts +3 -3
  451. package/dist/Foundation/NSString.d.ts +6 -5
  452. package/dist/Foundation/NSTask.d.ts +3 -3
  453. package/dist/Foundation/NSThread.d.ts +2 -2
  454. package/dist/Foundation/NSTimer.d.ts +3 -3
  455. package/dist/Foundation/NSURLCache.d.ts +1 -2
  456. package/dist/Foundation/NSURLConnection.d.ts +3 -1
  457. package/dist/Foundation/NSURLCredentialStorage.d.ts +2 -3
  458. package/dist/Foundation/NSURLSession.d.ts +14 -13
  459. package/dist/Foundation/NSURLSessionDataDelegate.d.ts +3 -3
  460. package/dist/Foundation/NSURLSessionDelegate.d.ts +3 -2
  461. package/dist/Foundation/NSURLSessionDownloadTask.d.ts +2 -2
  462. package/dist/Foundation/NSURLSessionStreamTask.d.ts +3 -3
  463. package/dist/Foundation/NSURLSessionTaskDelegate.d.ts +9 -6
  464. package/dist/Foundation/NSURLSessionUploadTask.d.ts +2 -2
  465. package/dist/Foundation/NSURLSessionWebSocketTask.d.ts +4 -4
  466. package/dist/Foundation/NSUndoManager.d.ts +1 -1
  467. package/dist/Foundation/NSUserActivity.d.ts +6 -4
  468. package/dist/Foundation/NSUserAppleScriptTask.d.ts +2 -2
  469. package/dist/Foundation/NSUserAutomatorTask.d.ts +2 -1
  470. package/dist/Foundation/NSUserScriptTask.d.ts +2 -1
  471. package/dist/Foundation/NSUserUnixTask.d.ts +2 -2
  472. package/dist/Foundation/NSXPCConnection.d.ts +8 -7
  473. package/dist/Foundation/NSXPCProxyCreating.d.ts +3 -2
  474. package/dist/GLKit/GLKTextureLoader.d.ts +9 -8
  475. package/dist/GameController/GCAxis2DInput.d.ts +3 -3
  476. package/dist/GameController/GCAxisInput.d.ts +3 -3
  477. package/dist/GameController/GCController.d.ts +3 -3
  478. package/dist/GameController/GCControllerAxisInput.d.ts +2 -3
  479. package/dist/GameController/GCControllerButtonInput.d.ts +6 -7
  480. package/dist/GameController/GCControllerDirectionPad.d.ts +2 -3
  481. package/dist/GameController/GCControllerTouchpad.d.ts +6 -7
  482. package/dist/GameController/GCDevicePhysicalInput.d.ts +5 -5
  483. package/dist/GameController/GCExtendedGamepad.d.ts +3 -3
  484. package/dist/GameController/GCGamepad.d.ts +3 -3
  485. package/dist/GameController/GCKeyboardInput.d.ts +2 -2
  486. package/dist/GameController/GCLinearInput.d.ts +3 -3
  487. package/dist/GameController/GCMicroGamepad.d.ts +3 -3
  488. package/dist/GameController/GCMotion.d.ts +2 -3
  489. package/dist/GameController/GCMouseInput.d.ts +2 -3
  490. package/dist/GameController/GCPhysicalInputProfile.d.ts +2 -3
  491. package/dist/GameController/GCPressedStateInput.d.ts +3 -3
  492. package/dist/GameController/GCRelativeInput.d.ts +3 -3
  493. package/dist/GameController/GCSwitchPositionInput.d.ts +3 -3
  494. package/dist/GameController/GCTouchedStateInput.d.ts +3 -3
  495. package/dist/GameKit/GKAccessPoint.d.ts +13 -14
  496. package/dist/GameKit/GKAchievement.d.ts +11 -11
  497. package/dist/GameKit/GKAchievementDescription.d.ts +4 -3
  498. package/dist/GameKit/GKChallenge.d.ts +3 -2
  499. package/dist/GameKit/GKChallengeDefinition.d.ts +5 -4
  500. package/dist/GameKit/GKCloudPlayer.d.ts +2 -2
  501. package/dist/GameKit/GKGameActivity.d.ts +5 -3
  502. package/dist/GameKit/GKGameActivityDefinition.d.ts +7 -6
  503. package/dist/GameKit/GKGameActivityListener.d.ts +1 -2
  504. package/dist/GameKit/GKGameSession.d.ts +13 -12
  505. package/dist/GameKit/GKLeaderboard.d.ts +14 -12
  506. package/dist/GameKit/GKLeaderboardEntry.d.ts +2 -3
  507. package/dist/GameKit/GKLeaderboardSet.d.ts +7 -5
  508. package/dist/GameKit/GKLocalPlayer.d.ts +24 -20
  509. package/dist/GameKit/GKMatch.d.ts +5 -3
  510. package/dist/GameKit/GKMatchRequest.d.ts +6 -4
  511. package/dist/GameKit/GKMatchmaker.d.ts +17 -15
  512. package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +1 -1
  513. package/dist/GameKit/GKNotificationBanner.d.ts +2 -3
  514. package/dist/GameKit/GKPlayer.d.ts +4 -3
  515. package/dist/GameKit/GKSavedGame.d.ts +3 -2
  516. package/dist/GameKit/GKScore.d.ts +8 -8
  517. package/dist/GameKit/GKTurnBasedExchange.d.ts +3 -3
  518. package/dist/GameKit/GKTurnBasedMatch.d.ts +22 -21
  519. package/dist/GameKit/GKVoiceChat.d.ts +5 -5
  520. package/dist/GameSave/GSSyncedDirectory.d.ts +3 -4
  521. package/dist/GameplayKit/GKRule.d.ts +1 -2
  522. package/dist/HealthKit/HKActivitySummaryQuery.d.ts +5 -4
  523. package/dist/HealthKit/HKAnchoredObjectQuery.d.ts +6 -6
  524. package/dist/HealthKit/HKAttachmentStore.d.ts +8 -6
  525. package/dist/HealthKit/HKCorrelationQuery.d.ts +3 -2
  526. package/dist/HealthKit/HKDocumentQuery.d.ts +2 -2
  527. package/dist/HealthKit/HKElectrocardiogramQuery.d.ts +3 -2
  528. package/dist/HealthKit/HKHealthStore.d.ts +25 -22
  529. package/dist/HealthKit/HKHeartbeatSeriesBuilder.d.ts +5 -4
  530. package/dist/HealthKit/HKHeartbeatSeriesQuery.d.ts +2 -2
  531. package/dist/HealthKit/HKObserverQuery.d.ts +4 -3
  532. package/dist/HealthKit/HKQuantitySeriesSampleBuilder.d.ts +4 -2
  533. package/dist/HealthKit/HKQuantitySeriesSampleQuery.d.ts +6 -3
  534. package/dist/HealthKit/HKSampleQuery.d.ts +4 -4
  535. package/dist/HealthKit/HKSourceQuery.d.ts +3 -2
  536. package/dist/HealthKit/HKStatisticsCollection.d.ts +1 -1
  537. package/dist/HealthKit/HKStatisticsCollectionQuery.d.ts +7 -5
  538. package/dist/HealthKit/HKStatisticsQuery.d.ts +3 -2
  539. package/dist/HealthKit/HKUserAnnotatedMedicationQuery.d.ts +3 -2
  540. package/dist/HealthKit/HKVerifiableClinicalRecordQuery.d.ts +3 -3
  541. package/dist/HealthKit/HKWorkoutBuilder.d.ts +11 -10
  542. package/dist/HealthKit/HKWorkoutEffortRelationshipQuery.d.ts +3 -2
  543. package/dist/HealthKit/HKWorkoutRouteBuilder.d.ts +5 -4
  544. package/dist/HealthKit/HKWorkoutRouteQuery.d.ts +4 -3
  545. package/dist/HealthKit/HKWorkoutSession.d.ts +4 -3
  546. package/dist/IOUSBHost/IOUSBHostControllerInterface.d.ts +1 -1
  547. package/dist/IOUSBHost/IOUSBHostInterface.d.ts +1 -1
  548. package/dist/IOUSBHost/IOUSBHostObject.d.ts +5 -5
  549. package/dist/IOUSBHost/IOUSBHostPipe.d.ts +6 -6
  550. package/dist/IOUSBHost/IOUSBHostStream.d.ts +1 -1
  551. package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +2 -2
  552. package/dist/IdentityLookup/ILMessageFilterError.d.ts +8 -0
  553. package/dist/IdentityLookup/ILMessageFilterError.js +8 -0
  554. package/dist/IdentityLookup/ILMessageFilterExtensionContext.d.ts +3 -2
  555. package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +2 -2
  556. package/dist/IdentityLookup/index.d.ts +1 -0
  557. package/dist/IdentityLookup/index.js +1 -0
  558. package/dist/ImageCaptureCore/ICCameraDevice.d.ts +5 -4
  559. package/dist/ImageCaptureCore/ICCameraFile.d.ts +8 -6
  560. package/dist/ImageCaptureCore/ICDevice.d.ts +4 -3
  561. package/dist/ImageCaptureCore/ICDeviceBrowser.d.ts +5 -4
  562. package/dist/ImageCaptureCore/ICLegacyReturnCode.d.ts +25 -0
  563. package/dist/ImageCaptureCore/ICLegacyReturnCode.js +25 -0
  564. package/dist/ImageCaptureCore/ICReturnCode.d.ts +43 -0
  565. package/dist/ImageCaptureCore/ICReturnCode.js +43 -0
  566. package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.d.ts +11 -0
  567. package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.js +11 -0
  568. package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.d.ts +5 -0
  569. package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.js +5 -0
  570. package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.d.ts +7 -0
  571. package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.js +7 -0
  572. package/dist/ImageCaptureCore/ICReturnObjectErrorCode.d.ts +8 -0
  573. package/dist/ImageCaptureCore/ICReturnObjectErrorCode.js +8 -0
  574. package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.d.ts +5 -0
  575. package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.js +5 -0
  576. package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.d.ts +7 -0
  577. package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.js +7 -0
  578. package/dist/ImageCaptureCore/index.d.ts +8 -0
  579. package/dist/ImageCaptureCore/index.js +8 -0
  580. package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +7 -5
  581. package/dist/Intents/INAddMediaIntentHandling.d.ts +7 -5
  582. package/dist/Intents/INAddTasksIntentHandling.d.ts +17 -10
  583. package/dist/Intents/INAnswerCallIntentHandling.d.ts +3 -3
  584. package/dist/Intents/INAppendToNoteIntentHandling.d.ts +7 -5
  585. package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +13 -8
  586. package/dist/Intents/INCancelRideIntentHandling.d.ts +3 -3
  587. package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +5 -4
  588. package/dist/Intents/INCreateNoteIntentHandling.d.ts +8 -6
  589. package/dist/Intents/INCreateTaskListIntentHandling.d.ts +8 -6
  590. package/dist/Intents/INDeleteTasksIntentHandling.d.ts +7 -5
  591. package/dist/Intents/INEditMessageIntentHandling.d.ts +5 -4
  592. package/dist/Intents/INEndWorkoutIntentHandling.d.ts +5 -4
  593. package/dist/Intents/INFocusStatusCenter.d.ts +1 -2
  594. package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +5 -4
  595. package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +9 -6
  596. package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +5 -4
  597. package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +5 -4
  598. package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +3 -3
  599. package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
  600. package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +5 -4
  601. package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +5 -4
  602. package/dist/Intents/INHangUpCallIntentHandling.d.ts +3 -3
  603. package/dist/Intents/INInteraction.d.ts +5 -4
  604. package/dist/Intents/INListCarsIntentHandling.d.ts +3 -3
  605. package/dist/Intents/INListRideOptionsIntentHandling.d.ts +6 -5
  606. package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +5 -4
  607. package/dist/Intents/INPayBillIntentHandling.d.ts +16 -10
  608. package/dist/Intents/INPlayMediaIntentHandling.d.ts +14 -9
  609. package/dist/Intents/INPreferences.d.ts +1 -2
  610. package/dist/Intents/INRelevantShortcutStore.d.ts +2 -2
  611. package/dist/Intents/INRequestPaymentIntentHandling.d.ts +13 -8
  612. package/dist/Intents/INRequestRideIntentHandling.d.ts +12 -8
  613. package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +5 -4
  614. package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +7 -5
  615. package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +13 -8
  616. package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +10 -7
  617. package/dist/Intents/INSearchForBillsIntentHandling.d.ts +12 -8
  618. package/dist/Intents/INSearchForMediaIntentHandling.d.ts +5 -4
  619. package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +12 -9
  620. package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +23 -13
  621. package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +12 -8
  622. package/dist/Intents/INSendMessageIntentHandling.d.ts +13 -9
  623. package/dist/Intents/INSendPaymentIntentHandling.d.ts +13 -8
  624. package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +3 -3
  625. package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +7 -5
  626. package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +7 -5
  627. package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +23 -15
  628. package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +9 -6
  629. package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +5 -4
  630. package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +11 -7
  631. package/dist/Intents/INSetRadioStationIntentHandling.d.ts +12 -8
  632. package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +15 -10
  633. package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +17 -10
  634. package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +3 -3
  635. package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +7 -5
  636. package/dist/Intents/INStartAudioCallIntentHandling.d.ts +7 -5
  637. package/dist/Intents/INStartCallIntentHandling.d.ts +11 -7
  638. package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +11 -7
  639. package/dist/Intents/INStartVideoCallIntentHandling.d.ts +5 -4
  640. package/dist/Intents/INStartWorkoutIntentHandling.d.ts +13 -8
  641. package/dist/Intents/INTransferMoneyIntentHandling.d.ts +12 -8
  642. package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +3 -3
  643. package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +7 -5
  644. package/dist/Intents/INVoiceShortcutCenter.d.ts +4 -3
  645. package/dist/JavaScriptCore/JSContext.d.ts +2 -2
  646. package/dist/JavaScriptCore/JSValue.d.ts +1 -1
  647. package/dist/LinkPresentation/LPErrorCode.d.ts +8 -0
  648. package/dist/LinkPresentation/LPErrorCode.js +8 -0
  649. package/dist/LinkPresentation/LPMetadataProvider.d.ts +4 -3
  650. package/dist/LinkPresentation/index.d.ts +1 -0
  651. package/dist/LinkPresentation/index.js +1 -0
  652. package/dist/LocalAuthentication/LAContext.d.ts +3 -2
  653. package/dist/LocalAuthentication/LAPrivateKey.d.ts +4 -3
  654. package/dist/LocalAuthentication/LAPublicKey.d.ts +4 -3
  655. package/dist/LocalAuthentication/LARight.d.ts +4 -4
  656. package/dist/LocalAuthentication/LARightStore.d.ts +7 -7
  657. package/dist/LocalAuthentication/LASecret.d.ts +3 -2
  658. package/dist/MLCompute/MLCInferenceGraph.d.ts +6 -5
  659. package/dist/MLCompute/MLCTensorData.d.ts +1 -1
  660. package/dist/MLCompute/MLCTrainingGraph.d.ts +8 -8
  661. package/dist/MailKit/MEComposeSessionErrorCode.d.ts +6 -0
  662. package/dist/MailKit/MEComposeSessionErrorCode.js +6 -0
  663. package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
  664. package/dist/MailKit/MEExtensionManager.d.ts +3 -3
  665. package/dist/MailKit/MEMessageActionHandler.d.ts +2 -2
  666. package/dist/MailKit/MEMessageEncoder.d.ts +4 -3
  667. package/dist/MailKit/MEMessageSecurityErrorCode.d.ts +5 -0
  668. package/dist/MailKit/MEMessageSecurityErrorCode.js +5 -0
  669. package/dist/MailKit/MEMessageSecurityHandler.d.ts +1 -2
  670. package/dist/MailKit/index.d.ts +2 -0
  671. package/dist/MailKit/index.js +2 -0
  672. package/dist/MapKit/MKDirections.d.ts +5 -3
  673. package/dist/MapKit/MKGeocodingRequest.d.ts +3 -2
  674. package/dist/MapKit/MKLocalSearch.d.ts +3 -2
  675. package/dist/MapKit/MKLookAroundSceneRequest.d.ts +3 -2
  676. package/dist/MapKit/MKLookAroundSnapshotter.d.ts +3 -2
  677. package/dist/MapKit/MKMapItem.d.ts +2 -2
  678. package/dist/MapKit/MKMapItemRequest.d.ts +3 -1
  679. package/dist/MapKit/MKMapSnapshotter.d.ts +4 -3
  680. package/dist/MapKit/MKReverseGeocodingRequest.d.ts +3 -1
  681. package/dist/MapKit/MKTileOverlay.d.ts +3 -2
  682. package/dist/Matter/MTRAsyncCallbackQueueWorkItem.d.ts +4 -4
  683. package/dist/Matter/MTRAttributeCacheContainer.d.ts +3 -2
  684. package/dist/Matter/MTRBaseClusterAccessControl.d.ts +77 -76
  685. package/dist/Matter/MTRBaseClusterAccountLogin.d.ts +41 -39
  686. package/dist/Matter/MTRBaseClusterActions.d.ts +75 -73
  687. package/dist/Matter/MTRBaseClusterActivatedCarbonFilterMonitoring.d.ts +39 -38
  688. package/dist/Matter/MTRBaseClusterAdministratorCommissioning.d.ts +58 -57
  689. package/dist/Matter/MTRBaseClusterAirQuality.d.ts +20 -19
  690. package/dist/Matter/MTRBaseClusterApplicationBasic.d.ts +83 -79
  691. package/dist/Matter/MTRBaseClusterApplicationLauncher.d.ts +58 -56
  692. package/dist/Matter/MTRBaseClusterAudioOutput.d.ts +48 -47
  693. package/dist/Matter/MTRBaseClusterBallastConfiguration.d.ts +156 -155
  694. package/dist/Matter/MTRBaseClusterBarrierControl.d.ts +122 -121
  695. package/dist/Matter/MTRBaseClusterBasic.d.ts +86 -84
  696. package/dist/Matter/MTRBaseClusterBasicInformation.d.ts +94 -91
  697. package/dist/Matter/MTRBaseClusterBinaryInputBasic.d.ts +110 -109
  698. package/dist/Matter/MTRBaseClusterBinding.d.ts +41 -41
  699. package/dist/Matter/MTRBaseClusterBooleanState.d.ts +38 -37
  700. package/dist/Matter/MTRBaseClusterBooleanStateConfiguration.d.ts +45 -44
  701. package/dist/Matter/MTRBaseClusterBridgedDeviceBasic.d.ts +64 -63
  702. package/dist/Matter/MTRBaseClusterBridgedDeviceBasicInformation.d.ts +72 -70
  703. package/dist/Matter/MTRBaseClusterCarbonDioxideConcentrationMeasurement.d.ts +50 -49
  704. package/dist/Matter/MTRBaseClusterCarbonMonoxideConcentrationMeasurement.d.ts +50 -49
  705. package/dist/Matter/MTRBaseClusterChannel.d.ts +66 -59
  706. package/dist/Matter/MTRBaseClusterColorControl.d.ts +435 -433
  707. package/dist/Matter/MTRBaseClusterCommissionerControl.d.ts +23 -21
  708. package/dist/Matter/MTRBaseClusterContentAppObserver.d.ts +19 -17
  709. package/dist/Matter/MTRBaseClusterContentLauncher.d.ts +54 -51
  710. package/dist/Matter/MTRBaseClusterDescriptor.d.ts +56 -55
  711. package/dist/Matter/MTRBaseClusterDeviceEnergyManagement.d.ts +54 -51
  712. package/dist/Matter/MTRBaseClusterDeviceEnergyManagementMode.d.ts +25 -23
  713. package/dist/Matter/MTRBaseClusterDiagnosticLogs.d.ts +35 -33
  714. package/dist/Matter/MTRBaseClusterDishwasherAlarm.d.ts +31 -30
  715. package/dist/Matter/MTRBaseClusterDishwasherMode.d.ts +25 -23
  716. package/dist/Matter/MTRBaseClusterDoorLock.d.ts +397 -389
  717. package/dist/Matter/MTRBaseClusterElectricalEnergyMeasurement.d.ts +38 -34
  718. package/dist/Matter/MTRBaseClusterElectricalMeasurement.d.ts +838 -837
  719. package/dist/Matter/MTRBaseClusterElectricalPowerMeasurement.d.ts +74 -73
  720. package/dist/Matter/MTRBaseClusterEnergyEVSE.d.ts +85 -83
  721. package/dist/Matter/MTRBaseClusterEnergyEVSEMode.d.ts +25 -23
  722. package/dist/Matter/MTRBaseClusterEthernetNetworkDiagnostics.d.ts +90 -89
  723. package/dist/Matter/MTRBaseClusterFanControl.d.ts +128 -127
  724. package/dist/Matter/MTRBaseClusterFixedLabel.d.ts +38 -37
  725. package/dist/Matter/MTRBaseClusterFlowMeasurement.d.ts +56 -55
  726. package/dist/Matter/MTRBaseClusterFormaldehydeConcentrationMeasurement.d.ts +50 -49
  727. package/dist/Matter/MTRBaseClusterGeneralCommissioning.d.ts +78 -73
  728. package/dist/Matter/MTRBaseClusterGeneralDiagnostics.d.ts +93 -90
  729. package/dist/Matter/MTRBaseClusterGroupKeyManagement.d.ts +70 -68
  730. package/dist/Matter/MTRBaseClusterGroups.d.ts +56 -51
  731. package/dist/Matter/MTRBaseClusterHEPAFilterMonitoring.d.ts +39 -38
  732. package/dist/Matter/MTRBaseClusterICDManagement.d.ts +53 -49
  733. package/dist/Matter/MTRBaseClusterIdentify.d.ts +52 -51
  734. package/dist/Matter/MTRBaseClusterIlluminanceMeasurement.d.ts +62 -61
  735. package/dist/Matter/MTRBaseClusterKeypadInput.d.ts +35 -33
  736. package/dist/Matter/MTRBaseClusterLaundryDryerControls.d.ts +25 -24
  737. package/dist/Matter/MTRBaseClusterLaundryWasherControls.d.ts +33 -32
  738. package/dist/Matter/MTRBaseClusterLaundryWasherMode.d.ts +25 -23
  739. package/dist/Matter/MTRBaseClusterLevelControl.d.ts +162 -161
  740. package/dist/Matter/MTRBaseClusterLocalizationConfiguration.d.ts +48 -47
  741. package/dist/Matter/MTRBaseClusterLowPower.d.ts +36 -35
  742. package/dist/Matter/MTRBaseClusterMediaInput.d.ts +56 -55
  743. package/dist/Matter/MTRBaseClusterMediaPlayback.d.ts +119 -115
  744. package/dist/Matter/MTRBaseClusterMessages.d.ts +25 -24
  745. package/dist/Matter/MTRBaseClusterMicrowaveOvenControl.d.ts +41 -40
  746. package/dist/Matter/MTRBaseClusterMicrowaveOvenMode.d.ts +23 -22
  747. package/dist/Matter/MTRBaseClusterModeSelect.d.ts +79 -77
  748. package/dist/Matter/MTRBaseClusterNetworkCommissioning.d.ts +110 -105
  749. package/dist/Matter/MTRBaseClusterNitrogenDioxideConcentrationMeasurement.d.ts +50 -49
  750. package/dist/Matter/MTRBaseClusterOccupancySensing.d.ts +149 -147
  751. package/dist/Matter/MTRBaseClusterOnOff.d.ts +94 -93
  752. package/dist/Matter/MTRBaseClusterOnOffSwitchConfiguration.d.ts +48 -47
  753. package/dist/Matter/MTRBaseClusterOperationalCredentials.d.ts +88 -83
  754. package/dist/Matter/MTRBaseClusterOperationalState.d.ts +45 -42
  755. package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateProvider.d.ts +40 -37
  756. package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateRequestor.d.ts +61 -61
  757. package/dist/Matter/MTRBaseClusterOvenCavityOperationalState.d.ts +41 -38
  758. package/dist/Matter/MTRBaseClusterOvenMode.d.ts +25 -23
  759. package/dist/Matter/MTRBaseClusterOzoneConcentrationMeasurement.d.ts +50 -49
  760. package/dist/Matter/MTRBaseClusterPM10ConcentrationMeasurement.d.ts +50 -49
  761. package/dist/Matter/MTRBaseClusterPM1ConcentrationMeasurement.d.ts +50 -49
  762. package/dist/Matter/MTRBaseClusterPM25ConcentrationMeasurement.d.ts +50 -49
  763. package/dist/Matter/MTRBaseClusterPowerSource.d.ts +222 -220
  764. package/dist/Matter/MTRBaseClusterPowerSourceConfiguration.d.ts +38 -37
  765. package/dist/Matter/MTRBaseClusterPowerTopology.d.ts +23 -22
  766. package/dist/Matter/MTRBaseClusterPressureMeasurement.d.ts +86 -85
  767. package/dist/Matter/MTRBaseClusterPumpConfigurationAndControl.d.ts +186 -185
  768. package/dist/Matter/MTRBaseClusterRVCCleanMode.d.ts +25 -23
  769. package/dist/Matter/MTRBaseClusterRVCOperationalState.d.ts +43 -40
  770. package/dist/Matter/MTRBaseClusterRVCRunMode.d.ts +25 -23
  771. package/dist/Matter/MTRBaseClusterRadonConcentrationMeasurement.d.ts +50 -49
  772. package/dist/Matter/MTRBaseClusterRefrigeratorAlarm.d.ts +26 -25
  773. package/dist/Matter/MTRBaseClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +25 -23
  774. package/dist/Matter/MTRBaseClusterRelativeHumidityMeasurement.d.ts +56 -55
  775. package/dist/Matter/MTRBaseClusterServiceArea.d.ts +39 -36
  776. package/dist/Matter/MTRBaseClusterSmokeCOAlarm.d.ts +60 -59
  777. package/dist/Matter/MTRBaseClusterSoftwareDiagnostics.d.ts +60 -59
  778. package/dist/Matter/MTRBaseClusterSwitch.d.ts +50 -49
  779. package/dist/Matter/MTRBaseClusterTargetNavigator.d.ts +47 -45
  780. package/dist/Matter/MTRBaseClusterTemperatureControl.d.ts +37 -36
  781. package/dist/Matter/MTRBaseClusterTemperatureMeasurement.d.ts +56 -55
  782. package/dist/Matter/MTRBaseClusterTestCluster.d.ts +467 -455
  783. package/dist/Matter/MTRBaseClusterThermostat.d.ts +486 -483
  784. package/dist/Matter/MTRBaseClusterThermostatUserInterfaceConfiguration.d.ts +62 -61
  785. package/dist/Matter/MTRBaseClusterThreadBorderRouterManagement.d.ts +44 -40
  786. package/dist/Matter/MTRBaseClusterThreadNetworkDiagnostics.d.ts +418 -413
  787. package/dist/Matter/MTRBaseClusterThreadNetworkDirectory.d.ts +32 -30
  788. package/dist/Matter/MTRBaseClusterTimeFormatLocalization.d.ts +58 -57
  789. package/dist/Matter/MTRBaseClusterTimeSynchronization.d.ts +64 -60
  790. package/dist/Matter/MTRBaseClusterTotalVolatileOrganicCompoundsConcentrationMeasurement.d.ts +50 -49
  791. package/dist/Matter/MTRBaseClusterUnitLocalization.d.ts +42 -41
  792. package/dist/Matter/MTRBaseClusterUnitTesting.d.ts +467 -455
  793. package/dist/Matter/MTRBaseClusterUserLabel.d.ts +41 -41
  794. package/dist/Matter/MTRBaseClusterValveConfigurationAndControl.d.ts +58 -57
  795. package/dist/Matter/MTRBaseClusterWakeOnLan.d.ts +43 -40
  796. package/dist/Matter/MTRBaseClusterWaterHeaterManagement.d.ts +38 -37
  797. package/dist/Matter/MTRBaseClusterWaterHeaterMode.d.ts +25 -23
  798. package/dist/Matter/MTRBaseClusterWiFiNetworkDiagnostics.d.ts +115 -113
  799. package/dist/Matter/MTRBaseClusterWiFiNetworkManagement.d.ts +27 -24
  800. package/dist/Matter/MTRBaseClusterWindowCovering.d.ts +188 -187
  801. package/dist/Matter/MTRBaseDevice.d.ts +22 -19
  802. package/dist/Matter/MTRClusterAccessControl.d.ts +3 -2
  803. package/dist/Matter/MTRClusterAccountLogin.d.ts +10 -9
  804. package/dist/Matter/MTRClusterActions.d.ts +25 -25
  805. package/dist/Matter/MTRClusterActivatedCarbonFilterMonitoring.d.ts +3 -3
  806. package/dist/Matter/MTRClusterAdministratorCommissioning.d.ts +9 -9
  807. package/dist/Matter/MTRClusterApplicationLauncher.d.ts +11 -10
  808. package/dist/Matter/MTRClusterAudioOutput.d.ts +5 -5
  809. package/dist/Matter/MTRClusterBarrierControl.d.ts +7 -7
  810. package/dist/Matter/MTRClusterBasic.d.ts +3 -3
  811. package/dist/Matter/MTRClusterBooleanStateConfiguration.d.ts +3 -3
  812. package/dist/Matter/MTRClusterBridgedDeviceBasicInformation.d.ts +2 -2
  813. package/dist/Matter/MTRClusterChannel.d.ts +13 -11
  814. package/dist/Matter/MTRClusterColorControl.d.ts +39 -39
  815. package/dist/Matter/MTRClusterCommissionerControl.d.ts +4 -3
  816. package/dist/Matter/MTRClusterContentAppObserver.d.ts +3 -2
  817. package/dist/Matter/MTRClusterContentLauncher.d.ts +7 -5
  818. package/dist/Matter/MTRClusterDeviceEnergyManagement.d.ts +12 -12
  819. package/dist/Matter/MTRClusterDeviceEnergyManagementMode.d.ts +3 -2
  820. package/dist/Matter/MTRClusterDiagnosticLogs.d.ts +4 -3
  821. package/dist/Matter/MTRClusterDishwasherAlarm.d.ts +3 -3
  822. package/dist/Matter/MTRClusterDishwasherMode.d.ts +3 -2
  823. package/dist/Matter/MTRClusterDoorLock.d.ts +50 -44
  824. package/dist/Matter/MTRClusterElectricalMeasurement.d.ts +7 -7
  825. package/dist/Matter/MTRClusterEnergyEVSE.d.ts +12 -11
  826. package/dist/Matter/MTRClusterEnergyEVSEMode.d.ts +3 -2
  827. package/dist/Matter/MTRClusterEthernetNetworkDiagnostics.d.ts +5 -5
  828. package/dist/Matter/MTRClusterFanControl.d.ts +2 -2
  829. package/dist/Matter/MTRClusterGeneralCommissioning.d.ts +12 -9
  830. package/dist/Matter/MTRClusterGeneralDiagnostics.d.ts +8 -6
  831. package/dist/Matter/MTRClusterGroupKeyManagement.d.ts +12 -10
  832. package/dist/Matter/MTRClusterGroups.d.ts +19 -15
  833. package/dist/Matter/MTRClusterHEPAFilterMonitoring.d.ts +3 -3
  834. package/dist/Matter/MTRClusterICDManagement.d.ts +6 -4
  835. package/dist/Matter/MTRClusterIdentify.d.ts +5 -5
  836. package/dist/Matter/MTRClusterKeypadInput.d.ts +4 -3
  837. package/dist/Matter/MTRClusterLaundryWasherMode.d.ts +3 -2
  838. package/dist/Matter/MTRClusterLevelControl.d.ts +19 -19
  839. package/dist/Matter/MTRClusterLowPower.d.ts +5 -5
  840. package/dist/Matter/MTRClusterMediaInput.d.ts +13 -13
  841. package/dist/Matter/MTRClusterMediaPlayback.d.ts +44 -43
  842. package/dist/Matter/MTRClusterMessages.d.ts +3 -3
  843. package/dist/Matter/MTRClusterMicrowaveOvenControl.d.ts +4 -4
  844. package/dist/Matter/MTRClusterModeSelect.d.ts +3 -3
  845. package/dist/Matter/MTRClusterNetworkCommissioning.d.ts +17 -14
  846. package/dist/Matter/MTRClusterOnOff.d.ts +21 -21
  847. package/dist/Matter/MTRClusterOperationalCredentials.d.ts +21 -17
  848. package/dist/Matter/MTRClusterOperationalState.d.ts +10 -9
  849. package/dist/Matter/MTRClusterOtaSoftwareUpdateProvider.d.ts +9 -7
  850. package/dist/Matter/MTRClusterOtaSoftwareUpdateRequestor.d.ts +3 -3
  851. package/dist/Matter/MTRClusterOvenCavityOperationalState.d.ts +6 -5
  852. package/dist/Matter/MTRClusterOvenMode.d.ts +3 -2
  853. package/dist/Matter/MTRClusterRVCCleanMode.d.ts +3 -2
  854. package/dist/Matter/MTRClusterRVCOperationalState.d.ts +8 -7
  855. package/dist/Matter/MTRClusterRVCRunMode.d.ts +3 -2
  856. package/dist/Matter/MTRClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +3 -2
  857. package/dist/Matter/MTRClusterServiceArea.d.ts +5 -3
  858. package/dist/Matter/MTRClusterSmokeCOAlarm.d.ts +3 -3
  859. package/dist/Matter/MTRClusterSoftwareDiagnostics.d.ts +5 -5
  860. package/dist/Matter/MTRClusterStateCacheContainer.d.ts +3 -2
  861. package/dist/Matter/MTRClusterTargetNavigator.d.ts +4 -3
  862. package/dist/Matter/MTRClusterTemperatureControl.d.ts +3 -3
  863. package/dist/Matter/MTRClusterTestCluster.d.ts +42 -30
  864. package/dist/Matter/MTRClusterThermostat.d.ts +16 -14
  865. package/dist/Matter/MTRClusterThreadBorderRouterManagement.d.ts +8 -7
  866. package/dist/Matter/MTRClusterThreadNetworkDiagnostics.d.ts +5 -5
  867. package/dist/Matter/MTRClusterThreadNetworkDirectory.d.ts +5 -4
  868. package/dist/Matter/MTRClusterTimeSynchronization.d.ts +7 -6
  869. package/dist/Matter/MTRClusterUnitTesting.d.ts +42 -30
  870. package/dist/Matter/MTRClusterValveConfigurationAndControl.d.ts +5 -5
  871. package/dist/Matter/MTRClusterWaterHeaterManagement.d.ts +4 -4
  872. package/dist/Matter/MTRClusterWaterHeaterMode.d.ts +3 -2
  873. package/dist/Matter/MTRClusterWiFiNetworkDiagnostics.d.ts +5 -5
  874. package/dist/Matter/MTRClusterWiFiNetworkManagement.d.ts +4 -3
  875. package/dist/Matter/MTRClusterWindowCovering.d.ts +21 -21
  876. package/dist/Matter/MTRCommissioningDelegate.d.ts +4 -4
  877. package/dist/Matter/MTRDevice.d.ts +11 -8
  878. package/dist/Matter/MTRDeviceController.d.ts +6 -4
  879. package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +12 -10
  880. package/dist/Matter/MTRErrorCode.d.ts +22 -0
  881. package/dist/Matter/MTRErrorCode.js +22 -0
  882. package/dist/Matter/MTRInteractionErrorCode.d.ts +33 -0
  883. package/dist/Matter/MTRInteractionErrorCode.js +33 -0
  884. package/dist/Matter/MTRNOCChainIssuer.d.ts +3 -1
  885. package/dist/Matter/MTROTAProviderDelegate.d.ts +13 -11
  886. package/dist/Matter/MTROperationalCertificateIssuer.d.ts +3 -2
  887. package/dist/Matter/MTRXPCDeviceControllerParameters.d.ts +4 -4
  888. package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +17 -11
  889. package/dist/Matter/MTRXPCServerProtocol_MTRDeviceController.d.ts +2 -2
  890. package/dist/Matter/functions.d.ts +1 -2
  891. package/dist/Matter/functions.js +1 -1
  892. package/dist/Matter/index.d.ts +2 -0
  893. package/dist/Matter/index.js +2 -0
  894. package/dist/MediaAccessibility/MAMusicHapticsManager.d.ts +2 -3
  895. package/dist/MediaAccessibility/functions.d.ts +1 -1
  896. package/dist/MediaAccessibility/functions.js +1 -1
  897. package/dist/MediaExtension/MEByteSource.d.ts +4 -2
  898. package/dist/MediaExtension/MEError.d.ts +15 -0
  899. package/dist/MediaExtension/MEError.js +15 -0
  900. package/dist/MediaExtension/MEFormatReader.d.ts +8 -5
  901. package/dist/MediaExtension/MERAWProcessor.d.ts +2 -1
  902. package/dist/MediaExtension/MESampleCursor.d.ts +9 -7
  903. package/dist/MediaExtension/METrackReader.d.ts +12 -9
  904. package/dist/MediaExtension/MEVideoDecoder.d.ts +3 -1
  905. package/dist/MediaExtension/index.d.ts +1 -0
  906. package/dist/MediaExtension/index.js +1 -0
  907. package/dist/MediaPlayer/MPMediaEntity.d.ts +1 -1
  908. package/dist/MediaPlayer/MPMediaItemAnimatedArtwork.d.ts +4 -2
  909. package/dist/MediaPlayer/MPMediaItemArtwork.d.ts +1 -2
  910. package/dist/MediaPlayer/MPMediaLibrary.d.ts +6 -4
  911. package/dist/MediaPlayer/MPMediaPlaylist.d.ts +3 -3
  912. package/dist/MediaPlayer/MPMusicPlayerApplicationController.d.ts +4 -2
  913. package/dist/MediaPlayer/MPMusicPlayerController.d.ts +2 -1
  914. package/dist/MediaPlayer/MPNowPlayingSession.d.ts +1 -2
  915. package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +3 -3
  916. package/dist/MediaPlayer/MPPlayableContentDelegate.d.ts +4 -4
  917. package/dist/MediaPlayer/MPRemoteCommand.d.ts +3 -1
  918. package/dist/Metal/MTL4CommitOptions.d.ts +2 -2
  919. package/dist/Metal/MTL4Compiler.d.ts +11 -10
  920. package/dist/Metal/MTLCommandBuffer.d.ts +2 -2
  921. package/dist/Metal/MTLDevice.d.ts +13 -10
  922. package/dist/Metal/MTLDrawable.d.ts +1 -2
  923. package/dist/Metal/MTLIOCommandBuffer.d.ts +1 -2
  924. package/dist/Metal/MTLIOError.d.ts +5 -0
  925. package/dist/Metal/MTLIOError.js +5 -0
  926. package/dist/Metal/MTLLibrary.d.ts +4 -3
  927. package/dist/Metal/MTLLogState.d.ts +3 -2
  928. package/dist/Metal/MTLSharedEvent.d.ts +1 -2
  929. package/dist/Metal/NSDeviceCertification.d.ts +2 -0
  930. package/dist/Metal/NSDeviceCertification.js +2 -0
  931. package/dist/Metal/NSProcessPerformanceProfile.d.ts +2 -0
  932. package/dist/Metal/NSProcessPerformanceProfile.js +2 -0
  933. package/dist/Metal/functions.d.ts +2 -1
  934. package/dist/Metal/functions.js +1 -1
  935. package/dist/Metal/index.d.ts +3 -0
  936. package/dist/Metal/index.js +3 -0
  937. package/dist/MetalKit/MTKTextureLoader.d.ts +10 -9
  938. package/dist/MetalPerformanceShadersGraph/MPSGraph.d.ts +6 -5
  939. package/dist/MetalPerformanceShadersGraph/MPSGraphCompilationDescriptor.d.ts +4 -2
  940. package/dist/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.d.ts +6 -5
  941. package/dist/MetalPerformanceShadersGraph/MPSGraphExecutionDescriptor.d.ts +5 -4
  942. package/dist/MetricKit/MXErrorCode.d.ts +9 -0
  943. package/dist/MetricKit/MXErrorCode.js +9 -0
  944. package/dist/MetricKit/index.d.ts +1 -0
  945. package/dist/MetricKit/index.js +1 -0
  946. package/dist/ModelIO/MDLMaterialPropertyNode.d.ts +3 -4
  947. package/dist/ModelIO/MDLMeshBufferMap.d.ts +1 -1
  948. package/dist/ModelIO/MDLObject.d.ts +1 -1
  949. package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +2 -2
  950. package/dist/MultipeerConnectivity/MCSession.d.ts +3 -2
  951. package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +1 -2
  952. package/dist/NaturalLanguage/NLContextualEmbedding.d.ts +3 -1
  953. package/dist/NaturalLanguage/NLContextualEmbeddingResult.d.ts +1 -1
  954. package/dist/NaturalLanguage/NLEmbedding.d.ts +4 -4
  955. package/dist/NaturalLanguage/NLTagger.d.ts +4 -2
  956. package/dist/NaturalLanguage/NLTokenizer.d.ts +2 -1
  957. package/dist/NearbyInteraction/NIErrorCode.d.ts +13 -0
  958. package/dist/NearbyInteraction/NIErrorCode.js +13 -0
  959. package/dist/NearbyInteraction/index.d.ts +1 -0
  960. package/dist/NearbyInteraction/index.js +1 -0
  961. package/dist/NetworkExtension/NEAppProxyFlow.d.ts +2 -3
  962. package/dist/NetworkExtension/NEAppProxyProvider.d.ts +2 -3
  963. package/dist/NetworkExtension/NEAppProxyProviderManager.d.ts +3 -2
  964. package/dist/NetworkExtension/NEAppProxyTCPFlow.d.ts +3 -3
  965. package/dist/NetworkExtension/NEAppProxyUDPFlow.d.ts +5 -4
  966. package/dist/NetworkExtension/NEAppPushManager.d.ts +5 -5
  967. package/dist/NetworkExtension/NEAppPushManagerError.d.ts +7 -0
  968. package/dist/NetworkExtension/NEAppPushManagerError.js +7 -0
  969. package/dist/NetworkExtension/NEAppPushProvider.d.ts +3 -3
  970. package/dist/NetworkExtension/NEDNSProxyManager.d.ts +4 -4
  971. package/dist/NetworkExtension/NEDNSProxyProvider.d.ts +2 -2
  972. package/dist/NetworkExtension/NEDNSSettingsManager.d.ts +4 -4
  973. package/dist/NetworkExtension/NEFilterControlProvider.d.ts +3 -3
  974. package/dist/NetworkExtension/NEFilterDataProvider.d.ts +2 -2
  975. package/dist/NetworkExtension/NEFilterManager.d.ts +4 -4
  976. package/dist/NetworkExtension/NEFilterPacketProvider.d.ts +5 -2
  977. package/dist/NetworkExtension/NEFilterProvider.d.ts +3 -3
  978. package/dist/NetworkExtension/NEHotspotConfigurationManager.d.ts +6 -5
  979. package/dist/NetworkExtension/NEHotspotHelper.d.ts +2 -2
  980. package/dist/NetworkExtension/NEHotspotNetwork.d.ts +1 -2
  981. package/dist/NetworkExtension/NEPacketTunnelFlow.d.ts +2 -3
  982. package/dist/NetworkExtension/NEPacketTunnelProvider.d.ts +2 -2
  983. package/dist/NetworkExtension/NEProvider.d.ts +2 -2
  984. package/dist/NetworkExtension/NERelayManager.d.ts +6 -6
  985. package/dist/NetworkExtension/NETransparentProxyManager.d.ts +3 -2
  986. package/dist/NetworkExtension/NETunnelProvider.d.ts +3 -3
  987. package/dist/NetworkExtension/NETunnelProviderManager.d.ts +2 -2
  988. package/dist/NetworkExtension/NETunnelProviderSession.d.ts +1 -1
  989. package/dist/NetworkExtension/NEURLFilter.d.ts +2 -2
  990. package/dist/NetworkExtension/NEVPNConnection.d.ts +2 -1
  991. package/dist/NetworkExtension/NEVPNManager.d.ts +4 -3
  992. package/dist/NetworkExtension/NWTCPConnection.d.ts +3 -4
  993. package/dist/NetworkExtension/NWTCPConnectionAuthenticationDelegate.d.ts +2 -2
  994. package/dist/NetworkExtension/NWUDPSession.d.ts +4 -4
  995. package/dist/NetworkExtension/index.d.ts +1 -0
  996. package/dist/NetworkExtension/index.js +1 -0
  997. package/dist/NotificationCenter/NCWidgetProviding.d.ts +2 -2
  998. package/dist/PHASE/PHASEAssetError.d.ts +9 -0
  999. package/dist/PHASE/PHASEAssetError.js +9 -0
  1000. package/dist/PHASE/PHASEAssetRegistry.d.ts +1 -1
  1001. package/dist/PHASE/PHASEError.d.ts +5 -0
  1002. package/dist/PHASE/PHASEError.js +5 -0
  1003. package/dist/PHASE/PHASEPullStreamNode.d.ts +2 -2
  1004. package/dist/PHASE/PHASEPushStreamNode.d.ts +2 -3
  1005. package/dist/PHASE/PHASESoundEvent.d.ts +8 -5
  1006. package/dist/PHASE/PHASESoundEventError.d.ts +9 -0
  1007. package/dist/PHASE/PHASESoundEventError.js +9 -0
  1008. package/dist/PHASE/index.d.ts +3 -0
  1009. package/dist/PHASE/index.js +3 -0
  1010. package/dist/ParavirtualizedGraphics/PGDeviceDescriptor.d.ts +16 -16
  1011. package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +6 -6
  1012. package/dist/ParavirtualizedGraphics/PGDisplayDescriptor.d.ts +12 -11
  1013. package/dist/PassKit/PKAddIdentityDocumentConfiguration.d.ts +2 -2
  1014. package/dist/PassKit/PKAddSecureElementPassErrorCode.d.ts +11 -0
  1015. package/dist/PassKit/PKAddSecureElementPassErrorCode.js +11 -0
  1016. package/dist/PassKit/PKAddShareablePassConfiguration.d.ts +3 -3
  1017. package/dist/PassKit/PKDisbursementErrorCode.d.ts +6 -0
  1018. package/dist/PassKit/PKDisbursementErrorCode.js +6 -0
  1019. package/dist/PassKit/PKIdentityAuthorizationController.d.ts +4 -3
  1020. package/dist/PassKit/PKIdentityError.d.ts +12 -0
  1021. package/dist/PassKit/PKIdentityError.js +12 -0
  1022. package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +3 -3
  1023. package/dist/PassKit/PKIssuerProvisioningExtensionHandler.d.ts +6 -5
  1024. package/dist/PassKit/PKPassKitErrorCode.d.ts +8 -0
  1025. package/dist/PassKit/PKPassKitErrorCode.js +8 -0
  1026. package/dist/PassKit/PKPassLibrary.d.ts +13 -10
  1027. package/dist/PassKit/PKPaymentAuthorizationController.d.ts +2 -3
  1028. package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +18 -11
  1029. package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +18 -11
  1030. package/dist/PassKit/PKPaymentErrorCode.d.ts +9 -0
  1031. package/dist/PassKit/PKPaymentErrorCode.js +9 -0
  1032. package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +5 -4
  1033. package/dist/PassKit/PKShareSecureElementPassErrorCode.d.ts +5 -0
  1034. package/dist/PassKit/PKShareSecureElementPassErrorCode.js +5 -0
  1035. package/dist/PassKit/PKVehicleConnectionSession.d.ts +2 -1
  1036. package/dist/PassKit/index.d.ts +6 -0
  1037. package/dist/PassKit/index.js +6 -0
  1038. package/dist/PencilKit/PKStrokePath.d.ts +3 -3
  1039. package/dist/Photos/PHAsset.d.ts +3 -1
  1040. package/dist/Photos/PHAssetResourceManager.d.ts +4 -3
  1041. package/dist/Photos/PHAssetResourceRequestOptions.d.ts +2 -3
  1042. package/dist/Photos/PHContentEditingInputRequestOptions.d.ts +5 -4
  1043. package/dist/Photos/PHFetchResult.d.ts +3 -3
  1044. package/dist/Photos/PHFetchResultChangeDetails.d.ts +1 -2
  1045. package/dist/Photos/PHImageManager.d.ts +16 -7
  1046. package/dist/Photos/PHImageRequestOptions.d.ts +4 -2
  1047. package/dist/Photos/PHLivePhoto.d.ts +2 -2
  1048. package/dist/Photos/PHLivePhotoEditingContext.d.ts +7 -4
  1049. package/dist/Photos/PHLivePhotoRequestOptions.d.ts +4 -2
  1050. package/dist/Photos/PHPersistentChangeFetchResult.d.ts +2 -1
  1051. package/dist/Photos/PHPhotoLibrary.d.ts +4 -4
  1052. package/dist/Photos/PHPhotosError.d.ts +25 -0
  1053. package/dist/Photos/PHPhotosError.js +25 -0
  1054. package/dist/Photos/PHVideoRequestOptions.d.ts +4 -2
  1055. package/dist/Photos/index.d.ts +1 -0
  1056. package/dist/Photos/index.js +1 -0
  1057. package/dist/PhotosUI/PHContentEditingController.d.ts +2 -2
  1058. package/dist/PhotosUI/PHProjectExtensionContext.d.ts +1 -2
  1059. package/dist/PhotosUI/PHProjectExtensionController.d.ts +4 -4
  1060. package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -2
  1061. package/dist/QuartzCore/CATransaction.d.ts +2 -2
  1062. package/dist/QuickLookThumbnailing/QLThumbnailError.d.ts +9 -0
  1063. package/dist/QuickLookThumbnailing/QLThumbnailError.js +9 -0
  1064. package/dist/QuickLookThumbnailing/QLThumbnailGenerator.d.ts +7 -5
  1065. package/dist/QuickLookThumbnailing/QLThumbnailProvider.d.ts +3 -2
  1066. package/dist/QuickLookThumbnailing/QLThumbnailReply.d.ts +2 -2
  1067. package/dist/QuickLookThumbnailing/index.d.ts +1 -0
  1068. package/dist/QuickLookThumbnailing/index.js +1 -0
  1069. package/dist/QuickLookUI/QLPreviewReply.d.ts +5 -3
  1070. package/dist/QuickLookUI/QLPreviewingController.d.ts +5 -4
  1071. package/dist/ReplayKit/RPBroadcastActivityController.d.ts +2 -2
  1072. package/dist/ReplayKit/RPBroadcastController.d.ts +3 -3
  1073. package/dist/ReplayKit/RPScreenRecorder.d.ts +13 -10
  1074. package/dist/SafariServices/SFContentBlockerManager.d.ts +4 -3
  1075. package/dist/SafariServices/SFSafariApplication.d.ts +10 -7
  1076. package/dist/SafariServices/SFSafariExtension.d.ts +2 -2
  1077. package/dist/SafariServices/SFSafariExtensionHandling.d.ts +3 -4
  1078. package/dist/SafariServices/SFSafariExtensionManager.d.ts +3 -2
  1079. package/dist/SafariServices/SFSafariPage.d.ts +6 -4
  1080. package/dist/SafariServices/SFSafariTab.d.ts +7 -5
  1081. package/dist/SafariServices/SFSafariWindow.d.ts +7 -5
  1082. package/dist/SafetyKit/SACrashDetectionManager.d.ts +2 -2
  1083. package/dist/SafetyKit/SAEmergencyResponseManager.d.ts +2 -2
  1084. package/dist/SafetyKit/SAErrorCode.d.ts +7 -0
  1085. package/dist/SafetyKit/SAErrorCode.js +7 -0
  1086. package/dist/SafetyKit/index.d.ts +1 -0
  1087. package/dist/SafetyKit/index.js +1 -0
  1088. package/dist/SceneKit/SCNAction.d.ts +6 -6
  1089. package/dist/SceneKit/SCNActionable.d.ts +2 -3
  1090. package/dist/SceneKit/SCNAnimation.d.ts +5 -5
  1091. package/dist/SceneKit/SCNAnimationEvent.d.ts +2 -1
  1092. package/dist/SceneKit/SCNAudioPlayer.d.ts +4 -5
  1093. package/dist/SceneKit/SCNNode.d.ts +3 -3
  1094. package/dist/SceneKit/SCNParticleSystem.d.ts +2 -2
  1095. package/dist/SceneKit/SCNPhysicsField.d.ts +1 -2
  1096. package/dist/SceneKit/SCNProgram.d.ts +5 -2
  1097. package/dist/SceneKit/SCNScene.d.ts +2 -1
  1098. package/dist/SceneKit/SCNSceneRenderer.d.ts +3 -3
  1099. package/dist/SceneKit/SCNSceneSource.d.ts +4 -2
  1100. package/dist/SceneKit/SCNShadable.d.ts +4 -3
  1101. package/dist/SceneKit/SCNTechnique.d.ts +3 -1
  1102. package/dist/SceneKit/SCNTransaction.d.ts +2 -2
  1103. package/dist/SceneKit/SCNTransformConstraint.d.ts +7 -4
  1104. package/dist/ScreenCaptureKit/SCScreenshotManager.d.ts +7 -5
  1105. package/dist/ScreenCaptureKit/SCShareableContent.d.ts +6 -6
  1106. package/dist/ScreenCaptureKit/SCStream.d.ts +5 -4
  1107. package/dist/ScreenCaptureKit/SCStreamErrorCode.d.ts +24 -0
  1108. package/dist/ScreenCaptureKit/SCStreamErrorCode.js +24 -0
  1109. package/dist/ScreenCaptureKit/index.d.ts +1 -0
  1110. package/dist/ScreenCaptureKit/index.js +1 -0
  1111. package/dist/ScreenTime/STWebHistory.d.ts +4 -2
  1112. package/dist/SecurityUI/SFCertificatePresentation.d.ts +1 -1
  1113. package/dist/SensitiveContentAnalysis/SCSensitivityAnalyzer.d.ts +5 -4
  1114. package/dist/SensitiveContentAnalysis/SCVideoStreamAnalyzer.d.ts +3 -2
  1115. package/dist/SensorKit/SRErrorCode.d.ts +8 -0
  1116. package/dist/SensorKit/SRErrorCode.js +8 -0
  1117. package/dist/SensorKit/SRSensorReader.d.ts +2 -2
  1118. package/dist/SensorKit/index.d.ts +1 -0
  1119. package/dist/SensorKit/index.js +1 -0
  1120. package/dist/ServiceManagement/SMAppService.d.ts +2 -1
  1121. package/dist/SharedWithYou/SWCollaborationView.d.ts +1 -2
  1122. package/dist/SharedWithYou/SWHighlightCenter.d.ts +6 -3
  1123. package/dist/ShazamKit/SHErrorCode.d.ts +13 -0
  1124. package/dist/ShazamKit/SHErrorCode.js +13 -0
  1125. package/dist/ShazamKit/SHMediaItem.d.ts +2 -1
  1126. package/dist/ShazamKit/SHMediaLibrary.d.ts +2 -2
  1127. package/dist/ShazamKit/SHSignatureGenerator.d.ts +2 -1
  1128. package/dist/ShazamKit/index.d.ts +1 -0
  1129. package/dist/ShazamKit/index.js +1 -0
  1130. package/dist/Social/SLRequest.d.ts +3 -2
  1131. package/dist/SoundAnalysis/SNAudioFileAnalyzer.d.ts +1 -1
  1132. package/dist/SoundAnalysis/SNErrorCode.d.ts +8 -0
  1133. package/dist/SoundAnalysis/SNErrorCode.js +8 -0
  1134. package/dist/SoundAnalysis/index.d.ts +1 -0
  1135. package/dist/SoundAnalysis/index.js +1 -0
  1136. package/dist/Speech/SFSpeechErrorCode.d.ts +9 -0
  1137. package/dist/Speech/SFSpeechErrorCode.js +9 -0
  1138. package/dist/Speech/SFSpeechLanguageModel.d.ts +5 -5
  1139. package/dist/Speech/SFSpeechRecognizer.d.ts +4 -3
  1140. package/dist/Speech/index.d.ts +1 -0
  1141. package/dist/Speech/index.js +1 -0
  1142. package/dist/SpriteKit/SKAction.d.ts +5 -5
  1143. package/dist/SpriteKit/SKFieldNode.d.ts +1 -1
  1144. package/dist/SpriteKit/SKMutableTexture.d.ts +1 -1
  1145. package/dist/SpriteKit/SKNode.d.ts +2 -2
  1146. package/dist/SpriteKit/SKPhysicsWorld.d.ts +3 -3
  1147. package/dist/SpriteKit/SKTexture.d.ts +2 -2
  1148. package/dist/SpriteKit/SKTextureAtlas.d.ts +4 -4
  1149. package/dist/StoreKit/SKANError.d.ts +15 -0
  1150. package/dist/StoreKit/SKANError.js +15 -0
  1151. package/dist/StoreKit/SKAdNetwork.d.ts +6 -6
  1152. package/dist/StoreKit/SKArcadeService.d.ts +3 -3
  1153. package/dist/StoreKit/SKCloudServiceController.d.ts +8 -7
  1154. package/dist/StoreKit/SKCloudServiceSetupViewController.d.ts +2 -2
  1155. package/dist/StoreKit/SKDownload.d.ts +3 -3
  1156. package/dist/StoreKit/SKDownloadState.d.ts +9 -0
  1157. package/dist/StoreKit/SKDownloadState.js +9 -0
  1158. package/dist/StoreKit/SKOverlayTransitionContext.d.ts +1 -2
  1159. package/dist/StoreKit/SKProductStorePromotionController.d.ts +6 -5
  1160. package/dist/StoreKit/SKProductStorePromotionVisibility.d.ts +6 -0
  1161. package/dist/StoreKit/SKProductStorePromotionVisibility.js +6 -0
  1162. package/dist/StoreKit/SKStoreProductViewController.d.ts +3 -3
  1163. package/dist/StoreKit/index.d.ts +3 -0
  1164. package/dist/StoreKit/index.js +3 -0
  1165. package/dist/SystemExtensions/OSSystemExtensionErrorCode.d.ts +16 -0
  1166. package/dist/SystemExtensions/OSSystemExtensionErrorCode.js +16 -0
  1167. package/dist/SystemExtensions/index.d.ts +1 -0
  1168. package/dist/SystemExtensions/index.js +1 -0
  1169. package/dist/ThreadNetwork/THClient.d.ts +12 -10
  1170. package/dist/UserNotifications/UNNotificationServiceExtension.d.ts +2 -2
  1171. package/dist/UserNotifications/UNUserNotificationCenter.d.ts +9 -8
  1172. package/dist/UserNotifications/UNUserNotificationCenterDelegate.d.ts +3 -3
  1173. package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +2 -2
  1174. package/dist/VideoSubscriberAccount/VSAccountManager.d.ts +5 -3
  1175. package/dist/VideoSubscriberAccount/VSUserAccountManager.d.ts +7 -5
  1176. package/dist/VideoToolbox/VTFrameProcessor.d.ts +4 -2
  1177. package/dist/VideoToolbox/VTFrameProcessorError.d.ts +17 -0
  1178. package/dist/VideoToolbox/VTFrameProcessorError.js +17 -0
  1179. package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +2 -2
  1180. package/dist/VideoToolbox/functions.d.ts +10 -10
  1181. package/dist/VideoToolbox/functions.js +10 -10
  1182. package/dist/VideoToolbox/index.d.ts +1 -0
  1183. package/dist/VideoToolbox/index.js +1 -0
  1184. package/dist/Virtualization/VZErrorCode.d.ts +28 -0
  1185. package/dist/Virtualization/VZErrorCode.js +28 -0
  1186. package/dist/Virtualization/VZLinuxRosettaDirectoryShare.d.ts +2 -1
  1187. package/dist/Virtualization/VZMacOSInstaller.d.ts +2 -2
  1188. package/dist/Virtualization/VZMacOSRestoreImage.d.ts +3 -3
  1189. package/dist/Virtualization/VZUSBController.d.ts +3 -3
  1190. package/dist/Virtualization/VZVirtioSocketDevice.d.ts +3 -2
  1191. package/dist/Virtualization/VZVirtualMachine.d.ts +8 -7
  1192. package/dist/Virtualization/index.d.ts +1 -0
  1193. package/dist/Virtualization/index.js +1 -0
  1194. package/dist/Vision/VNBarcodeCompositeType.d.ts +8 -0
  1195. package/dist/Vision/VNBarcodeCompositeType.js +8 -0
  1196. package/dist/Vision/VNBarcodeObservation.d.ts +2 -2
  1197. package/dist/Vision/VNChirality.d.ts +6 -0
  1198. package/dist/Vision/VNChirality.js +6 -0
  1199. package/dist/Vision/VNCoreMLRequest.d.ts +3 -2
  1200. package/dist/Vision/VNDetectHumanBodyPose3DRequest.d.ts +3 -1
  1201. package/dist/Vision/VNDetectTrajectoriesRequest.d.ts +3 -2
  1202. package/dist/Vision/VNFaceLandmarkRegion2D.d.ts +2 -1
  1203. package/dist/Vision/VNGeneratePersonSegmentationRequest.d.ts +3 -1
  1204. package/dist/Vision/VNHumanHandPoseObservation.d.ts +2 -1
  1205. package/dist/Vision/VNPointsClassification.d.ts +6 -0
  1206. package/dist/Vision/VNPointsClassification.js +6 -0
  1207. package/dist/Vision/VNRequest.d.ts +3 -2
  1208. package/dist/Vision/VNRequestProgressProviding.d.ts +4 -3
  1209. package/dist/Vision/VNStatefulRequest.d.ts +3 -2
  1210. package/dist/Vision/VNTargetedImageRequest.d.ts +14 -12
  1211. package/dist/Vision/VNTrackHomographicImageRegistrationRequest.d.ts +3 -2
  1212. package/dist/Vision/VNTrackObjectRequest.d.ts +3 -2
  1213. package/dist/Vision/VNTrackOpticalFlowRequest.d.ts +3 -2
  1214. package/dist/Vision/VNTrackRectangleRequest.d.ts +3 -2
  1215. package/dist/Vision/VNTrackTranslationalImageRegistrationRequest.d.ts +3 -2
  1216. package/dist/Vision/index.d.ts +3 -0
  1217. package/dist/Vision/index.js +3 -0
  1218. package/dist/WebKit/WKContentRuleListStore.d.ts +7 -5
  1219. package/dist/WebKit/WKDownload.d.ts +2 -1
  1220. package/dist/WebKit/WKDownloadDelegate.d.ts +9 -5
  1221. package/dist/WebKit/WKHTTPCookieStore.d.ts +6 -6
  1222. package/dist/WebKit/WKNavigationDelegate.d.ts +10 -6
  1223. package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +2 -1
  1224. package/dist/WebKit/WKUIDelegate.d.ts +8 -6
  1225. package/dist/WebKit/WKWebExtension.d.ts +3 -3
  1226. package/dist/WebKit/WKWebExtensionContext.d.ts +2 -2
  1227. package/dist/WebKit/WKWebExtensionContextError.d.ts +9 -0
  1228. package/dist/WebKit/WKWebExtensionContextError.js +9 -0
  1229. package/dist/WebKit/WKWebExtensionController.d.ts +4 -3
  1230. package/dist/WebKit/WKWebExtensionControllerDelegate.d.ts +11 -9
  1231. package/dist/WebKit/WKWebExtensionDataRecordError.d.ts +7 -0
  1232. package/dist/WebKit/WKWebExtensionDataRecordError.js +7 -0
  1233. package/dist/WebKit/WKWebExtensionError.d.ts +12 -0
  1234. package/dist/WebKit/WKWebExtensionError.js +12 -0
  1235. package/dist/WebKit/WKWebExtensionMatchPatternError.d.ts +7 -0
  1236. package/dist/WebKit/WKWebExtensionMatchPatternError.js +7 -0
  1237. package/dist/WebKit/WKWebExtensionMessagePort.d.ts +5 -5
  1238. package/dist/WebKit/WKWebExtensionMessagePortError.d.ts +6 -0
  1239. package/dist/WebKit/WKWebExtensionMessagePortError.js +6 -0
  1240. package/dist/WebKit/WKWebExtensionTab.d.ts +18 -16
  1241. package/dist/WebKit/WKWebExtensionWindow.d.ts +5 -5
  1242. package/dist/WebKit/WKWebView.d.ts +26 -21
  1243. package/dist/WebKit/WKWebsiteDataStore.d.ts +8 -7
  1244. package/dist/WebKit/index.d.ts +5 -0
  1245. package/dist/WebKit/index.js +5 -0
  1246. package/dist/bind.js +4 -0
  1247. package/dist/helpers.d.ts +26 -0
  1248. package/dist/helpers.js +44 -0
  1249. package/dist/iTunesLibrary/ITLibMediaEntity.d.ts +2 -2
  1250. package/generator/ast-parser.ts +371 -5
  1251. package/generator/custom.ts +6 -0
  1252. package/generator/discover.ts +39 -2
  1253. package/generator/emitter.ts +41 -33
  1254. package/generator/index.ts +1 -1
  1255. package/generator/parse-worker.ts +28 -0
  1256. package/generator/templates/bind.ts +4 -0
  1257. package/generator/templates/helpers.ts +53 -0
  1258. package/generator/type-mapper.ts +276 -15
  1259. package/package.json +2 -2
@@ -9,11 +9,11 @@ export declare class _AVAudioApplication extends _NSObject {
9
9
  /**
10
10
  * @brief Checks to see if calling process has permission to record audio. The 'response' block will be called immediately if permission has already been granted or denied. Otherwise, it presents a dialog to notify the user and allow them to choose, and calls the block once the UI has been dismissed. 'granted' indicates whether permission has been granted. Note that the block may be called in a different thread context.
11
11
  */
12
- static requestRecordPermissionWithCompletionHandler$(response: NobjcObject): void;
12
+ static requestRecordPermissionWithCompletionHandler$(response: (granted: boolean) => void): void;
13
13
  /**
14
14
  * @brief Checks to see if calling process has permission to inject audio to input stream. The 'response' block will be called immediately if permission has already been granted or denied or if the service is disabled by the user. Otherwise, it presents a dialog to notify the user and allow them to choose, and calls the block once the UI has been dismissed. 'granted' indicates whether permission has been granted. Note that the block may be called in a different thread context.
15
15
  */
16
- static requestMicrophoneInjectionPermissionWithCompletionHandler$(response: NobjcObject): void;
16
+ static requestMicrophoneInjectionPermissionWithCompletionHandler$(response: (permission: AVAudioApplicationMicrophoneInjectionPermission) => void): void;
17
17
  /** Returns the singleton instance */
18
18
  static sharedInstance(): _AVAudioApplication;
19
19
  /**
@@ -23,7 +23,7 @@ export declare class _AVAudioApplication extends _NSObject {
23
23
  /**
24
24
  * @brief Provide a block that implements your app's input (microphone) muting logic (macOS only). The block will be called whenever the input mute state changes, either due to changing the `AVAudioApplication.inputMute` property on this API, or due to a Bluetooth audio accessory gesture (certain AirPods / Beats headphones) changing the mute state. @param inputMuteHandler block that will be called upon every input mute state change. If the boolean `inputShouldBeMuted` is true, your block should mute all input/microphone samples until the next time the handler is called. Your block should return a value of YES if successful, or in exceptional cases return a NO value if the mute action was unsuccesful. Since the input mute handling logic should happen a single place, subsequent calls to this method will overwrite any previously registered block with the one provided. A nil value may be provided to cancel the block being called, e.g. at end of call lifecycle. @note This is available on macOS only - for all other platforms input muting will be handled internally. It is recommended only to perform your input muting logic within this block, and to perform your UI updates for input mute state changes within the handler for AVAudioApplicationInputMuteStateChangeNotification. This handler should be set by the process doing the call's audio I/O.
25
25
  */
26
- setInputMuteStateChangeHandler$error$(inputMuteHandler: NobjcObject | null, outError: NobjcObject | null): boolean;
26
+ setInputMuteStateChangeHandler$error$(inputMuteHandler: ((inputShouldBeMuted: boolean) => boolean) | null, outError: NobjcObject | null): boolean;
27
27
  /**
28
28
  * Get the input muted state - return value is boolean 0 for unmuted or value 1 for muted (input samples zeroed out)
29
29
  */
@@ -30,7 +30,7 @@ export declare class _AVAudioConverter extends _NSObject {
30
30
  /**
31
31
  * @method convertToBuffer:error:withInputFromBlock: @abstract Perform any supported conversion. @param inputBlock A block which will be called to get input data as needed. See description for AVAudioConverterInputBlock. @param outputBuffer The output buffer. @param outError An error if the conversion fails. @return An AVAudioConverterOutputStatus is returned. @discussion It attempts to fill the buffer to its capacity. On return, the buffer's length indicates the number of sample frames successfully converted.
32
32
  */
33
- convertToBuffer$error$withInputFromBlock$(outputBuffer: _AVAudioBuffer, outError: NobjcObject | null, inputBlock: NobjcObject): AVAudioConverterOutputStatus;
33
+ convertToBuffer$error$withInputFromBlock$(outputBuffer: _AVAudioBuffer, outError: NobjcObject | null, inputBlock: (arg0: number, arg1: NobjcObject) => _AVAudioBuffer): AVAudioConverterOutputStatus;
34
34
  /**
35
35
  * @property inputFormat @abstract The format of the input audio stream. (NB. AVAudioFormat includes the channel layout)
36
36
  */
@@ -98,20 +98,20 @@ export declare class _AVAudioEngine extends _NSObject {
98
98
  * Establish a MIDI only connection between two nodes. The source node. The destination node. If non-nil, the format of the source node's output bus is set to this format. In all cases, the format of the source nodes' output bus has to match with the destination nodes' output bus format. Although the output bus of the source is not in use, the format needs to be set in order to be able to use the sample rate for MIDI event timing calculations. If non-nil, this block is called from the source node's `AUMIDIOutputEventBlock` on the realtime thread. The host can tap the MIDI data of the source node through this block. May be nil. Use this method to establish a MIDI only connection between a source node and a destination node that has MIDI input capability. The source node can only be a AVAudioUnit node of type `kAudioUnitType_MIDIProcessor`. The destination node types can be `kAudioUnitType_MusicDevice`, `kAudioUnitType_MusicEffect` or `kAudioUnitType_MIDIProcessor`. Note that any pre-existing MIDI connection involving the destination will be broken. Any client installed block on the source node's audio unit `AUMIDIOutputEventBlock` will be overwritten when making the MIDI connection.
99
99
  * @deprecated connectMIDI:to:format:eventListBlock:
100
100
  */
101
- connectMIDI$to$format$block$(sourceNode: _AVAudioNode, destinationNode: _AVAudioNode, format: _AVAudioFormat | null, tapBlock: NobjcObject | null): void;
101
+ connectMIDI$to$format$block$(sourceNode: _AVAudioNode, destinationNode: _AVAudioNode, format: _AVAudioFormat | null, tapBlock: ((arg0: number, arg1: number, arg2: number, arg3: NobjcObject) => number) | null): void;
102
102
  /**
103
103
  * Establish a MIDI only connection between two nodes. The source node. The destination node. If non-nil, the format of the source node's output bus is set to this format. In all cases, the format of the source nodes' output bus has to match with the destination nodes' output bus format. Although the output bus of the source is not in use, the format needs to be set in order to be able to use the sample rate for MIDI event timing calculations. This block is called from the source node's `AUMIDIOutputEventListBlock` on the realtime thread. The host can tap the MIDI data of the source node through this block. Use this method to establish a MIDI only connection between a source node and a destination node that has MIDI input capability. The source node can only be a AVAudioUnit node of type `kAudioUnitType_MIDIProcessor`. The destination node types can be `kAudioUnitType_MusicDevice`, `kAudioUnitType_MusicEffect` or `kAudioUnitType_MIDIProcessor`. Note that any pre-existing MIDI connection involving the destination will be broken. Any client installed block on the source node's audio unit `AUMIDIOutputEventListBlock` will be overwritten when making the MIDI connection.
104
104
  */
105
- connectMIDI$to$format$eventListBlock$(sourceNode: _AVAudioNode, destinationNode: _AVAudioNode, format: _AVAudioFormat | null, tapBlock: NobjcObject | null): void;
105
+ connectMIDI$to$format$eventListBlock$(sourceNode: _AVAudioNode, destinationNode: _AVAudioNode, format: _AVAudioFormat | null, tapBlock: ((arg0: number, arg1: number, arg2: NobjcObject) => number) | null): void;
106
106
  /**
107
107
  * Establish a MIDI only connection between a source node and multiple destination nodes. The source node. An array of AVAudioNodes specifying destination nodes. If non-nil, the format of the source node's output bus is set to this format. In all cases, the format of the source nodes' output bus has to match with the destination nodes' output bus format. Although the output bus of the source is not in use, the format needs to be set in order to be able to use the sample rate for MIDI event timing calculations. If non-nil, this block is called from the source node's `AUMIDIOutputEventBlock` on the realtime thread. The host can tap the MIDI data of the source node through this block. May be nil. Use this method to establish a MIDI only connection between a source node and multiple destination nodes. The source node can only be a AVAudioUnit node of type `kAudioUnitType_MIDIProcessor`. The destination node types can be `kAudioUnitType_MusicDevice`, `kAudioUnitType_MusicEffect` or `kAudioUnitType_MIDIProcessor`. MIDI connections made using this method are either one-to-one (when a single destination connection is specified) or one-to-many (when multiple connections are specified), but never many-to-one. Note that any pre-existing connection involving the destination will be broken. Any client installed block on the source node's audio unit `AUMIDIOutputEventBlock` will be overwritten when making the MIDI connection.
108
108
  * @deprecated connectMIDI:toNodes:format:eventListBlock:
109
109
  */
110
- connectMIDI$toNodes$format$block$(sourceNode: _AVAudioNode, destinationNodes: _NSArray, format: _AVAudioFormat | null, tapBlock: NobjcObject | null): void;
110
+ connectMIDI$toNodes$format$block$(sourceNode: _AVAudioNode, destinationNodes: _NSArray, format: _AVAudioFormat | null, tapBlock: ((arg0: number, arg1: number, arg2: number, arg3: NobjcObject) => number) | null): void;
111
111
  /**
112
112
  * Establish a MIDI only connection between a source node and multiple destination nodes. The source node. An array of AVAudioNodes specifying destination nodes. If non-nil, the format of the source node's output bus is set to this format. In all cases, the format of the source nodes' output bus has to match with the destination nodes' output bus format. Although the output bus of the source is not in use, the format needs to be set in order to be able to use the sample rate for MIDI event timing calculations. This block is called from the source node's `AUMIDIOutputEventListBlock` on the realtime thread. The host can tap the MIDI data of the source node through this block. Use this method to establish a MIDI only connection between a source node and multiple destination nodes. The source node can only be a AVAudioUnit node of type `kAudioUnitType_MIDIProcessor`. The destination node types can be `kAudioUnitType_MusicDevice`, `kAudioUnitType_MusicEffect` or `kAudioUnitType_MIDIProcessor`. MIDI connections made using this method are either one-to-one (when a single destination connection is specified) or one-to-many (when multiple connections are specified), but never many-to-one. Note that any pre-existing connection involving the destination will be broken. Any client installed block on the source node's audio unit `AUMIDIOutputEventListBlock` will be overwritten when making the MIDI connection.
113
113
  */
114
- connectMIDI$toNodes$format$eventListBlock$(sourceNode: _AVAudioNode, destinationNodes: _NSArray, format: _AVAudioFormat | null, tapBlock: NobjcObject | null): void;
114
+ connectMIDI$toNodes$format$eventListBlock$(sourceNode: _AVAudioNode, destinationNodes: _NSArray, format: _AVAudioFormat | null, tapBlock: ((arg0: number, arg1: number, arg2: NobjcObject) => number) | null): void;
115
115
  /**
116
116
  * Remove a MIDI connection between two nodes. The node whose MIDI output is to be disconnected. The node whose MIDI input is to be disconnected. If a tap block is installed on the source node, it will be removed when the last connection from the source node is removed.
117
117
  */
@@ -155,7 +155,7 @@ export declare class _AVAudioEngine extends _NSObject {
155
155
  /**
156
156
  * Block to render the engine operating in manual rendering mode This block based render call must be used to render the engine when operating in `AVAudioEngineManualRenderingModeRealtime`. In this mode, the engine operates under realtime constraints and will not make any blocking call (e.g. calling libdispatch, blocking on a mutex, allocating memory etc.) while rendering. Before invoking the rendering functionality, client must fetch this block and cache the result. The block can then be called from a realtime context, without any possibility of blocking. When rendering in `AVAudioEngineManualRenderingModeOffline`, either this block based render call or `renderOffline:toBuffer:error:` ObjC method can be used. All the rules outlined in `renderOffline:toBuffer:error:` are applicable here as well.
157
157
  */
158
- manualRenderingBlock(): NobjcObject;
158
+ manualRenderingBlock(): (arg0: number, arg1: NobjcObject, arg2: NobjcObject) => AVAudioEngineManualRenderingStatus;
159
159
  /**
160
160
  * Whether or not the engine is operating in manual rendering mode, i.e. not connected to an audio device and rendering in response to the requests from the client
161
161
  */
@@ -3,6 +3,7 @@ import type { _AVAudioFormat } from "./AVAudioFormat.js";
3
3
  import type { _AVAudioIONode } from "./AVAudioIONode.js";
4
4
  import type { _AVAudioMixing } from "./AVAudioMixing.js";
5
5
  import type { AVAudioVoiceProcessingOtherAudioDuckingConfiguration } from "../structs/AVAudioVoiceProcessingOtherAudioDuckingConfiguration.js";
6
+ import type { AVAudioVoiceProcessingSpeechActivityEvent } from "./AVAudioVoiceProcessingSpeechActivityEvent.js";
6
7
  export declare class _AVAudioInputNode extends _AVAudioIONode {
7
8
  static alloc(): _AVAudioInputNode;
8
9
  static new(): _AVAudioInputNode;
@@ -10,11 +11,11 @@ export declare class _AVAudioInputNode extends _AVAudioIONode {
10
11
  /**
11
12
  * @method setManualRenderingInputPCMFormat:inputBlock: @abstract Supply the data through the input node to the engine operating in the manual rendering mode. @param format The format of the PCM audio data the block will supply to the engine @param block The block the engine will call on the input node to get the audio to send to the output, when operating in the manual rendering mode. See `AVAudioIONodeInputBlock` for more details @return YES for success @discussion This block must be set if the input node is being used when the engine is operating in manual rendering mode. Switching the engine to render to/from an audio device invalidates any previously set block, and makes this method ineffective.
12
13
  */
13
- setManualRenderingInputPCMFormat$inputBlock$(format: _AVAudioFormat, block: NobjcObject): boolean;
14
+ setManualRenderingInputPCMFormat$inputBlock$(format: _AVAudioFormat, block: (arg0: number) => NobjcObject): boolean;
14
15
  /**
15
16
  * @method setMutedSpeechActivityEventListener @abstract Register a listener to be notified when speech activity event occurs while the input is muted. @param listenerBlock The block the engine will call when speech activity event occurs while the input is muted. Passing nil will remove an already set block. @return YES for success @discussion Continuous presence of or lack of speech activity during mute will not cause redundant notification. In order to use this API, it's expected to implement the mute via the voiceProcessingInputMuted.
16
17
  */
17
- setMutedSpeechActivityEventListener$(listenerBlock: NobjcObject | null): boolean;
18
+ setMutedSpeechActivityEventListener$(listenerBlock: ((event: AVAudioVoiceProcessingSpeechActivityEvent) => void) | null): boolean;
18
19
  /**
19
20
  * @property voiceProcessingBypassed @abstract Bypass all processing for microphone uplink done by the voice processing unit. @discussion Querying this property when voice processing is disabled will return false.
20
21
  */
@@ -1,8 +1,8 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSObject } from "../Foundation/NSObject.js";
3
2
  import type { _NSString } from "../Foundation/NSString.js";
4
3
  import type { _AVAudioEngine } from "./AVAudioEngine.js";
5
4
  import type { _AVAudioFormat } from "./AVAudioFormat.js";
5
+ import type { _AVAudioPCMBuffer } from "./AVAudioPCMBuffer.js";
6
6
  import type { _AVAudioTime } from "./AVAudioTime.js";
7
7
  import type { _AUAudioUnit } from "../AudioToolbox/AUAudioUnit.js";
8
8
  export declare class _AVAudioNode extends _NSObject {
@@ -22,7 +22,7 @@ export declare class _AVAudioNode extends _NSObject {
22
22
  /**
23
23
  * @method installTapOnBus:bufferSize:format:block: @abstract Create a "tap" to record/monitor/observe the output of the node. @param bus the node output bus to which to attach the tap @param bufferSize the requested size of the incoming buffers in sample frames. Supported range is [100, 400] ms. @param format If non-nil, attempts to apply this as the format of the specified output bus. This should only be done when attaching to an output bus which is not connected to another node; an error will result otherwise. The tap and connection formats (if non-nil) on the specified bus should be identical. Otherwise, the latter operation will override any previously set format. @param tapBlock a block to be called with audio buffers @discussion Only one tap may be installed on any bus. Taps may be safely installed and removed while the engine is running. Note that if you have a tap installed on AVAudioOutputNode, there could be a mismatch between the tap buffer format and AVAudioOutputNode's output format, depending on the underlying physical device. Hence, instead of tapping the AVAudioOutputNode, it is advised to tap the node connected to it. E.g. to capture audio from input node: <pre> AVAudioEngine *engine = [[AVAudioEngine alloc] init]; AVAudioInputNode *input = [engine inputNode]; AVAudioFormat *format = [input outputFormatForBus: 0]; [input installTapOnBus: 0 bufferSize: 8192 format: format block: ^(AVAudioPCMBuffer *buf, AVAudioTime *when) { // ‘buf' contains audio captured from input node at time 'when' }]; .... // start engine </pre>
24
24
  */
25
- installTapOnBus$bufferSize$format$block$(bus: number, bufferSize: number, format: _AVAudioFormat | null, tapBlock: NobjcObject): void;
25
+ installTapOnBus$bufferSize$format$block$(bus: number, bufferSize: number, format: _AVAudioFormat | null, tapBlock: (arg0: _AVAudioPCMBuffer, arg1: _AVAudioTime) => void): void;
26
26
  /**
27
27
  * @method removeTapOnBus: @abstract Destroy a tap. @param bus the node output bus whose tap is to be destroyed
28
28
  */
@@ -12,7 +12,7 @@ export declare class _AVAudioPCMBuffer extends _AVAudioBuffer {
12
12
  /**
13
13
  * @method initWithPCMFormat:bufferListNoCopy:deallocator: @abstract Initialize a buffer that is to contain PCM audio samples with a given AudioBufferList without copying samples and a custom deallocator block. @param format The format of the PCM audio to be contained in the buffer. @param bufferList The buffer list with allocated memory to contain the PCM audio data. @param deallocator A block to invoke when the resulting AVAudioPCMBuffer object is deallocated. @discussion An exception is raised if the format is not PCM. Returns nil in the following cases: - if the format has zero bytes per frame (format.streamDescription->mBytesPerFrame == 0) - if supplied buffer has zero number of buffers - if each buffer's data byte size are not equal or if any of the buffers' data byte size is zero - if there is a mismatch between the format's number of buffers and the AudioBufferList's size (1 if interleaved, mChannelsPerFrame if deinterleaved) - if the AudioBufferList's pointer to the buffer of audio data is null. Use the deallocator block to define your own deallocation behavior for the provided AudioBufferList's underlying memory. The AudioBufferList passed to the deallocator is identical to the one which was passed to the initializer, in terms of the buffer count, and each buffer's mData and mDataByteSize members.
14
14
  */
15
- initWithPCMFormat$bufferListNoCopy$deallocator$(format: _AVAudioFormat, bufferList: NobjcObject, deallocator: NobjcObject | null): _AVAudioPCMBuffer | null;
15
+ initWithPCMFormat$bufferListNoCopy$deallocator$(format: _AVAudioFormat, bufferList: NobjcObject, deallocator: ((arg0: NobjcObject) => void) | null): _AVAudioPCMBuffer | null;
16
16
  /**
17
17
  * @property frameCapacity @abstract The buffer's capacity, in audio sample frames.
18
18
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AVAudioFile } from "./AVAudioFile.js";
3
2
  import type { _AVAudioMixing } from "./AVAudioMixing.js";
4
3
  import type { _AVAudioNode } from "./AVAudioNode.js";
@@ -13,35 +12,35 @@ export declare class _AVAudioPlayerNode extends _AVAudioNode {
13
12
  /**
14
13
  * @method scheduleBuffer:completionHandler: @abstract Schedule playing samples from an AVAudioBuffer. @param buffer the buffer to play @param completionHandler called after the buffer has been consumed by the player or the player is stopped. may be nil. @discussion Schedules the buffer to be played following any previously scheduled commands. It is possible for the completionHandler to be called before rendering begins or before the buffer is played completely.
15
14
  */
16
- scheduleBuffer$completionHandler$(buffer: _AVAudioPCMBuffer, completionHandler: NobjcObject | null): void;
15
+ scheduleBuffer$completionHandler$(buffer: _AVAudioPCMBuffer, completionHandler: (() => void) | null): void;
17
16
  /**
18
17
  * @method scheduleBuffer:completionCallbackType:completionHandler: @abstract Schedule playing samples from an AVAudioBuffer. @param buffer the buffer to play @param callbackType option to specify when the completion handler must be called @param completionHandler called after the buffer has been consumed by the player or has finished playing back or the player is stopped. may be nil. @discussion Schedules the buffer to be played following any previously scheduled commands.
19
18
  */
20
- scheduleBuffer$completionCallbackType$completionHandler$(buffer: _AVAudioPCMBuffer, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: NobjcObject | null): void;
19
+ scheduleBuffer$completionCallbackType$completionHandler$(buffer: _AVAudioPCMBuffer, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: ((arg0: AVAudioPlayerNodeCompletionCallbackType) => void) | null): void;
21
20
  /**
22
21
  * @method scheduleBuffer:atTime:options:completionHandler: @abstract Schedule playing samples from an AVAudioBuffer. @param buffer the buffer to play @param when the time at which to play the buffer. see the discussion of timestamps, above. @param options options for looping, interrupting other buffers, etc. @param completionHandler called after the buffer has been consumed by the player or the player is stopped. may be nil. @discussion It is possible for the completionHandler to be called before rendering begins or before the buffer is played completely.
23
22
  */
24
- scheduleBuffer$atTime$options$completionHandler$(buffer: _AVAudioPCMBuffer, when: _AVAudioTime | null, options: AVAudioPlayerNodeBufferOptions, completionHandler: NobjcObject | null): void;
23
+ scheduleBuffer$atTime$options$completionHandler$(buffer: _AVAudioPCMBuffer, when: _AVAudioTime | null, options: AVAudioPlayerNodeBufferOptions, completionHandler: (() => void) | null): void;
25
24
  /**
26
25
  * @method scheduleBuffer:atTime:options:completionCallbackType:completionHandler: @abstract Schedule playing samples from an AVAudioBuffer. @param buffer the buffer to play @param when the time at which to play the buffer. see the discussion of timestamps, above. @param options options for looping, interrupting other buffers, etc. @param callbackType option to specify when the completion handler must be called @param completionHandler called after the buffer has been consumed by the player or has finished playing back or the player is stopped. may be nil.
27
26
  */
28
- scheduleBuffer$atTime$options$completionCallbackType$completionHandler$(buffer: _AVAudioPCMBuffer, when: _AVAudioTime | null, options: AVAudioPlayerNodeBufferOptions, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: NobjcObject | null): void;
27
+ scheduleBuffer$atTime$options$completionCallbackType$completionHandler$(buffer: _AVAudioPCMBuffer, when: _AVAudioTime | null, options: AVAudioPlayerNodeBufferOptions, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: ((arg0: AVAudioPlayerNodeCompletionCallbackType) => void) | null): void;
29
28
  /**
30
29
  * @method scheduleFile:atTime:completionHandler: @abstract Schedule playing of an entire audio file. @param file the file to play @param when the time at which to play the file. see the discussion of timestamps, above. @param completionHandler called after the file has been consumed by the player or the player is stopped. may be nil. @discussion It is possible for the completionHandler to be called before rendering begins or before the file is played completely.
31
30
  */
32
- scheduleFile$atTime$completionHandler$(file: _AVAudioFile, when: _AVAudioTime | null, completionHandler: NobjcObject | null): void;
31
+ scheduleFile$atTime$completionHandler$(file: _AVAudioFile, when: _AVAudioTime | null, completionHandler: (() => void) | null): void;
33
32
  /**
34
33
  * @method scheduleFile:atTime:completionCallbackType:completionHandler: @abstract Schedule playing of an entire audio file. @param file the file to play @param when the time at which to play the file. see the discussion of timestamps, above. @param callbackType option to specify when the completion handler must be called @param completionHandler called after the file has been consumed by the player or has finished playing back or the player is stopped. may be nil.
35
34
  */
36
- scheduleFile$atTime$completionCallbackType$completionHandler$(file: _AVAudioFile, when: _AVAudioTime | null, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: NobjcObject | null): void;
35
+ scheduleFile$atTime$completionCallbackType$completionHandler$(file: _AVAudioFile, when: _AVAudioTime | null, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: ((arg0: AVAudioPlayerNodeCompletionCallbackType) => void) | null): void;
37
36
  /**
38
37
  * @method scheduleSegment:startingFrame:frameCount:atTime:completionHandler: @abstract Schedule playing a segment of an audio file. @param file the file to play @param startFrame the starting frame position in the stream @param numberFrames the number of frames to play @param when the time at which to play the region. see the discussion of timestamps, above. @param completionHandler called after the segment has been consumed by the player or the player is stopped. may be nil. @discussion It is possible for the completionHandler to be called before rendering begins or before the segment is played completely.
39
38
  */
40
- scheduleSegment$startingFrame$frameCount$atTime$completionHandler$(file: _AVAudioFile, startFrame: number, numberFrames: number, when: _AVAudioTime | null, completionHandler: NobjcObject | null): void;
39
+ scheduleSegment$startingFrame$frameCount$atTime$completionHandler$(file: _AVAudioFile, startFrame: number, numberFrames: number, when: _AVAudioTime | null, completionHandler: (() => void) | null): void;
41
40
  /**
42
41
  * @method scheduleSegment:startingFrame:frameCount:atTime:completionCallbackType:completionHandler: @abstract Schedule playing a segment of an audio file. @param file the file to play @param startFrame the starting frame position in the stream @param numberFrames the number of frames to play @param when the time at which to play the region. see the discussion of timestamps, above. @param callbackType option to specify when the completion handler must be called @param completionHandler called after the segment has been consumed by the player or has finished playing back or the player is stopped. may be nil.
43
42
  */
44
- scheduleSegment$startingFrame$frameCount$atTime$completionCallbackType$completionHandler$(file: _AVAudioFile, startFrame: number, numberFrames: number, when: _AVAudioTime | null, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: NobjcObject | null): void;
43
+ scheduleSegment$startingFrame$frameCount$atTime$completionCallbackType$completionHandler$(file: _AVAudioFile, startFrame: number, numberFrames: number, when: _AVAudioTime | null, callbackType: AVAudioPlayerNodeCompletionCallbackType, completionHandler: ((arg0: AVAudioPlayerNodeCompletionCallbackType) => void) | null): void;
45
44
  /**
46
45
  * @method stop @abstract Clear all of the node's previously scheduled events and stop playback. @discussion All of the node's previously scheduled events are cleared, including any that are in the middle of playing. The node's sample time (and therefore the times to which new events are to be scheduled) is reset to 0, and will not proceed until the node is started again (via play or playAtTime). Note that pausing or stopping all the players connected to an engine does not pause or stop the engine or the underlying hardware. The engine must be explicitly paused or stopped for the hardware to stop.
47
46
  */
@@ -1,4 +1,4 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSError } from "../Foundation/NSError.js";
2
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
3
  import type { AVAudioRoutingArbitrationCategory } from "./AVAudioRoutingArbitrationCategory.js";
4
4
  export declare class _AVAudioRoutingArbiter extends _NSObject {
@@ -12,7 +12,7 @@ export declare class _AVAudioRoutingArbiter extends _NSObject {
12
12
  /**
13
13
  * @method beginArbitrationWithCategory:completionHandler: @abstract Begin routing arbitration to take ownership of nearby Bluetooth audio routes. @discussion When an app wants to participate in automatic audio arbitration for the wireless headphones route, it has to begin arbitration specifying its arbitration session category. It provides the operating system time to arbitrate with other nearby Apple devices to obtain ownership of supported Bluetooth audio devices. Then upon completion of arbitration, the operating system will automatically determine whether to route audio to the nearby Bluetooth device. Once arbitration completes, the application is free to start running audio I/O. I/O will be started upon the app request even if the -beginArbitrationWithCategory:completionHandler: fails. This method should also be used whenever restarting audio I/O in order to allow the system to arbitrate for ownership of a Bluetooth device that may have been taken by another nearby Apple device during the time that I/O was stopped. @param category The category describes the general type of audio that the app plans to use. @param handler A client-supplied block called asynchronously when audio routing arbitration is completed. This completion handler takes the following parameters: defaultDeviceChanged Indicating that the system default audio device has been changed as a result of the arbitration operation. error An error object that indicates why the request failed, or nil if the request was successful.
14
14
  */
15
- beginArbitrationWithCategory$completionHandler$(category: AVAudioRoutingArbitrationCategory, handler: NobjcObject | null): void;
15
+ beginArbitrationWithCategory$completionHandler$(category: AVAudioRoutingArbitrationCategory, handler: ((defaultDeviceChanged: boolean, error: _NSError) => void) | null): void;
16
16
  /**
17
17
  * @method leaveArbitration @abstract Stop participating in audio routing arbitration. @discussion When an application has stopped using audio for the foreseeable future, it should notify the system. For example, in Voice over IP (VoIP) use cases, the application should call -leaveArbitration when the VoIP call has ended. This allows the system to make a better decision when other participating Apple devices would like to take ownership of a nearby Bluetooth device. Applications should not call this API in cases where audio is only momentarily paused.
18
18
  */
@@ -49,7 +49,7 @@ export declare class _AVAudioSequencer extends _NSObject {
49
49
  /**
50
50
  * Add a block which will be called each time the AVAudioSequencer encounters an AVMusicUserEvent during playback. The same callback is called for events which occur on any track in the sequencer. Set the block to nil to disable it.
51
51
  */
52
- setUserCallback$(userCallback: NobjcObject | null): void;
52
+ setUserCallback$(userCallback: ((arg0: _AVMusicTrack, arg1: _NSData, arg2: number) => void) | null): void;
53
53
  /**
54
54
  * Returns the host time that will be (or was) played at the specified beat. This call is only valid if the player is playing and will return 0 with an error if the player is not playing or if the starting position of the player (its "starting beat") was after the specified beat. The method uses the sequence's tempo map to translate a beat time from the starting time and beat of the player.
55
55
  */
@@ -1,5 +1,6 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
+ import type { _NSError } from "../Foundation/NSError.js";
3
4
  import type { _NSObject } from "../Foundation/NSObject.js";
4
5
  import type { _AVAudioSessionDataSourceDescription } from "./AVAudioSessionDataSourceDescription.js";
5
6
  import type { _AVAudioSessionDelegate } from "./AVAudioSessionDelegate.js";
@@ -54,7 +55,7 @@ export declare class _AVAudioSession extends _NSObject {
54
55
  * Checks to see if calling process has permission to record audio. The 'response' block will be called immediately if permission has already been granted or denied. Otherwise, it presents a dialog to notify the user and allow them to choose, and calls the block once the UI has been dismissed. 'granted' indicates whether permission has been granted. Note that the block may be called in a different thread context.
55
56
  * @deprecated Please use AVAudioApplication requestRecordPermissionWithCompletionHandler
56
57
  */
57
- requestRecordPermission$(response: NobjcObject): void;
58
+ requestRecordPermission$(response: (granted: boolean) => void): void;
58
59
  /**
59
60
  * Use this method to temporarily override the output to built-in speaker. This method is only valid for a session using PlayAndRecord category. This change remains in effect only until the current route changes or you call this method again with the AVAudioSessionPortOverrideNone option. Sessions using PlayAndRecord category that always want to prefer the built-in speaker output over the receiver, should use AVAudioSessionCategoryOptionDefaultToSpeaker instead.
60
61
  */
@@ -83,7 +84,7 @@ export declare class _AVAudioSession extends _NSObject {
83
84
  /**
84
85
  * Asynchronously activate the session. This is a relatively time consuming operation. The completion handler will be called when the activation completes or if an error occurs while attempting to activate the session. If the session is configured to use AVAudioSessionRouteSharingPolicyLongFormAudio on watchOS, this method will also cause a route picker to be presented to the user in cases where an appropriate output route has not already been selected automatically. watchOS apps using AVAudioSessionRouteSharingPolicyLongFormAudio should be prepared for this method to fail if no eligible audio route can be activated or if the user cancels the route picker view.
85
86
  */
86
- activateWithOptions$completionHandler$(options: AVAudioSessionActivationOptions, handler: NobjcObject | null): void;
87
+ activateWithOptions$completionHandler$(options: AVAudioSessionActivationOptions, handler: ((activated: boolean, error: _NSError) => void) | null): void;
87
88
  /**
88
89
  * The preferred hardware sample rate for the session. The actual sample rate may be different.
89
90
  */
@@ -7,5 +7,5 @@ export declare class _AVAudioSinkNode extends _AVAudioNode {
7
7
  /**
8
8
  * @method initWithReceiverBlock: @abstract Create a node with a receiver block. @param block The block that receives audio data from the input. @discussion The receiver block is called when the input data is available. The block will be called on the realtime thread and it is the client's responsibility to handle it in a thread-safe manner and to not make any blocking calls. The audio format for the input bus will be set from the connection format when connecting to another node. The audio format for the data received by the block will be set to the node's input format.
9
9
  */
10
- initWithReceiverBlock$(block: NobjcObject): _AVAudioSinkNode;
10
+ initWithReceiverBlock$(block: (arg0: NobjcObject, arg1: number, arg2: NobjcObject) => number): _AVAudioSinkNode;
11
11
  }
@@ -9,11 +9,11 @@ export declare class _AVAudioSourceNode extends _AVAudioNode {
9
9
  /**
10
10
  * Create a node with a render block. The block to supply audio data to the output. The block can be called on realtime or non-realtime threads depending on the engine’s operating mode and it is the client's responsibility to handle it in a thread-safe manner. The audio format for the output bus will be set from the connection format when connecting to another node. The audio format for the block will be set to the node's output format. If node is reconnected with a different output format, the audio format for the block will also change.
11
11
  */
12
- initWithRenderBlock$(block: NobjcObject): _AVAudioSourceNode;
12
+ initWithRenderBlock$(block: (arg0: NobjcObject, arg1: NobjcObject, arg2: number, arg3: NobjcObject) => number): _AVAudioSourceNode;
13
13
  /**
14
14
  * Create a node with a render block. The format of the PCM audio data that will be supplied by the block. The block to supply audio data to the output. The block can be called on realtime or non-realtime threads depending on the engine’s operating mode and it is the client's responsibility to handle it in a thread-safe manner. The audio format for the output bus will be set from the connection format when connecting to another node. AVAudioSourceNode supports different audio formats for the block and output, but only Linear PCM conversions are supported (sample rate, bit depth, interleaving).
15
15
  */
16
- initWithFormat$renderBlock$(format: _AVAudioFormat, block: NobjcObject): _AVAudioSourceNode;
16
+ initWithFormat$renderBlock$(format: _AVAudioFormat, block: (arg0: NobjcObject, arg1: NobjcObject, arg2: number, arg3: NobjcObject) => number): _AVAudioSourceNode;
17
17
  }
18
18
  export interface _AVAudioSourceNode extends _AVAudioMixing {
19
19
  }
@@ -1,5 +1,6 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _AVAudioNode } from "./AVAudioNode.js";
3
+ import type { _NSError } from "../Foundation/NSError.js";
3
4
  import type { _NSString } from "../Foundation/NSString.js";
4
5
  import type { _NSURL } from "../Foundation/NSURL.js";
5
6
  import type { _AUAudioUnit } from "../AudioToolbox/AUAudioUnit.js";
@@ -11,7 +12,7 @@ export declare class _AVAudioUnit extends _AVAudioNode {
11
12
  /**
12
13
  * @method instantiateWithComponentDescription:options:completionHandler: @abstract Asynchronously create an instance of an audio unit component, wrapped in an AVAudioUnit. @param audioComponentDescription The component to instantiate. @param options Instantiation options. @param completionHandler Called in an arbitrary thread/queue context when instantiation is complete. The client should retain the provided AVAudioUnit. @discussion Components whose flags include kAudioComponentFlag_RequiresAsyncInstantiation must be instantiated asynchronously, via this method if they are to be used with AVAudioEngine. See the discussion of this flag in AudioToolbox/AudioComponent.h. The returned AVAudioUnit instance normally will be of a subclass (AVAudioUnitEffect, AVAudioUnitGenerator, AVAudioUnitMIDIInstrument, or AVAudioUnitTimeEffect), selected according to the component's type.
13
14
  */
14
- static instantiateWithComponentDescription$options$completionHandler$(audioComponentDescription: AudioComponentDescription, options: NobjcObject, completionHandler: NobjcObject | null): void;
15
+ static instantiateWithComponentDescription$options$completionHandler$(audioComponentDescription: AudioComponentDescription, options: NobjcObject, completionHandler: ((audioUnit: _AVAudioUnit, error: _NSError) => void) | null): void;
15
16
  /**
16
17
  * @method loadAudioUnitPresetAtURL:error: @abstract Load an audio unit preset. @param url NSURL of the .aupreset file. @param outError A pointer to a NSError object @discussion If the .aupreset file cannot be successfully loaded, an error is returned.
17
18
  */
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
3
  import type { _NSObject } from "../Foundation/NSObject.js";
4
4
  import type { _NSPredicate } from "../Foundation/NSPredicate.js";
5
+ import type { _AVAudioUnitComponent } from "./AVAudioUnitComponent.js";
5
6
  import type { AudioComponentDescription } from "../structs/AudioComponentDescription.js";
6
7
  export declare class _AVAudioUnitComponentManager extends _NSObject {
7
8
  static alloc(): _AVAudioUnitComponentManager;
@@ -16,7 +17,7 @@ export declare class _AVAudioUnitComponentManager extends _NSObject {
16
17
  /**
17
18
  * returns an array of AVAudioUnitComponent objects that pass the user provided block method. For each AudioComponent found by the manager, the block method will be called. If the return value is YES then the AudioComponent is added to the resulting array else it will excluded. This gives more control to the block provider to filter out the components returned.
18
19
  */
19
- componentsPassingTest$(testHandler: NobjcObject): _NSArray;
20
+ componentsPassingTest$(testHandler: (comp: _AVAudioUnitComponent, stop: NobjcObject) => boolean): _NSArray;
20
21
  /**
21
22
  * returns an array of AVAudioUnitComponent objects that match the description. This method provides a mechanism to search for AudioComponents using AudioComponentDescription structure. The type, subtype and manufacturer fields are used to search for audio units. A value of 0 for any of these fields is a wildcard and returns the first match found.
22
23
  */
@@ -19,7 +19,7 @@ export declare class _AVMIDIPlayer extends _NSObject {
19
19
  */
20
20
  prepareToPlay(): void;
21
21
  /** Play the sequence. */
22
- play$(completionHandler: NobjcObject | null): void;
22
+ play$(completionHandler: (() => void) | null): void;
23
23
  /** Stop playing the sequence. */
24
24
  stop(): void;
25
25
  /** The length of the currently loaded file in seconds. */
@@ -34,7 +34,7 @@ export declare class _AVMusicTrack extends _NSObject {
34
34
  /**
35
35
  * Iterates through the AVMusicEvents within the AVMusicTrack whose timestamps fit within the range, calling the block for each. the AVMusicEventEnumerationBlock to call for each event. Each event returned via the block should be examined using `NSObject(isKindOfClass:)` to determine its subclass and then cast and accessed/edited accordingly. The iteration may continue after removing an event. The event objects returned via the block will not be the same instances which were added to the AVMusicTrack, though their contents will be identical.
36
36
  */
37
- enumerateEventsInRange$usingBlock$(range: AVBeatRange, block: NobjcObject): void;
37
+ enumerateEventsInRange$usingBlock$(range: AVBeatRange, block: (arg0: _AVMusicEvent, arg1: NobjcObject, arg2: NobjcObject) => void): void;
38
38
  /**
39
39
  * The AVAudioUnit which will receive the track's events This is mutually exclusive with setting a destination MIDIEndpoint. The AU must already be attached to an audio engine, and the track must be part of the AVAudioSequencer associated with that engine. When playing, the track will send its events to that AVAudioUnit. The destination AU cannot be changed while the track's sequence is playing.
40
40
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AUAudioUnit } from "../AudioToolbox/AUAudioUnit.js";
3
2
  import type { _AVSpeechSynthesisProviderRequest } from "./AVSpeechSynthesisProviderRequest.js";
4
3
  import type { _NSArray } from "../Foundation/NSArray.js";
@@ -20,6 +19,6 @@ export declare class _AVSpeechSynthesisProviderAudioUnit extends _AUAudioUnit {
20
19
  /**
21
20
  * @brief A property set by the host that is called by the audio unit to supply metadata for a speech request. @discussion A synthesizer should call this method when it has produced relevant data to the audio buffers it is sending back to the host. In some cases speech output may be delayed until these markers are delivered. For example, word highlighting depends on marker data from synthesizers in order to properly time which words are highlighted. Many speech synthesizers generate this information on the fly, while synthesizing the audio. The array of markers can reference future audio buffers that have yet to be delivered. There may be cases in which marker data is not fully known until further audio processing is done. In these cases, and other casers where marker data has changed, calling this block with marker data that contains perviously delivered audio buffer ranges will replace that audio buffer range's marker data, as it will be considered stale.
22
21
  */
23
- speechSynthesisOutputMetadataBlock(): NobjcObject | null;
24
- setSpeechSynthesisOutputMetadataBlock$(value: NobjcObject | null): void;
22
+ speechSynthesisOutputMetadataBlock(): ((arg0: _NSArray, arg1: _AVSpeechSynthesisProviderRequest) => void) | null;
23
+ setSpeechSynthesisOutputMetadataBlock$(value: ((arg0: _NSArray, arg1: _AVSpeechSynthesisProviderRequest) => void) | null): void;
25
24
  }
@@ -1,6 +1,6 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
3
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
+ import type { _AVAudioBuffer } from "./AVAudioBuffer.js";
4
4
  import type { _AVSpeechSynthesizerDelegate } from "./AVSpeechSynthesizerDelegate.js";
5
5
  import type { _AVSpeechUtterance } from "./AVSpeechUtterance.js";
6
6
  import type { AVSpeechBoundary } from "./AVSpeechBoundary.js";
@@ -12,7 +12,7 @@ export declare class _AVSpeechSynthesizer extends _NSObject {
12
12
  /**
13
13
  * Asks the user to allow your app to use personal voices for speech synthesis Call this method before performing any other tasks associated with speech synthesis using personal voices. This method executes asynchronously, returning shortly after you call it. At some point later, the system calls the provided handler block with the results. When your app's authorization status is PersonalVoiceAuthorizationStatus.notDetermined, this method causes the system to prompt the user to grant or deny permission for your app to use personal voices. The user's response is saved so that future calls to this method do not prompt the user again.
14
14
  */
15
- static requestPersonalVoiceAuthorizationWithCompletionHandler$(handler: NobjcObject): void;
15
+ static requestPersonalVoiceAuthorizationWithCompletionHandler$(handler: (status: AVSpeechSynthesisPersonalVoiceAuthorizationStatus) => void): void;
16
16
  /**
17
17
  * Returns your app's current authorization to use personal voices. The user can reject your app's request to use personal voices, but your request can also be denied if personal voices are not supported on the device. The app can also change your app's authorization status at any time from the Settings app. The app's current authorization status value. For a list of values, see AVSpeechSynthesisPersonalVoiceAuthorizationStatus.
18
18
  */
@@ -24,11 +24,11 @@ export declare class _AVSpeechSynthesizer extends _NSObject {
24
24
  /**
25
25
  * Use this method to receive audio buffers that can be used to store or further process synthesized speech. The dictionary provided by -[AVSpeechSynthesisVoice audioFileSettings] can be used to create an AVAudioFile.
26
26
  */
27
- writeUtterance$toBufferCallback$(utterance: _AVSpeechUtterance, bufferCallback: NobjcObject): void;
27
+ writeUtterance$toBufferCallback$(utterance: _AVSpeechUtterance, bufferCallback: (arg0: _AVAudioBuffer) => void): void;
28
28
  /**
29
29
  * Use this method to receive audio buffers and associated metadata that can be used to store or further process synthesized speech. The dictionary provided by -[AVSpeechSynthesisVoice audioFileSettings] can be used to create an AVAudioFile.
30
30
  */
31
- writeUtterance$toBufferCallback$toMarkerCallback$(utterance: _AVSpeechUtterance, bufferCallback: NobjcObject, markerCallback: NobjcObject): void;
31
+ writeUtterance$toBufferCallback$toMarkerCallback$(utterance: _AVSpeechUtterance, bufferCallback: (arg0: _AVAudioBuffer) => void, markerCallback: (arg0: _NSArray) => void): void;
32
32
  /** Call stopSpeakingAtBoundary: to interrupt current speech and clear the queue. */
33
33
  stopSpeakingAtBoundary$(boundary: AVSpeechBoundary): boolean;
34
34
  pauseSpeakingAtBoundary$(boundary: AVSpeechBoundary): boolean;
@@ -1,6 +1,7 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
3
  import type { _NSCopying } from "../Foundation/NSCopying.js";
4
+ import type { _NSError } from "../Foundation/NSError.js";
4
5
  import type { _NSLocale } from "../Foundation/NSLocale.js";
5
6
  import type { _NSObject } from "../Foundation/NSObject.js";
6
7
  import type { _NSString } from "../Foundation/NSString.js";
@@ -35,7 +36,7 @@ export declare class _AVAsset extends _NSObject {
35
36
  /**
36
37
  * Loads an instance of AVAssetTrack that represents the track of the specified trackID. - Parameter trackID: The trackID of the requested AVAssetTrack. - Parameter completionHandler: A block that is called when the loading is finished, with either the loaded track (which may be nil if no track of the specified trackID is available) or an error.
37
38
  */
38
- loadTrackWithTrackID$completionHandler$(trackID: number, completionHandler: NobjcObject | null): void;
39
+ loadTrackWithTrackID$completionHandler$(trackID: number, completionHandler: ((_Nullable_result: _AVAssetTrack, arg1: _NSError) => void) | null): void;
39
40
  /**
40
41
  * Provides an array of AVAssetTracks of the asset that present media of the specified media type. Becomes callable without blocking when the key @"tracks" has been loaded - Parameter mediaType: The media type according to which AVAsset filters its AVAssetTracks. (Media types are defined in AVMediaFormat.h.) - Returns: An NSArray of AVAssetTracks; may be empty if no tracks of the specified media type are available.
41
42
  * @deprecated Use loadTracks(withMediaType:) instead
@@ -44,7 +45,7 @@ export declare class _AVAsset extends _NSObject {
44
45
  /**
45
46
  * Loads an array of AVAssetTracks of the asset that present media of the specified media type. - Parameter mediaType: The media type according to which AVAsset filters its AVAssetTracks. (Media types are defined in AVMediaFormat.h.) - Parameter completionHandler: A block that is called when the loading is finished, with either the loaded tracks (which may be empty if no tracks of the specified media type are available) or an error.
46
47
  */
47
- loadTracksWithMediaType$completionHandler$(mediaType: _NSString, completionHandler: NobjcObject | null): void;
48
+ loadTracksWithMediaType$completionHandler$(mediaType: _NSString, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
48
49
  /**
49
50
  * Provides an array of AVAssetTracks of the asset that present media with the specified characteristic. Becomes callable without blocking when the key @"tracks" has been loaded - Parameter mediaCharacteristic: The media characteristic according to which AVAsset filters its AVAssetTracks. (Media characteristics are defined in AVMediaFormat.h.) - Returns: An NSArray of AVAssetTracks; may be empty if no tracks with the specified characteristic are available.
50
51
  * @deprecated Use loadTracks(withMediaCharacteristic:) instead
@@ -53,7 +54,7 @@ export declare class _AVAsset extends _NSObject {
53
54
  /**
54
55
  * Loads an array of AVAssetTracks of the asset that present media with the specified characteristic. - Parameter mediaCharacteristic: The media characteristic according to which AVAsset filters its AVAssetTracks. (Media characteristics are defined in AVMediaFormat.h.) - Parameter completionHandler: A block that is called when the loading is finished, with either the loaded tracks (which may be empty if no tracks with the specified characteristic are available) or an error.
55
56
  */
56
- loadTracksWithMediaCharacteristic$completionHandler$(mediaCharacteristic: _NSString, completionHandler: NobjcObject | null): void;
57
+ loadTracksWithMediaCharacteristic$completionHandler$(mediaCharacteristic: _NSString, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
57
58
  /**
58
59
  * Provides an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format; can subsequently be filtered according to language via +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:], according to locale via +[AVMetadataItem metadataItemsFromArray:withLocale:], or according to key via +[AVMetadataItem metadataItemsFromArray:withKey:keySpace:]. Becomes callable without blocking when the key @"availableMetadataFormats" has been loaded - Parameter format: The metadata format for which items are requested. - Returns: An NSArray containing AVMetadataItems; may be empty if there is no metadata of the specified format.
59
60
  * @deprecated Use loadMetadata(for:) instead
@@ -62,7 +63,7 @@ export declare class _AVAsset extends _NSObject {
62
63
  /**
63
64
  * Loads an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format; can subsequently be filtered according to language via +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:], according to locale via +[AVMetadataItem metadataItemsFromArray:withLocale:], or according to key via +[AVMetadataItem metadataItemsFromArray:withKey:keySpace:]. - Parameter format: The metadata format for which items are requested. - Parameter completionHandler: A block that is invoked when loading is complete, vending the array of metadata items (which may be empty if there is no metadata of the specified format) or an error.
64
65
  */
65
- loadMetadataForFormat$completionHandler$(format: AVMetadataFormat, completionHandler: NobjcObject | null): void;
66
+ loadMetadataForFormat$completionHandler$(format: AVMetadataFormat, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
66
67
  /**
67
68
  * Provides an array of chapters. This method returns an array of AVTimedMetadataGroup objects. Each object in the array always contains an AVMetadataItem representing the chapter title; the timeRange property of the AVTimedMetadataGroup object is equal to the time range of the chapter title item. An AVMetadataItem with the specified common key will be added to an existing AVTimedMetadataGroup object if the time range (timestamp and duration) of the metadata item and the metadata group overlaps. The locale of items not carrying chapter titles need not match the specified locale parameter. Further filtering of the metadata items in AVTimedMetadataGroups according to language can be accomplished using +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:]; filtering of the metadata items according to locale can be accomplished using +[AVMetadataItem metadataItemsFromArray:withLocale:]. - Parameter locale: Locale of the metadata items carrying chapter titles to be returned (supports the IETF BCP 47 specification). - Parameter commonKeys: Array of common keys of AVMetadataItem to be included; can be nil. AVMetadataCommonKeyArtwork is the only supported key for now. - Returns: An NSArray of AVTimedMetadataGroup.
68
69
  * @deprecated Use loadChapterMetadataGroups(withTitleLocale:containingItemsWithCommonKeys:) instead
@@ -71,7 +72,7 @@ export declare class _AVAsset extends _NSObject {
71
72
  /**
72
73
  * Loads an array of chapters. This method vends an array of AVTimedMetadataGroup objects. Each object in the array always contains an AVMetadataItem representing the chapter title; the timeRange property of the AVTimedMetadataGroup object is equal to the time range of the chapter title item. An AVMetadataItem with the specified common key will be added to an existing AVTimedMetadataGroup object if the time range (timestamp and duration) of the metadata item and the metadata group overlaps. The locale of items not carrying chapter titles need not match the specified locale parameter. Further filtering of the metadata items in AVTimedMetadataGroups according to language can be accomplished using +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:]; filtering of the metadata items according to locale can be accomplished using +[AVMetadataItem metadataItemsFromArray:withLocale:]. - Parameter locale: Locale of the metadata items carrying chapter titles to be returned (supports the IETF BCP 47 specification). - Parameter commonKeys: Array of common keys of AVMetadataItem to be included; if no common keys are required, send an empty list. AVMetadataCommonKeyArtwork is the only supported key for now. - Parameter completionHandler: A block that is invoked when loading is complete, vending the array of timed metadata groups or an error.
73
74
  */
74
- loadChapterMetadataGroupsWithTitleLocale$containingItemsWithCommonKeys$completionHandler$(locale: _NSLocale, commonKeys: _NSArray, completionHandler: NobjcObject | null): void;
75
+ loadChapterMetadataGroupsWithTitleLocale$containingItemsWithCommonKeys$completionHandler$(locale: _NSLocale, commonKeys: _NSArray, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
75
76
  /**
76
77
  * Tests, in order of preference, for a match between language identifiers in the specified array of preferred languages and the available chapter locales, and returns the array of chapters corresponding to the first match that's found. Safe to call without blocking when the AVAsset key availableChapterLocales has status AVKeyValueStatusLoaded. Returns an array of AVTimedMetadataGroup objects. Each object in the array always contains an AVMetadataItem representing the chapter title; the timeRange property of the AVTimedMetadataGroup object is equal to the time range of the chapter title item. All of the available chapter metadata is included in the metadata groups, including items with the common key AVMetadataCommonKeyArtwork, if such items are present. Items not carrying chapter titles will be added to an existing AVTimedMetadataGroup object if the time range (timestamp and duration) of the metadata item and that of the metadata group overlaps. The locale of such items need not match the locale of the chapter titles. Further filtering of the metadata items in AVTimedMetadataGroups according to language can be accomplished using +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:]; filtering of the metadata items according to locale can be accomplished using +[AVMetadataItem metadataItemsFromArray:withLocale:]. - Parameter preferredLanguages: An array of language identifiers in order of preference, each of which is an IETF BCP 47 (RFC 4646) language identifier. If your goal is to provide the best match for the end user's preferred languages without consideration of your app's available localizations, pass [NSLocale preferredLanguages] as the value of preferredLanguages. However, if you want to filter the available choices in order to obtain the best match among the localizations that are available for your app, pass [NSBundle preferredLocalizationsFromArray:[[NSBundle mainBundle] localizations] forPreferences:[NSLocale preferredLanguages]] instead. The latter choice is normally more appropriate for strings intended for display as part of the app's UI. - Returns: An NSArray of AVTimedMetadataGroup.
77
78
  * @deprecated Use loadChapterMetadataGroups(bestMatchingPreferredLanguages:) instead
@@ -80,7 +81,7 @@ export declare class _AVAsset extends _NSObject {
80
81
  /**
81
82
  * Tests, in order of preference, for a match between language identifiers in the specified array of preferred languages and the available chapter locales, and loads the array of chapters corresponding to the first match that's found. Returns an array of AVTimedMetadataGroup objects. Each object in the array always contains an AVMetadataItem representing the chapter title; the timeRange property of the AVTimedMetadataGroup object is equal to the time range of the chapter title item. All of the available chapter metadata is included in the metadata groups, including items with the common key AVMetadataCommonKeyArtwork, if such items are present. Items not carrying chapter titles will be added to an existing AVTimedMetadataGroup object if the time range (timestamp and duration) of the metadata item and that of the metadata group overlaps. The locale of such items need not match the locale of the chapter titles. Further filtering of the metadata items in AVTimedMetadataGroups according to language can be accomplished using +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:]; filtering of the metadata items according to locale can be accomplished using +[AVMetadataItem metadataItemsFromArray:withLocale:]. - Parameter preferredLanguages: An array of language identifiers in order of preference, each of which is an IETF BCP 47 (RFC 4646) language identifier. If your goal is to provide the best match for the end user's preferred languages without consideration of your app's available localizations, pass [NSLocale preferredLanguages] as the value of preferredLanguages. However, if you want to filter the available choices in order to obtain the best match among the localizations that are available for your app, pass [NSBundle preferredLocalizationsFromArray:[[NSBundle mainBundle] localizations] forPreferences:[NSLocale preferredLanguages]] instead. The latter choice is normally more appropriate for strings intended for display as part of the app's UI. - Parameter completionHandler: A block that is invoked when loading is complete, vending the array of timed metadata groups or an error.
82
83
  */
83
- loadChapterMetadataGroupsBestMatchingPreferredLanguages$completionHandler$(preferredLanguages: _NSArray, completionHandler: NobjcObject | null): void;
84
+ loadChapterMetadataGroupsBestMatchingPreferredLanguages$completionHandler$(preferredLanguages: _NSArray, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
84
85
  /**
85
86
  * Provides an instance of AVMediaSelectionGroup that contains one or more options with the specified media characteristic. Becomes callable without blocking when the key @"availableMediaCharacteristicsWithMediaSelectionOptions" has been loaded. If the asset has no AVMediaSelectionGroup containing options with the specified media characteristic, the return value will be nil. Filtering of the options in the returned AVMediaSelectionGroup according to playability, locale, and additional media characteristics can be accomplished using the category AVMediaSelectionOptionFiltering defined on AVMediaSelectionGroup. - Parameter mediaCharacteristic: A media characteristic for which you wish to obtain the available media selection options. AVMediaCharacteristicAudible, AVMediaCharacteristicLegible, and AVMediaCharacteristicVisual are currently supported. Pass AVMediaCharacteristicAudible to obtain the group of available options for audio media in various languages and for various purposes, such as descriptive audio. Pass AVMediaCharacteristicLegible to obtain the group of available options for subtitles in various languages and for various purposes. Pass AVMediaCharacteristicVisual to obtain the group of available options for video media. - Returns: An instance of AVMediaSelectionGroup. May be nil.
86
87
  * @deprecated Use loadMediaSelectionGroup(for:) instead
@@ -90,13 +91,13 @@ export declare class _AVAsset extends _NSObject {
90
91
  * Loads an instance of AVMediaSelectionGroup that contains one or more options with the specified media characteristic. If the asset has no AVMediaSelectionGroup containing options with the specified media characteristic, the return value will be nil. Filtering of the options in the returned AVMediaSelectionGroup according to playability, locale, and additional media characteristics can be accomplished using the category AVMediaSelectionOptionFiltering defined on AVMediaSelectionGroup. - Parameter mediaCharacteristic: A media characteristic for which you wish to obtain the available media selection options. AVMediaCharacteristicAudible, AVMediaCharacteristicLegible, and AVMediaCharacteristicVisual are currently supported. Pass AVMediaCharacteristicAudible to obtain the group of available options for audio media in various languages and for various purposes, such as descriptive audio. Pass AVMediaCharacteristicLegible to obtain the group of available options for subtitles in various languages and for various purposes Pass AVMediaCharacteristicVisual to obtain the group of available options for video media. - Parameter completionHandler: A block that is invoked when loading is complete, vending an instance of AVMediaSelectionGroup (which may be nil) or an error.
91
92
  * @deprecated Use load(.preferredMediaSelection) instead
92
93
  */
93
- loadMediaSelectionGroupForMediaCharacteristic$completionHandler$(mediaCharacteristic: _NSString, completionHandler: NobjcObject | null): void;
94
+ loadMediaSelectionGroupForMediaCharacteristic$completionHandler$(mediaCharacteristic: _NSString, completionHandler: ((_Nullable_result: _AVMediaSelectionGroup, arg1: _NSError) => void) | null): void;
94
95
  /** @deprecated Use findUnusedTrackID() instead */
95
96
  unusedTrackID(): number;
96
97
  /**
97
98
  * Loads a track ID that will not collide with any existing track - Parameter completionHandler: A block that is invoked when loading is complete, vending the track ID or an error.
98
99
  */
99
- findUnusedTrackIDWithCompletionHandler$(completionHandler: NobjcObject | null): void;
100
+ findUnusedTrackIDWithCompletionHandler$(completionHandler: ((arg0: number, arg1: _NSError) => void) | null): void;
100
101
  /**
101
102
  * Indicates the duration of the asset. If @"providesPreciseDurationAndTiming" is NO, a best-available estimate of the duration is returned. The degree of precision preferred for timing-related properties can be set at initialization time for assets initialized with URLs - Seealso: AVURLAssetPreferPreciseDurationAndTimingKey for AVURLAsset below.
102
103
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
3
2
  import type { _NSError } from "../Foundation/NSError.js";
4
3
  import type { _NSObject } from "../Foundation/NSObject.js";
@@ -34,7 +33,7 @@ export declare class _AVAssetExportSession extends _NSObject {
34
33
  /**
35
34
  * @method determineCompatibilityOfExportPreset:withAsset:outputFileType:completionHandler: @abstract Performs an inspection on the compatibility of an export preset, AVAsset and output file type. Calls the completion handler with YES if the arguments are compatible; NO otherwise. @discussion Not all export presets are compatible with all AVAssets and file types. This method can be used to query compatibility. In order to ensure that the setup and running of an export operation will succeed using a given preset no significant changes (such as adding or deleting tracks) should be made to the asset between retrieving compatible identifiers and performing the export operation. @param presetName An NSString specifying the name of the preset template for the export. @param asset An AVAsset object that is intended to be exported. @param outputFileType An AVFileType indicating a file type to check; or nil, to query whether there are any compatible types. @param handler A block called with the compatibility result.
36
35
  */
37
- static determineCompatibilityOfExportPreset$withAsset$outputFileType$completionHandler$(presetName: _NSString, asset: _AVAsset, outputFileType: _NSString | null, handler: NobjcObject): void;
36
+ static determineCompatibilityOfExportPreset$withAsset$outputFileType$completionHandler$(presetName: _NSString, asset: _AVAsset, outputFileType: _NSString | null, handler: (compatible: boolean) => void): void;
38
37
  /**
39
38
  * @method initWithAsset:presetName: @abstract Initialize an AVAssetExportSession with the specified preset and set the source to the contents of the asset. @param asset An AVAsset object that is intended to be exported. @param presetName An NSString specifying the name of the preset template for the export. @result Returns the initialized AVAssetExportSession. @discussion If the specified asset belongs to a mutable subclass of AVAsset, AVMutableComposition or AVMutableMovie, the results of any export-related operation are undefined if you mutate the asset after the operation commences. These operations include but are not limited to: 1) testing the compatibility of export presets with the asset, 2) calculating the maximum duration or estimated length of the output file, and 3) the export operation itself.
40
39
  */
@@ -43,7 +42,7 @@ export declare class _AVAssetExportSession extends _NSObject {
43
42
  * @method exportAsynchronouslyWithCompletionHandler: @abstract Starts the asynchronous execution of an export session. @param handler If internal preparation for export fails, the handler will be invoked synchronously. The handler may also be called asynchronously after -exportAsynchronouslyWithCompletionHandler: returns, in the following cases: 1) if a failure occurs during the export, including failures of loading, re-encoding, or writing media data to the output, 2) if -cancelExport is invoked, 3) if export session succeeds, having completely written its output to the outputURL. In each case, AVAssetExportSession.status will signal the terminal state of the asset reader, and if a failure occurs, the NSError that describes the failure can be obtained from the error property. @discussion Initiates an asynchronous export operation and returns immediately.
44
43
  * @deprecated export(to:as:) async throws
45
44
  */
46
- exportAsynchronouslyWithCompletionHandler$(handler: NobjcObject): void;
45
+ exportAsynchronouslyWithCompletionHandler$(handler: () => void): void;
47
46
  /**
48
47
  * @method cancelExport @abstract Cancels the execution of an export session. @discussion Cancel can be invoked when the export is running.
49
48
  * @deprecated Use Task.cancel() instead
@@ -52,15 +51,15 @@ export declare class _AVAssetExportSession extends _NSObject {
52
51
  /**
53
52
  * @method determineCompatibleFileTypesWithCompletionHandler: @abstract Performs an inspection on the AVAsset and Preset the object was initialized with to determine a list of file types the ExportSession can write. @param handler Called when the inspection completes with an array of file types the ExportSession can write. Note that this may have a count of zero. @discussion This method is different than the supportedFileTypes property in that it performs an inspection of the AVAsset in order to determine its compatibility with each of the session's supported file types.
54
53
  */
55
- determineCompatibleFileTypesWithCompletionHandler$(handler: NobjcObject): void;
54
+ determineCompatibleFileTypesWithCompletionHandler$(handler: (compatibleFileTypes: _NSArray) => void): void;
56
55
  /**
57
56
  * @method estimateMaximumDurationWithCompletionHandler: @abstract Starts the asynchronous execution of estimating the maximum duration of the export based on the asset, preset, and fileLengthLimit associated with the export session. @discussion If fileLengthLimit is not set on the export session, fileLengthLimit will be assumed to be the maximum file size specified by the preset (if any); else infinite. @param handler A block called with the estimated maximum duration, or kCMTimeInvalid if an error occurs. The error parameter will be non-nil if an error occurs.
58
57
  */
59
- estimateMaximumDurationWithCompletionHandler$(handler: NobjcObject | null): void;
58
+ estimateMaximumDurationWithCompletionHandler$(handler: ((estimatedMaximumDuration: CMTime, error: _NSError) => void) | null): void;
60
59
  /**
61
60
  * @method estimateOutputFileLengthWithCompletionHandler: @abstract Starts the asynchronous execution of estimating the output file length of the export based on the asset, preset, and timeRange associated with the export session. @discussion If timeRange is not set on the export session, timeRange will be assumed to be the full time range of the asset. @param handler A block called with the estimated output file length in bytes, if it can be determined; 0 otherwise. The error parameter will be non-nil if an error occurs.
62
61
  */
63
- estimateOutputFileLengthWithCompletionHandler$(handler: NobjcObject | null): void;
62
+ estimateOutputFileLengthWithCompletionHandler$(handler: ((estimatedOutputFileLength: number, error: _NSError) => void) | null): void;
64
63
  /** Indicates the name of the preset with which the AVExportSession was initialized */
65
64
  presetName(): _NSString;
66
65
  /**
@@ -1,5 +1,6 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
+ import type { _NSError } from "../Foundation/NSError.js";
3
4
  import type { _NSObject } from "../Foundation/NSObject.js";
4
5
  import type { _AVAsset } from "./AVAsset.js";
5
6
  import type { _AVVideoCompositing } from "./AVVideoCompositing.js";
@@ -8,6 +9,7 @@ import type { CGSize } from "../structs/CGSize.js";
8
9
  import type { CMTime } from "../structs/CMTime.js";
9
10
  import type { AVAssetImageGeneratorApertureMode } from "./AVAssetImageGeneratorApertureMode.js";
10
11
  import type { AVAssetImageGeneratorDynamicRangePolicy } from "./AVAssetImageGeneratorDynamicRangePolicy.js";
12
+ import type { AVAssetImageGeneratorResult } from "./AVAssetImageGeneratorResult.js";
11
13
  export declare class _AVAssetImageGenerator extends _NSObject {
12
14
  static alloc(): _AVAssetImageGenerator;
13
15
  static new(): _AVAssetImageGenerator;
@@ -28,11 +30,11 @@ export declare class _AVAssetImageGenerator extends _NSObject {
28
30
  /**
29
31
  * Returns a series of CGImageRefs for an asset at or near the specified times. An NSArray of NSValues, each containing a CMTime, specifying the asset times at which an image is requested. A block that will be called when an image request is complete. Employs an efficient "batch mode" for getting images in time order. The client will receive exactly one handler callback for each requested time in requestedTimes. Changes to generator properties (snap behavior, maximum size, etc...) will not affect outstanding asynchronous image generation requests. The generated image is not retained. Clients should retain the image if they wish it to persist after the completion handler returns.
30
32
  */
31
- generateCGImagesAsynchronouslyForTimes$completionHandler$(requestedTimes: _NSArray, handler: NobjcObject): void;
33
+ generateCGImagesAsynchronouslyForTimes$completionHandler$(requestedTimes: _NSArray, handler: (arg0: CMTime, arg1: NobjcObject, arg2: CMTime, arg3: AVAssetImageGeneratorResult, arg4: _NSError) => void): void;
32
34
  /**
33
35
  * Returns a CGImageRef for an asset at or near the specified time. A CMTime, specifying the asset time at which an image is requested. A block that will be called when the image request is complete. The client will receive exactly one handler callback for requestedTime. Changes to generator properties (snap behavior, maximum size, etc...) will not affect outstanding asynchronous image generation requests. The generated image is not retained. Clients should retain the image if they wish it to persist after the completion handler returns. If image generation succeeds, the `image` parameter to the completion handler will be non-NULL and the `error` parameter will be nil. If image generation fails or was cancelled, the `image` parameter will be NULL and the `error` parameter will describe what went wrong. For cancelled images, the returned error will be AVErrorOperationCancelled.
34
36
  */
35
- generateCGImageAsynchronouslyForTime$completionHandler$(requestedTime: CMTime, handler: NobjcObject | null): void;
37
+ generateCGImageAsynchronouslyForTime$completionHandler$(requestedTime: CMTime, handler: ((image: NobjcObject, actualTime: CMTime, error: _NSError) => void) | null): void;
36
38
  /**
37
39
  * Cancels all outstanding image generation requests. Calls the handler block with AVAssetImageGeneratorCancelled for each image time in every previous invocation of -generateCGImagesAsynchronouslyForTimes:completionHandler: for which images have not yet been supplied.
38
40
  */
@@ -1,4 +1,4 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSArray } from "../Foundation/NSArray.js";
2
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
3
  import type { _AVAsset } from "./AVAsset.js";
4
4
  export declare class _AVAssetPlaybackAssistant extends _NSObject {
@@ -12,5 +12,5 @@ export declare class _AVAssetPlaybackAssistant extends _NSObject {
12
12
  /**
13
13
  * Calls the completionHandler with information about the asset. completionHandler is called when all of the AVAssetPlaybackConfigurationOption values have been loaded. If AVAssetPlaybackAssistant encounters failures when inspecting the contents of the asset, it will return no AVAssetPlaybackConfigurationOptions associated with those contents. - Parameter completionHandler: Called with an array of AVAssetPlaybackConfigurationOption values describing capabilities of the asset.
14
14
  */
15
- loadPlaybackConfigurationOptionsWithCompletionHandler$(completionHandler: NobjcObject): void;
15
+ loadPlaybackConfigurationOptionsWithCompletionHandler$(completionHandler: (playbackConfigurationOptions: _NSArray) => void): void;
16
16
  }