@octane-xplat/macos-renderer 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +95 -20
  2. package/package.json +15 -2
  3. package/src/appearance.ts +2 -0
  4. package/src/fonts.ts +2 -0
  5. package/src/formatted-text.ts +147 -0
  6. package/src/gestures.ts +196 -0
  7. package/src/host-globals.d.ts +55 -0
  8. package/src/html-text.ts +88 -0
  9. package/src/image.ts +91 -16
  10. package/src/index.d.ts +9 -0
  11. package/src/index.ts +5030 -678
  12. package/src/layer.ts +11 -9
  13. package/src/list-template.ts +266 -0
  14. package/src/list-view.ts +445 -0
  15. package/src/portal-components.macos.tsx +86 -0
  16. package/src/presentation.ts +48 -15
  17. package/src/scroll-view.ts +124 -0
  18. package/src/tab-view.ts +512 -0
  19. package/src/template-props.ts +402 -0
  20. package/src/vendor/listview/LICENSE +19 -0
  21. package/src/vendor/listview/README.md +1 -0
  22. package/src/vendor/listview/binding-options.ts +189 -0
  23. package/src/vendor/listview/expressions.ts +285 -0
  24. package/src/webview.ts +36 -7
  25. package/types/ARKitCore.d.ts +199 -0
  26. package/types/AVFAudio.d.ts +2304 -0
  27. package/types/AVFoundation.d.ts +6974 -0
  28. package/types/AVKit.d.ts +215 -0
  29. package/types/AVRouting.d.ts +7 -0
  30. package/types/Accelerate.d.ts +4776 -0
  31. package/types/Accessibility.d.ts +69 -0
  32. package/types/Accounts.d.ts +134 -0
  33. package/types/AdSupport.d.ts +12 -0
  34. package/types/AddressBook.d.ts +1012 -0
  35. package/types/AppKit.d.ts +34247 -0
  36. package/types/AppTrackingTransparency.d.ts +23 -0
  37. package/types/AppleScriptKit.d.ts +6 -0
  38. package/types/ApplicationServices.d.ts +6346 -0
  39. package/types/AudioToolbox.d.ts +7129 -0
  40. package/types/AudioVideoBridging.d.ts +613 -0
  41. package/types/AuthenticationServices.d.ts +982 -0
  42. package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
  43. package/types/Automator.d.ts +248 -0
  44. package/types/BackgroundAssets.d.ts +9 -0
  45. package/types/BrowserEngineKit.d.ts +166 -0
  46. package/types/BusinessChat.d.ts +29 -0
  47. package/types/CFNetwork.d.ts +931 -0
  48. package/types/CalendarStore.d.ts +354 -0
  49. package/types/CallKit.d.ts +30 -0
  50. package/types/Carbon.d.ts +16207 -0
  51. package/types/ClassKit.d.ts +281 -0
  52. package/types/CloudKit.d.ts +1565 -0
  53. package/types/Collaboration.d.ts +123 -0
  54. package/types/ColorSync.d.ts +562 -0
  55. package/types/CompositorServices.d.ts +60 -0
  56. package/types/ComputeGraph.d.ts +16 -0
  57. package/types/Contacts.d.ts +1558 -0
  58. package/types/ContactsUI.d.ts +39 -0
  59. package/types/CoreAudio.d.ts +1376 -0
  60. package/types/CoreAudioKit.d.ts +122 -0
  61. package/types/CoreAudioTypes.d.ts +1003 -0
  62. package/types/CoreBluetooth.d.ts +657 -0
  63. package/types/CoreData.d.ts +2479 -0
  64. package/types/CoreFoundation.d.ts +5546 -0
  65. package/types/CoreGraphics.d.ts +3676 -0
  66. package/types/CoreHaptics.d.ts +361 -0
  67. package/types/CoreImage.d.ts +4781 -0
  68. package/types/CoreLocation.d.ts +564 -0
  69. package/types/CoreMIDI.d.ts +1538 -0
  70. package/types/CoreML.d.ts +905 -0
  71. package/types/CoreMedia.d.ts +2615 -0
  72. package/types/CoreMediaIO.d.ts +1046 -0
  73. package/types/CoreMotion.d.ts +316 -0
  74. package/types/CoreServices.d.ts +24810 -0
  75. package/types/CoreSpotlight.d.ts +789 -0
  76. package/types/CoreTelephony.d.ts +31 -0
  77. package/types/CoreText.d.ts +3973 -0
  78. package/types/CoreTransferable.d.ts +3 -0
  79. package/types/CoreVideo.d.ts +1162 -0
  80. package/types/CoreWLAN.d.ts +556 -0
  81. package/types/CryptoTokenKit.d.ts +548 -0
  82. package/types/DVDPlayback.d.ts +931 -0
  83. package/types/DataDetection.d.ts +66 -0
  84. package/types/DeviceCheck.d.ts +46 -0
  85. package/types/DeviceDiscoveryExtension.d.ts +142 -0
  86. package/types/DirectoryService.d.ts +966 -0
  87. package/types/DiscRecording.d.ts +2345 -0
  88. package/types/DiscRecordingUI.d.ts +288 -0
  89. package/types/DiskArbitration.d.ts +366 -0
  90. package/types/DriverKit.d.ts +639 -0
  91. package/types/EventKit.d.ts +640 -0
  92. package/types/ExceptionHandling.d.ts +56 -0
  93. package/types/ExecutionPolicy.d.ts +30 -0
  94. package/types/ExternalAccessory.d.ts +98 -0
  95. package/types/FSKit.d.ts +237 -0
  96. package/types/FileProvider.d.ts +495 -0
  97. package/types/FileProviderUI.d.ts +31 -0
  98. package/types/FinderSync.d.ts +165 -0
  99. package/types/FocusEngine.d.ts +133 -0
  100. package/types/ForceFeedback.d.ts +399 -0
  101. package/types/Foundation.d.ts +18216 -0
  102. package/types/GLKit.d.ts +937 -0
  103. package/types/GLUT.d.ts +1018 -0
  104. package/types/GSS.d.ts +855 -0
  105. package/types/GameController.d.ts +1394 -0
  106. package/types/GameKit.d.ts +1958 -0
  107. package/types/GameSave.d.ts +54 -0
  108. package/types/GameplayKit.d.ts +1645 -0
  109. package/types/HealthKit.d.ts +278 -0
  110. package/types/Hypervisor.d.ts +2079 -0
  111. package/types/ICADevices.d.ts +1400 -0
  112. package/types/IOBluetooth.d.ts +6094 -0
  113. package/types/IOBluetoothUI.d.ts +250 -0
  114. package/types/IOKit.d.ts +25804 -0
  115. package/types/IOSurface.d.ts +435 -0
  116. package/types/IOUSBHost.d.ts +809 -0
  117. package/types/ImageCaptureCore.d.ts +1104 -0
  118. package/types/ImageIO.d.ts +1697 -0
  119. package/types/InputMethodKit.d.ts +264 -0
  120. package/types/InstallerPlugins.d.ts +102 -0
  121. package/types/InstantMessage.d.ts +229 -0
  122. package/types/Intents.d.ts +1833 -0
  123. package/types/IntentsUI.d.ts +5 -0
  124. package/types/JavaRuntimeSupport.d.ts +520 -0
  125. package/types/JavaScriptCore.d.ts +934 -0
  126. package/types/Kerberos.d.ts +3754 -0
  127. package/types/Kernel.d.ts +33698 -0
  128. package/types/KernelManagement.d.ts +5 -0
  129. package/types/LatentSemanticMapping.d.ts +152 -0
  130. package/types/LinkPresentation.d.ts +57 -0
  131. package/types/LocalAuthentication.d.ts +94 -0
  132. package/types/MLCompute.d.ts +2343 -0
  133. package/types/MapKit.d.ts +2125 -0
  134. package/types/Matter.d.ts +151 -0
  135. package/types/MediaAccessibility.d.ts +137 -0
  136. package/types/MediaLibrary.d.ts +394 -0
  137. package/types/MediaPlayer.d.ts +475 -0
  138. package/types/MediaToolbox.d.ts +70 -0
  139. package/types/Metal.d.ts +4542 -0
  140. package/types/MetalFX.d.ts +107 -0
  141. package/types/MetalKit.d.ts +524 -0
  142. package/types/MetalPerformanceShaders.d.ts +9306 -0
  143. package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
  144. package/types/MetricKit.d.ts +231 -0
  145. package/types/ModelIO.d.ts +2908 -0
  146. package/types/MultipeerConnectivity.d.ts +348 -0
  147. package/types/NaturalLanguage.d.ts +556 -0
  148. package/types/NearbyInteraction.d.ts +51 -0
  149. package/types/NetFS.d.ts +99 -0
  150. package/types/Network.d.ts +1622 -0
  151. package/types/NetworkExtension.d.ts +1574 -0
  152. package/types/NotificationCenter.d.ts +103 -0
  153. package/types/OSAKit.d.ts +260 -0
  154. package/types/OSLog.d.ts +208 -0
  155. package/types/OpenAL.d.ts +314 -0
  156. package/types/OpenCL.d.ts +2489 -0
  157. package/types/OpenDirectory.d.ts +1919 -0
  158. package/types/OpenGL.d.ts +11322 -0
  159. package/types/PCSC.d.ts +534 -0
  160. package/types/PDFKit.d.ts +1575 -0
  161. package/types/PHASE.d.ts +166 -0
  162. package/types/ParavirtualizedGraphics.d.ts +153 -0
  163. package/types/PassKit.d.ts +1287 -0
  164. package/types/PencilKit.d.ts +201 -0
  165. package/types/Photos.d.ts +1125 -0
  166. package/types/PhotosUI.d.ts +397 -0
  167. package/types/PreferencePanes.d.ts +68 -0
  168. package/types/ProximityReaderStub.d.ts +5 -0
  169. package/types/PushKit.d.ts +45 -0
  170. package/types/Quartz.d.ts +1642 -0
  171. package/types/QuartzCore.d.ts +1398 -0
  172. package/types/QuickLook.d.ts +212 -0
  173. package/types/QuickLookThumbnailing.d.ts +131 -0
  174. package/types/QuickLookUI.d.ts +117 -0
  175. package/types/REVISION.json +5 -0
  176. package/types/ReplayKit.d.ts +294 -0
  177. package/types/Runtime.d.ts +51605 -0
  178. package/types/SafariServices.d.ts +430 -0
  179. package/types/SafetyKit.d.ts +7 -0
  180. package/types/SceneKit.d.ts +4996 -0
  181. package/types/ScreenCaptureKit.d.ts +16 -0
  182. package/types/ScreenSaver.d.ts +41 -0
  183. package/types/ScreenTime.d.ts +41 -0
  184. package/types/ScriptingBridge.d.ts +96 -0
  185. package/types/Security.d.ts +14336 -0
  186. package/types/SecurityFoundation.d.ts +53 -0
  187. package/types/SecurityInterface.d.ts +297 -0
  188. package/types/SensorKit.d.ts +7 -0
  189. package/types/ServiceManagement.d.ts +71 -0
  190. package/types/SharedWithYou.d.ts +9 -0
  191. package/types/SharedWithYouCore.d.ts +5 -0
  192. package/types/ShazamKit.d.ts +12 -0
  193. package/types/Social.d.ts +306 -0
  194. package/types/SoundAnalysis.d.ts +177 -0
  195. package/types/Speech.d.ts +246 -0
  196. package/types/SpriteKit.d.ts +2766 -0
  197. package/types/StoreKit.d.ts +509 -0
  198. package/types/SyncServices.d.ts +551 -0
  199. package/types/SystemConfiguration.d.ts +1415 -0
  200. package/types/SystemExtensions.d.ts +89 -0
  201. package/types/TWAIN.d.ts +380 -0
  202. package/types/Tcl.d.ts +4013 -0
  203. package/types/ThreadNetwork.d.ts +77 -0
  204. package/types/Tk.d.ts +3750 -0
  205. package/types/UIUtilities.d.ts +31 -0
  206. package/types/UniformTypeIdentifiers.d.ts +358 -0
  207. package/types/UserNotifications.d.ts +538 -0
  208. package/types/UserNotificationsUI.d.ts +38 -0
  209. package/types/VideoDecodeAcceleration.d.ts +50 -0
  210. package/types/VideoSubscriberAccount.d.ts +139 -0
  211. package/types/VideoToolbox.d.ts +907 -0
  212. package/types/Virtualization.d.ts +302 -0
  213. package/types/Vision.d.ts +1723 -0
  214. package/types/WebKit.d.ts +5195 -0
  215. package/types/WidgetKit.d.ts +9 -0
  216. package/types/_LocationEssentials.d.ts +159 -0
  217. package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
  218. package/types/iTunesLibrary.d.ts +528 -0
  219. package/types/index.d.ts +9 -0
  220. package/types/vecLib.d.ts +33586 -0
  221. package/types/vmnet.d.ts +178 -0
  222. package/src/appkit.d.ts +0 -472
@@ -0,0 +1,1558 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+ /// <reference path="./Runtime.d.ts" />
3
+ /// <reference path="./Foundation.d.ts" />
4
+
5
+ declare const CNLabelContactRelationGrandmotherMothersMother: string
6
+
7
+ declare const CNLabelContactRelationFather: string
8
+
9
+ declare const CNContactPhoneticOrganizationNameKey: string
10
+
11
+ declare const CNLabelContactRelationCoSiblingInLaw: string
12
+
13
+ declare const CNContactImageDataKey: string
14
+
15
+ declare const CNLabelContactRelationYoungerCousinMothersSistersDaughter: string
16
+
17
+ declare const CNLabelContactRelationChildInLaw: string
18
+
19
+ declare const CNLabelContactRelationAuntParentsElderSister: string
20
+
21
+ declare const CNErrorUserInfoAffectedRecordIdentifiersKey: string
22
+
23
+ declare const CNErrorUserInfoAffectedRecordsKey: string
24
+
25
+ declare const CNPostalAddressLocalizedPropertyNameAttribute: string
26
+
27
+ declare const CNContainerTypeKey: string
28
+
29
+ declare const CNContainerNameKey: string
30
+
31
+ declare const CNContainerIdentifierKey: string
32
+
33
+ declare const CNGroupIdentifierKey: string
34
+
35
+ declare const CNContactStoreDidChangeNotification: string
36
+
37
+ declare const CNContactDatesKey: string
38
+
39
+ declare const CNContactPostalAddressesKey: string
40
+
41
+ declare const CNContactEmailAddressesKey: string
42
+
43
+ declare const CNContactPhoneNumbersKey: string
44
+
45
+ declare const CNContactTypeKey: string
46
+
47
+ declare const CNContactImageDataAvailableKey: string
48
+
49
+ declare const CNContactNonGregorianBirthdayKey: string
50
+
51
+ declare const CNContactPhoneticFamilyNameKey: string
52
+
53
+ declare const CNContactPhoneticMiddleNameKey: string
54
+
55
+ declare const CNContactMiddleNameKey: string
56
+
57
+ declare const CNContactGivenNameKey: string
58
+
59
+ declare const CNContactNamePrefixKey: string
60
+
61
+ declare const CNContactIdentifierKey: string
62
+
63
+ declare const CNInstantMessageServiceQQ: string
64
+
65
+ declare const CNInstantMessageServiceJabber: string
66
+
67
+ declare const CNInstantMessageServiceICQ: string
68
+
69
+ declare const CNInstantMessageServiceGoogleTalk: string
70
+
71
+ declare const CNInstantMessageServiceAIM: string
72
+
73
+ declare const CNInstantMessageAddressServiceKey: string
74
+
75
+ declare const CNSocialProfileServiceGameCenter: string
76
+
77
+ declare const CNSocialProfileServiceYelp: string
78
+
79
+ declare const CNSocialProfileServiceTwitter: string
80
+
81
+ declare const CNSocialProfileServiceLinkedIn: string
82
+
83
+ declare const CNSocialProfileServiceFacebook: string
84
+
85
+ declare const CNSocialProfileServiceKey: string
86
+
87
+ declare const CNSocialProfileUsernameKey: string
88
+
89
+ declare const CNSocialProfileURLStringKey: string
90
+
91
+ declare const CNLabelContactRelationGrandsonOrNephew: string
92
+
93
+ declare const CNLabelContactRelationNephewOrCousin: string
94
+
95
+ declare const CNLabelContactRelationCousinOrSiblingsChild: string
96
+
97
+ declare const CNLabelContactRelationSonInLawOrStepson: string
98
+
99
+ declare const CNLabelContactRelationStepbrother: string
100
+
101
+ declare const CNLabelContactRelationStepfather: string
102
+
103
+ declare const CNLabelContactRelationStepmother: string
104
+
105
+ declare const CNLabelContactRelationStepparent: string
106
+
107
+ declare const CNLabelContactRelationGrandnephewBrothersGrandson: string
108
+
109
+ declare const CNLabelContactRelationGrandnephewSistersGrandson: string
110
+
111
+ declare const CNLabelContactRelationGrandniece: string
112
+
113
+ declare const CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon: string
114
+
115
+ declare const CNLabelContactRelationNephewBrothersSon: string
116
+
117
+ declare const CNLabelContactRelationNephewSistersSon: string
118
+
119
+ declare const CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter: string
120
+
121
+ declare const CNLabelContactRelationNieceSistersDaughter: string
122
+
123
+ declare const CNLabelContactRelationSiblingsChild: string
124
+
125
+ declare const CNLabelContactRelationUncleMothersYoungerBrother: string
126
+
127
+ declare const CNLabelContactRelationUncleParentsYoungerBrother: string
128
+
129
+ declare const CNLabelContactRelationGrandaunt: string
130
+
131
+ declare const CNLabelContactRelationAuntMothersBrothersWife: string
132
+
133
+ declare const CNLabelContactRelationAuntMothersYoungerSister: string
134
+
135
+ declare const CNLabelContactRelationAuntFathersElderBrothersWife: string
136
+
137
+ declare const CNLabelContactRelationAuntFathersYoungerBrothersWife: string
138
+
139
+ declare const CNLabelContactRelationAuntFathersElderSister: string
140
+
141
+ declare const CNLabelContactRelationAuntFathersSister: string
142
+
143
+ declare const CNLabelContactRelationAuntParentsSister: string
144
+
145
+ declare const CNLabelContactRelationParentsSiblingFathersElderSibling: string
146
+
147
+ declare const CNLabelContactRelationParentsSiblingFathersSibling: string
148
+
149
+ declare const CNLabelContactRelationParentsYoungerSibling: string
150
+
151
+ declare const CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter: string
152
+
153
+ declare const CNLabelContactRelationCousinGrandparentsSiblingsDaughter: string
154
+
155
+ declare const CNLabelContactRelationYoungerCousinFathersBrothersSon: string
156
+
157
+ declare const CNLabelContactRelationYoungerCousinFathersBrothersDaughter: string
158
+
159
+ declare const CNLabelContactRelationCousinFathersSistersSon: string
160
+
161
+ declare const CNLabelContactRelationElderCousinFathersSistersDaughter: string
162
+
163
+ declare const CNLabelContactRelationYoungerCousinMothersBrothersSon: string
164
+
165
+ declare const CNLabelContactRelationElderCousinMothersBrothersDaughter: string
166
+
167
+ declare const CNLabelContactRelationYoungerCousinMothersBrothersDaughter: string
168
+
169
+ declare const CNLabelContactRelationCousinMothersBrothersDaughter: string
170
+
171
+ declare const CNLabelContactRelationYoungerCousinParentsSiblingsDaughter: string
172
+
173
+ declare const CNLabelContactRelationCousinParentsSiblingsDaughter: string
174
+
175
+ declare const CNLabelContactRelationYoungerCousinParentsSiblingsSon: string
176
+
177
+ declare const CNLabelContactRelationFemaleCousin: string
178
+
179
+ declare const CNLabelContactRelationMaleCousin: string
180
+
181
+ declare const CNLabelContactRelationCoBrotherInLaw: string
182
+
183
+ declare const CNLabelContactRelationBrotherInLawWifesSistersHusband: string
184
+
185
+ declare const CNLabelContactRelationSisterInLawHusbandsBrothersWife: string
186
+
187
+ declare const CNLabelContactRelationBrotherInLawSpousesBrother: string
188
+
189
+ declare const CNLabelContactRelationYoungerBrotherInLaw: string
190
+
191
+ declare const CNLabelContactRelationBrotherInLaw: string
192
+
193
+ declare const CNLabelContactRelationSisterInLawElderBrothersWife: string
194
+
195
+ declare const CNLabelContactRelationSisterInLawYoungerBrothersWife: string
196
+
197
+ declare const CNLabelContactRelationSisterInLawBrothersWife: string
198
+
199
+ declare const CNLabelContactRelationSisterInLawWifesSister: string
200
+
201
+ declare const CNLabelContactRelationElderSisterInLaw: string
202
+
203
+ declare const CNLabelContactRelationYoungerSiblingInLaw: string
204
+
205
+ declare const CNLabelContactRelationCoFatherInLaw: string
206
+
207
+ declare const CNLabelContactRelationCoMotherInLaw: string
208
+
209
+ declare const CNLabelContactRelationFatherInLaw: string
210
+
211
+ declare const CNLabelContactRelationMotherInLawHusbandsMother: string
212
+
213
+ declare const CNLabelContactRelationMotherInLawWifesMother: string
214
+
215
+ declare const CNLabelContactRelationGrandsonDaughtersSon: string
216
+
217
+ declare const CNLabelContactRelationGrandson: string
218
+
219
+ declare const CNLabelContactRelationGranddaughterDaughtersDaughter: string
220
+
221
+ declare const CNLabelContactRelationGranddaughter: string
222
+
223
+ declare const CNLabelContactRelationGreatGrandparent: string
224
+
225
+ declare const CNLabelContactRelationGrandfatherMothersFather: string
226
+
227
+ declare const CNLabelContactRelationGrandfather: string
228
+
229
+ declare const CNLabelContactRelationGrandmotherFathersMother: string
230
+
231
+ declare const CNLabelContactRelationGrandparent: string
232
+
233
+ declare const CNLabelContactRelationDaughter: string
234
+
235
+ declare const CNLabelContactRelationParent: string
236
+
237
+ declare const CNLabelContactRelationGirlfriend: string
238
+
239
+ declare const CNLabelContactRelationMalePartner: string
240
+
241
+ declare const CNLabelContactRelationWife: string
242
+
243
+ declare const CNLabelContactRelationElderBrother: string
244
+
245
+ declare const CNLabelContactRelationYoungerBrother: string
246
+
247
+ declare const CNLabelContactRelationEldestSister: string
248
+
249
+ declare const CNLabelContactRelationElderSister: string
250
+
251
+ declare const CNLabelContactRelationYoungestSister: string
252
+
253
+ declare const CNLabelContactRelationYoungerSibling: string
254
+
255
+ declare const CNLabelContactRelationTeacher: string
256
+
257
+ declare const CNLabelContactRelationAssistant: string
258
+
259
+ declare const CNPostalAddressISOCountryCodeKey: string
260
+
261
+ declare const CNPostalAddressCountryKey: string
262
+
263
+ declare const CNPostalAddressSubAdministrativeAreaKey: string
264
+
265
+ declare const CNPostalAddressCityKey: string
266
+
267
+ declare const CNLabelPhoneNumberMain: string
268
+
269
+ declare const CNLabelPhoneNumberiPhone: string
270
+
271
+ declare const CNLabelDateAnniversary: string
272
+
273
+ declare const CNLabelURLAddressHomePage: string
274
+
275
+ declare const CNLabelEmailiCloud: string
276
+
277
+ declare const CNLabelOther: string
278
+
279
+ declare const CNLabelSchool: string
280
+
281
+ declare const CNLabelWork: string
282
+
283
+ declare const CNLabelHome: string
284
+
285
+ declare const CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon: string
286
+
287
+ declare const CNLabelContactRelationGreatGrandmother: string
288
+
289
+ declare const CNLabelContactRelationGranduncle: string
290
+
291
+ declare const CNLabelContactRelationCousinFathersSistersDaughter: string
292
+
293
+ declare const CNLabelContactRelationElderCousinMothersSistersDaughter: string
294
+
295
+ declare const CNLabelContactRelationUncleMothersElderBrother: string
296
+
297
+ declare const CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon: string
298
+
299
+ declare const CNLabelContactRelationColleague: string
300
+
301
+ declare const CNSocialProfileUserIdentifierKey: string
302
+
303
+ declare const CNLabelContactRelationCousinGrandparentsSiblingsSon: string
304
+
305
+ declare const CNLabelContactRelationUncle: string
306
+
307
+ declare const CNLabelContactRelationUncleFathersYoungerSistersHusband: string
308
+
309
+ declare const CNPostalAddressStreetKey: string
310
+
311
+ declare const CNLabelContactRelationNieceBrothersDaughter: string
312
+
313
+ declare const CNSocialProfileServiceFlickr: string
314
+
315
+ declare const CNLabelContactRelationGrandmother: string
316
+
317
+ declare const CNLabelContactRelationSonInLaw: string
318
+
319
+ declare const CNLabelContactRelationSpouse: string
320
+
321
+ declare const CNLabelContactRelationParentsSibling: string
322
+
323
+ declare const CNLabelContactRelationElderCousinFathersSistersSon: string
324
+
325
+ declare const CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter: string
326
+
327
+ declare const CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon: string
328
+
329
+ declare const CNLabelContactRelationBrotherInLawHusbandsSistersHusband: string
330
+
331
+ declare const CNLabelContactRelationElderSiblingInLaw: string
332
+
333
+ declare const CNLabelContactRelationGreatGrandfather: string
334
+
335
+ declare const CNInstantMessageServiceYahoo: string
336
+
337
+ declare const CNLabelContactRelationHusband: string
338
+
339
+ declare const CNLabelContactRelationBrotherInLawElderSistersHusband: string
340
+
341
+ declare const CNLabelContactRelationStepson: string
342
+
343
+ declare const CNLabelContactRelationFatherInLawHusbandsFather: string
344
+
345
+ declare const CNLabelContactRelationSonInLawOrBrotherInLaw: string
346
+
347
+ declare const CNLabelContactRelationUncleParentsBrother: string
348
+
349
+ declare const CNLabelContactRelationGrandnieceBrothersGranddaughter: string
350
+
351
+ declare const CNContactUrlAddressesKey: string
352
+
353
+ declare const CNLabelContactRelationGrandfatherFathersFather: string
354
+
355
+ declare const CNLabelContactRelationNieceOrCousin: string
356
+
357
+ declare const CNSocialProfileServiceTencentWeibo: string
358
+
359
+ declare const CNContactPropertyAttribute: string
360
+
361
+ declare const CNLabelContactRelationSister: string
362
+
363
+ declare const CNLabelContactRelationNephew: string
364
+
365
+ declare const CNContactInstantMessageAddressesKey: string
366
+
367
+ declare const CNLabelContactRelationDaughterInLawOrSisterInLaw: string
368
+
369
+ declare const CNLabelContactRelationParentsSiblingMothersSibling: string
370
+
371
+ declare const CNLabelContactRelationYoungerCousinFathersSistersSon: string
372
+
373
+ declare const CNLabelContactRelationCousin: string
374
+
375
+ declare const CNLabelContactRelationGrandchild: string
376
+
377
+ declare const CNLabelContactRelationElderSibling: string
378
+
379
+ declare const CNLabelContactRelationAunt: string
380
+
381
+ declare const CNLabelContactRelationGreatGrandchild: string
382
+
383
+ declare const CNLabelContactRelationCousinMothersSistersSon: string
384
+
385
+ declare const CNLabelContactRelationUncleFathersElderBrother: string
386
+
387
+ declare const CNLabelContactRelationAuntMothersElderSister: string
388
+
389
+ declare const CNLabelContactRelationUncleMothersBrother: string
390
+
391
+ declare const CNErrorUserInfoKeyPathsKey: string
392
+
393
+ declare const CNLabelContactRelationGrandsonSonsSon: string
394
+
395
+ declare const CNLabelContactRelationPartner: string
396
+
397
+ declare const CNLabelContactRelationSiblingInLaw: string
398
+
399
+ declare const CNContactRelationsKey: string
400
+
401
+ declare const CNContactOrganizationNameKey: string
402
+
403
+ declare const CNLabelContactRelationBrotherInLawWifesBrother: string
404
+
405
+ declare const CNLabelContactRelationFemaleFriend: string
406
+
407
+ declare const CNLabelContactRelationStepdaughter: string
408
+
409
+ declare const CNLabelContactRelationCousinMothersBrothersSon: string
410
+
411
+ declare const CNLabelContactRelationMother: string
412
+
413
+ declare const CNLabelContactRelationGrandnieceSistersGranddaughter: string
414
+
415
+ declare const CNSocialProfileServiceSinaWeibo: string
416
+
417
+ declare const CNLabelContactRelationAuntFathersYoungerSister: string
418
+
419
+ declare const CNLabelContactRelationUncleFathersBrother: string
420
+
421
+ declare const CNLabelPhoneNumberOtherFax: string
422
+
423
+ declare const CNSocialProfileServiceMySpace: string
424
+
425
+ declare const CNLabelContactRelationSisterInLawWifesBrothersWife: string
426
+
427
+ declare const CNLabelContactRelationUncleMothersSistersHusband: string
428
+
429
+ declare const CNLabelContactRelationCoParentInLaw: string
430
+
431
+ declare const CNLabelContactRelationFriend: string
432
+
433
+ declare const CNLabelContactRelationCousinFathersBrothersSon: string
434
+
435
+ declare const CNLabelContactRelationGrandnephew: string
436
+
437
+ declare const CNLabelContactRelationParentsSiblingMothersElderSibling: string
438
+
439
+ declare const CNPostalAddressPropertyAttribute: string
440
+
441
+ declare const CNLabelContactRelationYoungerSisterInLaw: string
442
+
443
+ declare const CNErrorUserInfoValidationErrorsKey: string
444
+
445
+ declare const CNLabelContactRelationDaughterInLaw: string
446
+
447
+ declare const CNLabelContactRelationSisterInLawHusbandsSister: string
448
+
449
+ declare const CNLabelContactRelationElderCousinParentsSiblingsSon: string
450
+
451
+ declare const CNContactFamilyNameKey: string
452
+
453
+ declare const CNLabelContactRelationUncleFathersElderSistersHusband: string
454
+
455
+ declare const CNPostalAddressStateKey: string
456
+
457
+ declare const CNContactThumbnailImageDataKey: string
458
+
459
+ declare const CNLabelContactRelationParentsElderSibling: string
460
+
461
+ declare const CNContactPropertyNotFetchedExceptionName: string
462
+
463
+ declare const CNLabelContactRelationGrandchildOrSiblingsChild: string
464
+
465
+ declare const CNLabelContactRelationElderCousinMothersSistersSon: string
466
+
467
+ declare const CNLabelContactRelationAuntFathersBrothersWife: string
468
+
469
+ declare const CNLabelContactRelationChild: string
470
+
471
+ declare const CNLabelContactRelationParentInLaw: string
472
+
473
+ declare const CNLabelContactRelationStepsister: string
474
+
475
+ declare const CNLabelContactRelationMaleFriend: string
476
+
477
+ declare const CNLabelContactRelationBrotherInLawHusbandsBrother: string
478
+
479
+ declare const CNInstantMessageAddressUsernameKey: string
480
+
481
+ declare const CNLabelContactRelationYoungestBrother: string
482
+
483
+ declare const CNInstantMessageServiceGaduGadu: string
484
+
485
+ declare const CNLabelContactRelationYoungerCousinFathersSistersDaughter: string
486
+
487
+ declare const CNLabelContactRelationGranddaughterOrNiece: string
488
+
489
+ declare const CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild: string
490
+
491
+ declare const CNContactDepartmentNameKey: string
492
+
493
+ declare const CNLabelContactRelationNiece: string
494
+
495
+ declare const CNLabelContactRelationElderCousinFathersBrothersDaughter: string
496
+
497
+ declare const CNLabelContactRelationAuntMothersSister: string
498
+
499
+ declare const CNGroupNameKey: string
500
+
501
+ declare const CNContactBirthdayKey: string
502
+
503
+ declare const CNLabelContactRelationElderCousinFathersBrothersSon: string
504
+
505
+ declare const CNLabelContactRelationCousinParentsSiblingsSon: string
506
+
507
+ declare const CNLabelContactRelationCousinFathersBrothersDaughter: string
508
+
509
+ declare const CNContactSocialProfilesKey: string
510
+
511
+ declare const CNLabelContactRelationFatherInLawOrStepfather: string
512
+
513
+ declare const CNLabelContactRelationParentsSiblingFathersYoungerSibling: string
514
+
515
+ declare const CNLabelContactRelationCousinGrandparentsSiblingsChild: string
516
+
517
+ declare const CNLabelContactRelationYoungerSister: string
518
+
519
+ declare const CNInstantMessageServiceSkype: string
520
+
521
+ declare const CNInstantMessageServiceMSN: string
522
+
523
+ declare const CNPostalAddressPostalCodeKey: string
524
+
525
+ declare const CNContactPhoneticGivenNameKey: string
526
+
527
+ declare const CNLabelContactRelationUncleFathersYoungerBrother: string
528
+
529
+ declare const CNLabelContactRelationElderCousinParentsSiblingsDaughter: string
530
+
531
+ declare const CNLabelContactRelationFemalePartner: string
532
+
533
+ declare const CNContactJobTitleKey: string
534
+
535
+ declare const CNLabelContactRelationElderCousinMothersBrothersSon: string
536
+
537
+ declare const CNLabelContactRelationBoyfriend: string
538
+
539
+ declare const CNErrorDomain: string
540
+
541
+ declare const CNLabelContactRelationYoungerCousinMothersSistersSon: string
542
+
543
+ declare const CNLabelContactRelationSisterInLaw: string
544
+
545
+ declare const CNLabelPhoneNumberHomeFax: string
546
+
547
+ declare const CNLabelContactRelationBrother: string
548
+
549
+ declare const CNLabelContactRelationElderBrotherInLaw: string
550
+
551
+ declare const CNLabelContactRelationSibling: string
552
+
553
+ declare const CNContactNicknameKey: string
554
+
555
+ declare const CNInstantMessageServiceFacebook: string
556
+
557
+ declare const CNLabelContactRelationEldestBrother: string
558
+
559
+ declare const CNLabelContactRelationCousinParentsSiblingsChild: string
560
+
561
+ declare const CNLabelContactRelationGreatGranddaughter: string
562
+
563
+ declare const CNLabelContactRelationGranddaughterSonsDaughter: string
564
+
565
+ declare const CNLabelContactRelationGirlfriendOrBoyfriend: string
566
+
567
+ declare const CNLabelContactRelationCousinMothersSistersDaughter: string
568
+
569
+ declare const CNLabelContactRelationYoungerCousin: string
570
+
571
+ declare const CNLabelContactRelationStepchild: string
572
+
573
+ declare const CNLabelContactRelationSisterInLawSpousesSister: string
574
+
575
+ declare const CNLabelContactRelationMotherInLaw: string
576
+
577
+ declare const CNLabelContactRelationMotherInLawOrStepmother: string
578
+
579
+ declare const CNContactNameSuffixKey: string
580
+
581
+ declare const CNLabelContactRelationUncleParentsElderBrother: string
582
+
583
+ declare const CNLabelContactRelationCoSisterInLaw: string
584
+
585
+ declare const CNLabelContactRelationParentsSiblingMothersYoungerSibling: string
586
+
587
+ declare const CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter: string
588
+
589
+ declare const CNPostalAddressSubLocalityKey: string
590
+
591
+ declare const CNLabelPhoneNumberPager: string
592
+
593
+ declare const CNLabelContactRelationAuntParentsYoungerSister: string
594
+
595
+ declare const CNContactPreviousFamilyNameKey: string
596
+
597
+ declare const CNContactNoteKey: string
598
+
599
+ declare const CNLabelContactRelationFatherInLawWifesFather: string
600
+
601
+ declare const CNLabelContactRelationBrotherInLawSistersHusband: string
602
+
603
+ declare const CNLabelContactRelationDaughterInLawOrStepdaughter: string
604
+
605
+ declare const CNLabelContactRelationElderCousin: string
606
+
607
+ declare const CNLabelContactRelationManager: string
608
+
609
+ declare const CNLabelContactRelationSon: string
610
+
611
+ declare const CNLabelContactRelationUncleFathersSistersHusband: string
612
+
613
+ declare const CNLabelPhoneNumberWorkFax: string
614
+
615
+ declare const CNLabelContactRelationBrotherInLawYoungerSistersHusband: string
616
+
617
+ declare const CNLabelContactRelationGreatGrandson: string
618
+
619
+ declare const CNLabelPhoneNumberMobile: string
620
+
621
+ declare const CNEntityType: {
622
+ CNEntityTypeContacts: 0
623
+ }
624
+
625
+ declare const CNContactSortOrder: {
626
+ None: 0
627
+ UserDefault: 1
628
+ GivenName: 2
629
+ FamilyName: 3
630
+ }
631
+
632
+ declare const CNContactDisplayNameOrder: {
633
+ UserDefault: 0
634
+ GivenNameFirst: 1
635
+ FamilyNameFirst: 2
636
+ }
637
+
638
+ declare const CNAuthorizationStatus: {
639
+ NotDetermined: 0
640
+ Restricted: 1
641
+ Denied: 2
642
+ Authorized: 3
643
+ }
644
+
645
+ declare const CNErrorCode: {
646
+ CommunicationError: 1
647
+ DataAccessError: 2
648
+ AuthorizationDenied: 100
649
+ NoAccessableWritableContainers: 101
650
+ UnauthorizedKeys: 102
651
+ FeatureDisabledByUser: 103
652
+ RecordDoesNotExist: 200
653
+ InsertedRecordAlreadyExists: 201
654
+ ContainmentCycle: 202
655
+ ContainmentScope: 203
656
+ ParentRecordDoesNotExist: 204
657
+ RecordIdentifierInvalid: 205
658
+ RecordNotWritable: 206
659
+ ParentContainerNotWritable: 207
660
+ ValidationMultipleErrors: 300
661
+ ValidationTypeMismatch: 301
662
+ ValidationConfigurationError: 302
663
+ PredicateInvalid: 400
664
+ PolicyViolation: 500
665
+ ClientIdentifierInvalid: 600
666
+ ClientIdentifierDoesNotExist: 601
667
+ ClientIdentifierCollision: 602
668
+ ChangeHistoryExpired: 603
669
+ ChangeHistoryInvalidAnchor: 604
670
+ ChangeHistoryInvalidFetchRequest: 605
671
+ VCardMalformed: 700
672
+ VCardSummarizationError: 701
673
+ }
674
+
675
+ declare const CNContactFormatterStyle: {
676
+ CNContactFormatterStyleFullName: 0
677
+ Phonetic: 1
678
+ }
679
+
680
+ declare const CNContainerType: {
681
+ Unassigned: 0
682
+ Local: 1
683
+ Exchange: 2
684
+ CardDAV: 3
685
+ }
686
+
687
+ declare const CNPostalAddressFormatterStyle: {
688
+ CNPostalAddressFormatterStyleMailingAddress: 0
689
+ }
690
+
691
+ declare const CNContactType: {
692
+ Person: 0
693
+ Organization: 1
694
+ }
695
+
696
+ declare interface CNKeyDescriptor extends NSObjectProtocol, NSSecureCoding, NSCopying {}
697
+
698
+ declare class CNKeyDescriptor extends NativeObject implements CNKeyDescriptor {}
699
+
700
+ declare interface CNChangeHistoryEventVisitor extends NSObjectProtocol {
701
+ visitDropEverythingEvent(event: CNChangeHistoryDropEverythingEvent): void
702
+
703
+ visitAddContactEvent(event: CNChangeHistoryAddContactEvent): void
704
+
705
+ visitUpdateContactEvent(event: CNChangeHistoryUpdateContactEvent): void
706
+
707
+ visitDeleteContactEvent(event: CNChangeHistoryDeleteContactEvent): void
708
+
709
+ visitAddGroupEvent?(event: CNChangeHistoryAddGroupEvent): void
710
+
711
+ visitUpdateGroupEvent?(event: CNChangeHistoryUpdateGroupEvent): void
712
+
713
+ visitDeleteGroupEvent?(event: CNChangeHistoryDeleteGroupEvent): void
714
+
715
+ visitAddMemberToGroupEvent?(event: CNChangeHistoryAddMemberToGroupEvent): void
716
+
717
+ visitRemoveMemberFromGroupEvent?(event: CNChangeHistoryRemoveMemberFromGroupEvent): void
718
+
719
+ visitAddSubgroupToGroupEvent?(event: CNChangeHistoryAddSubgroupToGroupEvent): void
720
+
721
+ visitRemoveSubgroupFromGroupEvent?(event: CNChangeHistoryRemoveSubgroupFromGroupEvent): void
722
+ }
723
+
724
+ declare class CNChangeHistoryEventVisitor
725
+ extends NativeObject
726
+ implements CNChangeHistoryEventVisitor {}
727
+
728
+ declare class CNChangeHistoryEvent extends NSObject implements NSCopying, NSSecureCoding {
729
+ acceptEventVisitor(visitor: CNChangeHistoryEventVisitor): void
730
+
731
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
732
+
733
+ static readonly supportsSecureCoding: boolean
734
+
735
+ encodeWithCoder(coder: NSCoder): void
736
+
737
+ initWithCoder(coder: NSCoder): this
738
+ }
739
+
740
+ declare class CNChangeHistoryAddMemberToGroupEvent extends CNChangeHistoryEvent {
741
+ readonly member: CNContact
742
+
743
+ readonly group: CNGroup
744
+ }
745
+
746
+ declare class CNContactProperty extends NSObject implements NSCopying, NSSecureCoding {
747
+ readonly contact: CNContact
748
+
749
+ readonly key: string
750
+
751
+ readonly value: interop.Object
752
+
753
+ readonly identifier: string
754
+
755
+ readonly label: string
756
+
757
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
758
+
759
+ static readonly supportsSecureCoding: boolean
760
+
761
+ encodeWithCoder(coder: NSCoder): void
762
+
763
+ initWithCoder(coder: NSCoder): this
764
+ }
765
+
766
+ declare class CNFetchRequest extends NSObject {}
767
+
768
+ declare class CNContactVCardSerialization extends NSObject {
769
+ static descriptorForRequiredKeys(): CNKeyDescriptor
770
+
771
+ static dataWithContactsError(
772
+ contacts: NSArray<interop.Object> | Array<interop.Object>,
773
+ error: interop.PointerConvertible,
774
+ ): NSData
775
+
776
+ static contactsWithDataError(data: NSData, error: interop.PointerConvertible): NSArray
777
+ }
778
+
779
+ declare class CNPostalAddressFormatter extends NSFormatter {
780
+ static stringFromPostalAddressStyle(
781
+ postalAddress: CNPostalAddress,
782
+ style: interop.Enum<typeof CNPostalAddressFormatterStyle>,
783
+ ): string
784
+
785
+ static attributedStringFromPostalAddressStyleWithDefaultAttributes(
786
+ postalAddress: CNPostalAddress,
787
+ style: interop.Enum<typeof CNPostalAddressFormatterStyle>,
788
+ attributes:
789
+ | NSDictionary<interop.Object, interop.Object>
790
+ | Record<interop.Object, interop.Object>,
791
+ ): NSAttributedString
792
+
793
+ style: interop.Enum<typeof CNPostalAddressFormatterStyle>
794
+
795
+ stringFromPostalAddress(postalAddress: CNPostalAddress): string
796
+
797
+ attributedStringFromPostalAddressWithDefaultAttributes(
798
+ postalAddress: CNPostalAddress,
799
+ attributes:
800
+ | NSDictionary<interop.Object, interop.Object>
801
+ | Record<interop.Object, interop.Object>,
802
+ ): NSAttributedString
803
+ }
804
+
805
+ declare class CNContactFormatter extends NSFormatter implements NSSecureCoding {
806
+ static descriptorForRequiredKeysForStyle(
807
+ style: interop.Enum<typeof CNContactFormatterStyle>,
808
+ ): CNKeyDescriptor
809
+
810
+ static readonly descriptorForRequiredKeysForNameOrder: CNKeyDescriptor
811
+
812
+ static readonly descriptorForRequiredKeysForDelimiter: CNKeyDescriptor
813
+
814
+ static stringFromContactStyle(
815
+ contact: CNContact,
816
+ style: interop.Enum<typeof CNContactFormatterStyle>,
817
+ ): string
818
+
819
+ static attributedStringFromContactStyleDefaultAttributes(
820
+ contact: CNContact,
821
+ style: interop.Enum<typeof CNContactFormatterStyle>,
822
+ attributes:
823
+ | NSDictionary<interop.Object, interop.Object>
824
+ | Record<interop.Object, interop.Object>
825
+ | null,
826
+ ): NSAttributedString
827
+
828
+ static nameOrderForContact(contact: CNContact): interop.Enum<typeof CNContactDisplayNameOrder>
829
+
830
+ static delimiterForContact(contact: CNContact): string
831
+
832
+ style: interop.Enum<typeof CNContactFormatterStyle>
833
+
834
+ stringFromContact(contact: CNContact): string
835
+
836
+ attributedStringFromContactDefaultAttributes(
837
+ contact: CNContact,
838
+ attributes:
839
+ | NSDictionary<interop.Object, interop.Object>
840
+ | Record<interop.Object, interop.Object>
841
+ | null,
842
+ ): NSAttributedString
843
+
844
+ static readonly supportsSecureCoding: boolean
845
+
846
+ encodeWithCoder(coder: NSCoder): void
847
+
848
+ initWithCoder(coder: NSCoder): this
849
+ }
850
+
851
+ declare class CNPhoneNumber extends NSObject implements NSCopying, NSSecureCoding {
852
+ static phoneNumberWithStringValue<This extends abstract new (...args: any) => any>(
853
+ this: This,
854
+ stringValue: string,
855
+ ): InstanceType<This>
856
+
857
+ initWithStringValue(string: string): this
858
+
859
+ init(): this
860
+
861
+ static new<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
862
+
863
+ readonly stringValue: string
864
+
865
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
866
+
867
+ static readonly supportsSecureCoding: boolean
868
+
869
+ encodeWithCoder(coder: NSCoder): void
870
+
871
+ initWithCoder(coder: NSCoder): this
872
+ }
873
+
874
+ declare class CNGroup extends NSObject implements NSCopying, NSMutableCopying, NSSecureCoding {
875
+ readonly identifier: string
876
+
877
+ readonly name: string
878
+
879
+ static predicateForGroupsWithIdentifiers(
880
+ identifiers: NSArray<interop.Object> | Array<interop.Object>,
881
+ ): NSPredicate
882
+
883
+ static predicateForSubgroupsInGroupWithIdentifier(parentGroupIdentifier: string): NSPredicate
884
+
885
+ static predicateForGroupsInContainerWithIdentifier(containerIdentifier: string): NSPredicate
886
+
887
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
888
+
889
+ mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
890
+
891
+ static readonly supportsSecureCoding: boolean
892
+
893
+ encodeWithCoder(coder: NSCoder): void
894
+
895
+ initWithCoder(coder: NSCoder): this
896
+ }
897
+
898
+ // @ts-ignore ClassDecl.tsIgnore
899
+ declare class CNMutableContact extends CNContact {
900
+ // @ts-ignore MemberDecl.tsIgnore
901
+ contactType: interop.Enum<typeof CNContactType>
902
+
903
+ // @ts-ignore MemberDecl.tsIgnore
904
+ namePrefix: string
905
+
906
+ // @ts-ignore MemberDecl.tsIgnore
907
+ givenName: string
908
+
909
+ // @ts-ignore MemberDecl.tsIgnore
910
+ middleName: string
911
+
912
+ // @ts-ignore MemberDecl.tsIgnore
913
+ familyName: string
914
+
915
+ // @ts-ignore MemberDecl.tsIgnore
916
+ previousFamilyName: string
917
+
918
+ // @ts-ignore MemberDecl.tsIgnore
919
+ nameSuffix: string
920
+
921
+ // @ts-ignore MemberDecl.tsIgnore
922
+ nickname: string
923
+
924
+ // @ts-ignore MemberDecl.tsIgnore
925
+ organizationName: string
926
+
927
+ // @ts-ignore MemberDecl.tsIgnore
928
+ departmentName: string
929
+
930
+ // @ts-ignore MemberDecl.tsIgnore
931
+ jobTitle: string
932
+
933
+ // @ts-ignore MemberDecl.tsIgnore
934
+ phoneticGivenName: string
935
+
936
+ // @ts-ignore MemberDecl.tsIgnore
937
+ phoneticMiddleName: string
938
+
939
+ // @ts-ignore MemberDecl.tsIgnore
940
+ phoneticFamilyName: string
941
+
942
+ // @ts-ignore MemberDecl.tsIgnore
943
+ phoneticOrganizationName: string
944
+
945
+ // @ts-ignore MemberDecl.tsIgnore
946
+ note: string
947
+
948
+ // @ts-ignore MemberDecl.tsIgnore
949
+ imageData: NSData
950
+
951
+ // @ts-ignore MemberDecl.tsIgnore
952
+ get phoneNumbers(): NSArray
953
+ // @ts-ignore MemberDecl.tsIgnore
954
+ set phoneNumbers(value: NSArray<interop.Object> | Array<interop.Object>)
955
+
956
+ // @ts-ignore MemberDecl.tsIgnore
957
+ get emailAddresses(): NSArray
958
+ // @ts-ignore MemberDecl.tsIgnore
959
+ set emailAddresses(value: NSArray<interop.Object> | Array<interop.Object>)
960
+
961
+ // @ts-ignore MemberDecl.tsIgnore
962
+ get postalAddresses(): NSArray
963
+ // @ts-ignore MemberDecl.tsIgnore
964
+ set postalAddresses(value: NSArray<interop.Object> | Array<interop.Object>)
965
+
966
+ // @ts-ignore MemberDecl.tsIgnore
967
+ get urlAddresses(): NSArray
968
+ // @ts-ignore MemberDecl.tsIgnore
969
+ set urlAddresses(value: NSArray<interop.Object> | Array<interop.Object>)
970
+
971
+ // @ts-ignore MemberDecl.tsIgnore
972
+ get contactRelations(): NSArray
973
+ // @ts-ignore MemberDecl.tsIgnore
974
+ set contactRelations(value: NSArray<interop.Object> | Array<interop.Object>)
975
+
976
+ // @ts-ignore MemberDecl.tsIgnore
977
+ get socialProfiles(): NSArray
978
+ // @ts-ignore MemberDecl.tsIgnore
979
+ set socialProfiles(value: NSArray<interop.Object> | Array<interop.Object>)
980
+
981
+ // @ts-ignore MemberDecl.tsIgnore
982
+ get instantMessageAddresses(): NSArray
983
+ // @ts-ignore MemberDecl.tsIgnore
984
+ set instantMessageAddresses(value: NSArray<interop.Object> | Array<interop.Object>)
985
+
986
+ // @ts-ignore MemberDecl.tsIgnore
987
+ birthday: NSDateComponents
988
+
989
+ // @ts-ignore MemberDecl.tsIgnore
990
+ nonGregorianBirthday: NSDateComponents
991
+
992
+ // @ts-ignore MemberDecl.tsIgnore
993
+ get dates(): NSArray
994
+ // @ts-ignore MemberDecl.tsIgnore
995
+ set dates(value: NSArray<interop.Object> | Array<interop.Object>)
996
+ }
997
+
998
+ declare class CNChangeHistoryRemoveSubgroupFromGroupEvent extends CNChangeHistoryEvent {
999
+ readonly subgroup: CNGroup
1000
+
1001
+ readonly group: CNGroup
1002
+ }
1003
+
1004
+ declare class CNChangeHistoryAddSubgroupToGroupEvent extends CNChangeHistoryEvent {
1005
+ readonly subgroup: CNGroup
1006
+
1007
+ readonly group: CNGroup
1008
+ }
1009
+
1010
+ declare class CNChangeHistoryRemoveMemberFromGroupEvent extends CNChangeHistoryEvent {
1011
+ readonly member: CNContact
1012
+
1013
+ readonly group: CNGroup
1014
+ }
1015
+
1016
+ declare class CNChangeHistoryUpdateGroupEvent extends CNChangeHistoryEvent {
1017
+ readonly group: CNGroup
1018
+ }
1019
+
1020
+ declare class CNChangeHistoryAddGroupEvent extends CNChangeHistoryEvent {
1021
+ readonly group: CNGroup
1022
+
1023
+ readonly containerIdentifier: string
1024
+ }
1025
+
1026
+ declare class CNChangeHistoryUpdateContactEvent extends CNChangeHistoryEvent {
1027
+ readonly contact: CNContact
1028
+ }
1029
+
1030
+ declare class CNChangeHistoryDropEverythingEvent extends CNChangeHistoryEvent {}
1031
+
1032
+ declare class CNContactRelation extends NSObject implements NSCopying, NSSecureCoding {
1033
+ static contactRelationWithName<This extends abstract new (...args: any) => any>(
1034
+ this: This,
1035
+ name: string,
1036
+ ): InstanceType<This>
1037
+
1038
+ initWithName(name: string): this
1039
+
1040
+ readonly name: string
1041
+
1042
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1043
+
1044
+ static readonly supportsSecureCoding: boolean
1045
+
1046
+ encodeWithCoder(coder: NSCoder): void
1047
+
1048
+ initWithCoder(coder: NSCoder): this
1049
+ }
1050
+
1051
+ declare class CNLabeledValue<ValueType = interop.Object>
1052
+ extends NSObject
1053
+ implements NSCopying, NSSecureCoding
1054
+ {
1055
+ readonly identifier: string
1056
+
1057
+ readonly label: string
1058
+
1059
+ readonly value: ValueType
1060
+
1061
+ static labeledValueWithLabelValue<ValueType, This extends abstract new (...args: any) => any>(
1062
+ this: This,
1063
+ label: string | null,
1064
+ value: ValueType,
1065
+ ): InstanceType<This>
1066
+
1067
+ initWithLabelValue(label: string | null, value: ValueType): this
1068
+
1069
+ labeledValueBySettingLabel(label: string | null): this
1070
+
1071
+ labeledValueBySettingValue(value: ValueType): this
1072
+
1073
+ labeledValueBySettingLabelValue(label: string | null, value: ValueType): this
1074
+
1075
+ static localizedStringForLabel<ValueType>(label: string): string
1076
+
1077
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1078
+
1079
+ static readonly supportsSecureCoding: boolean
1080
+
1081
+ encodeWithCoder(coder: NSCoder): void
1082
+
1083
+ initWithCoder(coder: NSCoder): this
1084
+ }
1085
+
1086
+ declare class CNChangeHistoryAddContactEvent extends CNChangeHistoryEvent {
1087
+ readonly contact: CNContact
1088
+
1089
+ readonly containerIdentifier: string
1090
+ }
1091
+
1092
+ declare class CNChangeHistoryDeleteContactEvent extends CNChangeHistoryEvent {
1093
+ readonly contactIdentifier: string
1094
+ }
1095
+
1096
+ declare class CNContactFetchRequest extends CNFetchRequest implements NSSecureCoding {
1097
+ initWithKeysToFetch(keysToFetch: NSArray<interop.Object> | Array<interop.Object>): this
1098
+
1099
+ predicate: NSPredicate
1100
+
1101
+ get keysToFetch(): NSArray
1102
+ set keysToFetch(value: NSArray<interop.Object> | Array<interop.Object>)
1103
+
1104
+ mutableObjects: boolean
1105
+
1106
+ unifyResults: boolean
1107
+
1108
+ sortOrder: interop.Enum<typeof CNContactSortOrder>
1109
+
1110
+ static readonly supportsSecureCoding: boolean
1111
+
1112
+ encodeWithCoder(coder: NSCoder): void
1113
+
1114
+ initWithCoder(coder: NSCoder): this
1115
+ }
1116
+
1117
+ // @ts-ignore ClassDecl.tsIgnore
1118
+ declare class CNMutableGroup extends CNGroup {
1119
+ // @ts-ignore MemberDecl.tsIgnore
1120
+ name: string
1121
+ }
1122
+
1123
+ declare class CNContactsUserDefaults extends NSObject {
1124
+ static sharedDefaults<This extends abstract new (...args: any) => any>(
1125
+ this: This,
1126
+ ): InstanceType<This>
1127
+
1128
+ readonly sortOrder: interop.Enum<typeof CNContactSortOrder>
1129
+
1130
+ readonly countryCode: string
1131
+ }
1132
+
1133
+ declare class CNContainer extends NSObject implements NSCopying, NSSecureCoding {
1134
+ readonly identifier: string
1135
+
1136
+ readonly name: string
1137
+
1138
+ readonly type: interop.Enum<typeof CNContainerType>
1139
+
1140
+ static predicateForContainersWithIdentifiers(
1141
+ identifiers: NSArray<interop.Object> | Array<interop.Object>,
1142
+ ): NSPredicate
1143
+
1144
+ static predicateForContainerOfContactWithIdentifier(contactIdentifier: string): NSPredicate
1145
+
1146
+ static predicateForContainerOfGroupWithIdentifier(groupIdentifier: string): NSPredicate
1147
+
1148
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1149
+
1150
+ static readonly supportsSecureCoding: boolean
1151
+
1152
+ encodeWithCoder(coder: NSCoder): void
1153
+
1154
+ initWithCoder(coder: NSCoder): this
1155
+ }
1156
+
1157
+ declare class CNSaveRequest extends NSObject {
1158
+ addContactToContainerWithIdentifier(contact: CNMutableContact, identifier: string | null): void
1159
+
1160
+ updateContact(contact: CNMutableContact): void
1161
+
1162
+ deleteContact(contact: CNMutableContact): void
1163
+
1164
+ addGroupToContainerWithIdentifier(group: CNMutableGroup, identifier: string | null): void
1165
+
1166
+ updateGroup(group: CNMutableGroup): void
1167
+
1168
+ deleteGroup(group: CNMutableGroup): void
1169
+
1170
+ addSubgroupToGroup(subgroup: CNGroup, group: CNGroup): void
1171
+
1172
+ removeSubgroupFromGroup(subgroup: CNGroup, group: CNGroup): void
1173
+
1174
+ addMemberToGroup(contact: CNContact, group: CNGroup): void
1175
+
1176
+ removeMemberFromGroup(contact: CNContact, group: CNGroup): void
1177
+ }
1178
+
1179
+ declare class CNFetchResult<ValueType = interop.Object> extends NSObject {
1180
+ readonly value: ValueType
1181
+
1182
+ readonly currentHistoryToken: NSData
1183
+ }
1184
+
1185
+ declare class CNChangeHistoryFetchRequest extends CNFetchRequest implements NSSecureCoding {
1186
+ startingToken: NSData
1187
+
1188
+ get additionalContactKeyDescriptors(): NSArray
1189
+ set additionalContactKeyDescriptors(value: NSArray<interop.Object> | Array<interop.Object>)
1190
+
1191
+ shouldUnifyResults: boolean
1192
+
1193
+ mutableObjects: boolean
1194
+
1195
+ includeGroupChanges: boolean
1196
+
1197
+ get excludedTransactionAuthors(): NSArray
1198
+ set excludedTransactionAuthors(value: NSArray<interop.Object> | Array<interop.Object>)
1199
+
1200
+ static readonly supportsSecureCoding: boolean
1201
+
1202
+ encodeWithCoder(coder: NSCoder): void
1203
+
1204
+ initWithCoder(coder: NSCoder): this
1205
+ }
1206
+
1207
+ declare class CNPostalAddress
1208
+ extends NSObject
1209
+ implements NSCopying, NSMutableCopying, NSSecureCoding
1210
+ {
1211
+ readonly street: string
1212
+
1213
+ readonly subLocality: string
1214
+
1215
+ readonly city: string
1216
+
1217
+ readonly subAdministrativeArea: string
1218
+
1219
+ readonly state: string
1220
+
1221
+ readonly postalCode: string
1222
+
1223
+ readonly country: string
1224
+
1225
+ readonly ISOCountryCode: string
1226
+
1227
+ static localizedStringForKey(key: string): string
1228
+
1229
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1230
+
1231
+ mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
1232
+
1233
+ static readonly supportsSecureCoding: boolean
1234
+
1235
+ encodeWithCoder(coder: NSCoder): void
1236
+
1237
+ initWithCoder(coder: NSCoder): this
1238
+ }
1239
+
1240
+ declare class CNContact
1241
+ extends NSObject
1242
+ implements
1243
+ NSCopying,
1244
+ NSMutableCopying,
1245
+ NSSecureCoding,
1246
+ NSItemProviderReading,
1247
+ NSItemProviderWriting
1248
+ {
1249
+ readonly identifier: string
1250
+
1251
+ readonly contactType: interop.Enum<typeof CNContactType>
1252
+
1253
+ readonly namePrefix: string
1254
+
1255
+ readonly givenName: string
1256
+
1257
+ readonly middleName: string
1258
+
1259
+ readonly familyName: string
1260
+
1261
+ readonly previousFamilyName: string
1262
+
1263
+ readonly nameSuffix: string
1264
+
1265
+ readonly nickname: string
1266
+
1267
+ readonly organizationName: string
1268
+
1269
+ readonly departmentName: string
1270
+
1271
+ readonly jobTitle: string
1272
+
1273
+ readonly phoneticGivenName: string
1274
+
1275
+ readonly phoneticMiddleName: string
1276
+
1277
+ readonly phoneticFamilyName: string
1278
+
1279
+ readonly phoneticOrganizationName: string
1280
+
1281
+ readonly note: string
1282
+
1283
+ readonly imageData: NSData
1284
+
1285
+ readonly thumbnailImageData: NSData
1286
+
1287
+ readonly imageDataAvailable: boolean
1288
+
1289
+ readonly phoneNumbers: NSArray
1290
+
1291
+ readonly emailAddresses: NSArray
1292
+
1293
+ readonly postalAddresses: NSArray
1294
+
1295
+ readonly urlAddresses: NSArray
1296
+
1297
+ readonly contactRelations: NSArray
1298
+
1299
+ readonly socialProfiles: NSArray
1300
+
1301
+ readonly instantMessageAddresses: NSArray
1302
+
1303
+ readonly birthday: NSDateComponents
1304
+
1305
+ readonly nonGregorianBirthday: NSDateComponents
1306
+
1307
+ readonly dates: NSArray
1308
+
1309
+ isKeyAvailable(key: string): boolean
1310
+
1311
+ areKeysAvailable(keyDescriptors: NSArray<interop.Object> | Array<interop.Object>): boolean
1312
+
1313
+ static localizedStringForKey(key: string): string
1314
+
1315
+ static comparatorForNameSortOrder(
1316
+ sortOrder: interop.Enum<typeof CNContactSortOrder>,
1317
+ ): (p1: interop.Object, p2: interop.Object) => interop.Enum<typeof NSComparisonResult>
1318
+
1319
+ static descriptorForAllComparatorKeys(): CNKeyDescriptor
1320
+
1321
+ isUnifiedWithContactWithIdentifier(contactIdentifier: string): boolean
1322
+
1323
+ static predicateForContactsMatchingName(name: string): NSPredicate
1324
+
1325
+ static predicateForContactsMatchingEmailAddress(emailAddress: string): NSPredicate
1326
+
1327
+ static predicateForContactsMatchingPhoneNumber(phoneNumber: CNPhoneNumber): NSPredicate
1328
+
1329
+ static predicateForContactsWithIdentifiers(
1330
+ identifiers: NSArray<interop.Object> | Array<interop.Object>,
1331
+ ): NSPredicate
1332
+
1333
+ static predicateForContactsInGroupWithIdentifier(groupIdentifier: string): NSPredicate
1334
+
1335
+ static predicateForContactsInContainerWithIdentifier(containerIdentifier: string): NSPredicate
1336
+
1337
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1338
+
1339
+ mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
1340
+
1341
+ static readonly supportsSecureCoding: boolean
1342
+
1343
+ encodeWithCoder(coder: NSCoder): void
1344
+
1345
+ initWithCoder(coder: NSCoder): this
1346
+
1347
+ static readonly readableTypeIdentifiersForItemProvider: NSArray
1348
+
1349
+ static objectWithItemProviderDataTypeIdentifierError<
1350
+ This extends abstract new (...args: any) => any,
1351
+ >(
1352
+ this: This,
1353
+ data: NSData,
1354
+ typeIdentifier: string,
1355
+ outError: interop.PointerConvertible,
1356
+ ): InstanceType<This>
1357
+
1358
+ isEqual(object: interop.Object): boolean
1359
+
1360
+ readonly hash: number
1361
+
1362
+ readonly superclass: interop.Pointer
1363
+
1364
+ class(): interop.Pointer
1365
+
1366
+ self(): this
1367
+
1368
+ performSelector(aSelector: string): interop.Object
1369
+
1370
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
1371
+
1372
+ performSelectorWithObjectWithObject(
1373
+ aSelector: string,
1374
+ object1: interop.Object,
1375
+ object2: interop.Object,
1376
+ ): interop.Object
1377
+
1378
+ readonly isProxy: boolean
1379
+
1380
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
1381
+
1382
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
1383
+
1384
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
1385
+
1386
+ respondsToSelector(aSelector: string): boolean
1387
+
1388
+ retain(): this
1389
+
1390
+ release(): void
1391
+
1392
+ autorelease(): this
1393
+
1394
+ retainCount(): number
1395
+
1396
+ readonly zone: interop.Pointer
1397
+
1398
+ readonly description: string
1399
+
1400
+ readonly debugDescription: string
1401
+
1402
+ static readonly writableTypeIdentifiersForItemProvider: NSArray
1403
+
1404
+ readonly writableTypeIdentifiersForItemProvider: NSArray
1405
+
1406
+ static itemProviderVisibilityForRepresentationWithTypeIdentifier(
1407
+ typeIdentifier: string,
1408
+ ): interop.Enum<typeof NSItemProviderRepresentationVisibility>
1409
+
1410
+ itemProviderVisibilityForRepresentationWithTypeIdentifier(
1411
+ typeIdentifier: string,
1412
+ ): interop.Enum<typeof NSItemProviderRepresentationVisibility>
1413
+
1414
+ loadDataWithTypeIdentifierForItemProviderCompletionHandler(
1415
+ typeIdentifier: string,
1416
+ completionHandler: (p1: NSData, p2: NSError) => void | null,
1417
+ ): NSProgress
1418
+ }
1419
+
1420
+ declare class CNSocialProfile extends NSObject implements NSCopying, NSSecureCoding {
1421
+ readonly urlString: string
1422
+
1423
+ readonly username: string
1424
+
1425
+ readonly userIdentifier: string
1426
+
1427
+ readonly service: string
1428
+
1429
+ initWithUrlStringUsernameUserIdentifierService(
1430
+ urlString: string | null,
1431
+ username: string | null,
1432
+ userIdentifier: string | null,
1433
+ service: string | null,
1434
+ ): this
1435
+
1436
+ static localizedStringForKey(key: string): string
1437
+
1438
+ static localizedStringForService(service: string): string
1439
+
1440
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1441
+
1442
+ static readonly supportsSecureCoding: boolean
1443
+
1444
+ encodeWithCoder(coder: NSCoder): void
1445
+
1446
+ initWithCoder(coder: NSCoder): this
1447
+ }
1448
+
1449
+ declare class CNChangeHistoryDeleteGroupEvent extends CNChangeHistoryEvent {
1450
+ readonly groupIdentifier: string
1451
+ }
1452
+
1453
+ declare class CNContactStore extends NSObject {
1454
+ static authorizationStatusForEntityType(
1455
+ entityType: interop.Enum<typeof CNEntityType>,
1456
+ ): interop.Enum<typeof CNAuthorizationStatus>
1457
+
1458
+ requestAccessForEntityTypeCompletionHandler(
1459
+ entityType: interop.Enum<typeof CNEntityType>,
1460
+ completionHandler: (p1: boolean, p2: NSError) => void | null,
1461
+ ): void
1462
+
1463
+ unifiedContactsMatchingPredicateKeysToFetchError(
1464
+ predicate: NSPredicate,
1465
+ keys: NSArray<interop.Object> | Array<interop.Object>,
1466
+ error: interop.PointerConvertible,
1467
+ ): NSArray
1468
+
1469
+ unifiedContactWithIdentifierKeysToFetchError(
1470
+ identifier: string,
1471
+ keys: NSArray<interop.Object> | Array<interop.Object>,
1472
+ error: interop.PointerConvertible,
1473
+ ): CNContact
1474
+
1475
+ unifiedMeContactWithKeysToFetchError(
1476
+ keys: NSArray<interop.Object> | Array<interop.Object>,
1477
+ error: interop.PointerConvertible,
1478
+ ): CNContact
1479
+
1480
+ enumeratorForContactFetchRequestError(
1481
+ request: CNContactFetchRequest,
1482
+ error: interop.PointerConvertible,
1483
+ ): CNFetchResult
1484
+
1485
+ enumeratorForChangeHistoryFetchRequestError(
1486
+ request: CNChangeHistoryFetchRequest,
1487
+ error: interop.PointerConvertible,
1488
+ ): CNFetchResult
1489
+
1490
+ enumerateContactsWithFetchRequestErrorUsingBlock(
1491
+ fetchRequest: CNContactFetchRequest,
1492
+ error: interop.PointerConvertible,
1493
+ block: (p1: CNContact, p2: interop.PointerConvertible) => void,
1494
+ ): boolean
1495
+
1496
+ groupsMatchingPredicateError(
1497
+ predicate: NSPredicate | null,
1498
+ error: interop.PointerConvertible,
1499
+ ): NSArray
1500
+
1501
+ containersMatchingPredicateError(
1502
+ predicate: NSPredicate | null,
1503
+ error: interop.PointerConvertible,
1504
+ ): NSArray
1505
+
1506
+ executeSaveRequestError(saveRequest: CNSaveRequest, error: interop.PointerConvertible): boolean
1507
+
1508
+ readonly currentHistoryToken: NSData
1509
+
1510
+ defaultContainerIdentifier(): string
1511
+ }
1512
+
1513
+ // @ts-ignore ClassDecl.tsIgnore
1514
+ declare class CNMutablePostalAddress extends CNPostalAddress {
1515
+ // @ts-ignore MemberDecl.tsIgnore
1516
+ street: string
1517
+
1518
+ // @ts-ignore MemberDecl.tsIgnore
1519
+ subLocality: string
1520
+
1521
+ // @ts-ignore MemberDecl.tsIgnore
1522
+ city: string
1523
+
1524
+ // @ts-ignore MemberDecl.tsIgnore
1525
+ subAdministrativeArea: string
1526
+
1527
+ // @ts-ignore MemberDecl.tsIgnore
1528
+ state: string
1529
+
1530
+ // @ts-ignore MemberDecl.tsIgnore
1531
+ postalCode: string
1532
+
1533
+ // @ts-ignore MemberDecl.tsIgnore
1534
+ country: string
1535
+
1536
+ // @ts-ignore MemberDecl.tsIgnore
1537
+ ISOCountryCode: string
1538
+ }
1539
+
1540
+ declare class CNInstantMessageAddress extends NSObject implements NSCopying, NSSecureCoding {
1541
+ readonly username: string
1542
+
1543
+ readonly service: string
1544
+
1545
+ initWithUsernameService(username: string, service: string): this
1546
+
1547
+ static localizedStringForKey(key: string): string
1548
+
1549
+ static localizedStringForService(service: string): string
1550
+
1551
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1552
+
1553
+ static readonly supportsSecureCoding: boolean
1554
+
1555
+ encodeWithCoder(coder: NSCoder): void
1556
+
1557
+ initWithCoder(coder: NSCoder): this
1558
+ }