objcjs-types 0.2.1 → 0.4.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 (106) hide show
  1. package/bin/objcjs-types.ts +31 -0
  2. package/dist/AVFoundation/functions.d.ts +21 -0
  3. package/dist/AVFoundation/functions.js +32 -0
  4. package/dist/Accessibility/functions.d.ts +16 -0
  5. package/dist/Accessibility/functions.js +35 -0
  6. package/dist/AddressBook/functions.d.ts +98 -0
  7. package/dist/AddressBook/functions.js +290 -0
  8. package/dist/AppKit/functions.d.ts +112 -0
  9. package/dist/AppKit/functions.js +272 -0
  10. package/dist/AudioToolbox/functions.d.ts +377 -0
  11. package/dist/AudioToolbox/functions.js +1124 -0
  12. package/dist/AuthenticationServices/functions.d.ts +2 -0
  13. package/dist/AuthenticationServices/functions.js +5 -0
  14. package/dist/BrowserEngineCore/functions.d.ts +3 -0
  15. package/dist/BrowserEngineCore/functions.js +11 -0
  16. package/dist/CoreAudio/functions.d.ts +60 -0
  17. package/dist/CoreAudio/functions.js +173 -0
  18. package/dist/CoreMIDI/functions.d.ts +96 -0
  19. package/dist/CoreMIDI/functions.js +287 -0
  20. package/dist/CoreML/functions.d.ts +2 -0
  21. package/dist/CoreML/functions.js +5 -0
  22. package/dist/CoreMediaIO/functions.d.ts +38 -0
  23. package/dist/CoreMediaIO/functions.js +107 -0
  24. package/dist/CoreText/functions.d.ts +209 -0
  25. package/dist/CoreText/functions.js +611 -0
  26. package/dist/CoreWLAN/functions.d.ts +23 -0
  27. package/dist/CoreWLAN/functions.js +56 -0
  28. package/dist/DeviceDiscoveryExtension/functions.d.ts +11 -0
  29. package/dist/DeviceDiscoveryExtension/functions.js +17 -0
  30. package/dist/DiscRecording/functions.d.ts +97 -0
  31. package/dist/DiscRecording/functions.js +290 -0
  32. package/dist/DiscRecordingUI/functions.d.ts +13 -0
  33. package/dist/DiscRecordingUI/functions.js +38 -0
  34. package/dist/ExceptionHandling/functions.d.ts +1 -0
  35. package/dist/ExceptionHandling/functions.js +5 -0
  36. package/dist/FSKit/functions.d.ts +4 -0
  37. package/dist/FSKit/functions.js +11 -0
  38. package/dist/Foundation/functions.d.ts +145 -0
  39. package/dist/Foundation/functions.js +386 -0
  40. package/dist/GLKit/functions.d.ts +51 -0
  41. package/dist/GLKit/functions.js +146 -0
  42. package/dist/GameController/functions.d.ts +18 -0
  43. package/dist/GameController/functions.js +44 -0
  44. package/dist/HealthKit/functions.d.ts +19 -0
  45. package/dist/HealthKit/functions.js +35 -0
  46. package/dist/IOSurface/functions.d.ts +53 -0
  47. package/dist/IOSurface/functions.js +155 -0
  48. package/dist/IOUSBHost/functions.d.ts +44 -0
  49. package/dist/IOUSBHost/functions.js +131 -0
  50. package/dist/InstantMessage/functions.d.ts +1 -0
  51. package/dist/InstantMessage/functions.js +5 -0
  52. package/dist/JavaRuntimeSupport/functions.d.ts +40 -0
  53. package/dist/JavaRuntimeSupport/functions.js +113 -0
  54. package/dist/JavaScriptCore/functions.d.ts +120 -0
  55. package/dist/JavaScriptCore/functions.js +359 -0
  56. package/dist/MLCompute/functions.d.ts +27 -0
  57. package/dist/MLCompute/functions.js +41 -0
  58. package/dist/MapKit/functions.d.ts +23 -0
  59. package/dist/MapKit/functions.js +56 -0
  60. package/dist/Matter/functions.d.ts +17 -0
  61. package/dist/Matter/functions.js +26 -0
  62. package/dist/MediaAccessibility/functions.d.ts +28 -0
  63. package/dist/MediaAccessibility/functions.js +83 -0
  64. package/dist/MediaPlayer/functions.d.ts +3 -0
  65. package/dist/MediaPlayer/functions.js +11 -0
  66. package/dist/Metal/functions.d.ts +14 -0
  67. package/dist/Metal/functions.js +26 -0
  68. package/dist/MetalKit/functions.d.ts +11 -0
  69. package/dist/MetalKit/functions.js +20 -0
  70. package/dist/MetalPerformanceShaders/functions.d.ts +7 -0
  71. package/dist/MetalPerformanceShaders/functions.js +14 -0
  72. package/dist/NearbyInteraction/functions.d.ts +3 -0
  73. package/dist/NearbyInteraction/functions.js +5 -0
  74. package/dist/ParavirtualizedGraphics/functions.d.ts +7 -0
  75. package/dist/ParavirtualizedGraphics/functions.js +14 -0
  76. package/dist/QuartzCore/functions.d.ts +19 -0
  77. package/dist/QuartzCore/functions.js +50 -0
  78. package/dist/SceneKit/functions.d.ts +17 -0
  79. package/dist/SceneKit/functions.js +38 -0
  80. package/dist/SensorKit/functions.d.ts +4 -0
  81. package/dist/SensorKit/functions.js +14 -0
  82. package/dist/ServiceManagement/functions.d.ts +7 -0
  83. package/dist/ServiceManagement/functions.js +20 -0
  84. package/dist/StoreKit/functions.d.ts +1 -0
  85. package/dist/StoreKit/functions.js +5 -0
  86. package/dist/VideoToolbox/functions.d.ts +81 -0
  87. package/dist/VideoToolbox/functions.js +236 -0
  88. package/dist/Vision/functions.d.ts +16 -0
  89. package/dist/Vision/functions.js +38 -0
  90. package/generator/ast-parser.ts +1368 -0
  91. package/generator/clang.ts +167 -0
  92. package/generator/custom.ts +936 -0
  93. package/generator/discover.ts +111 -0
  94. package/generator/emitter.ts +2020 -0
  95. package/generator/frameworks.ts +135 -0
  96. package/generator/index.ts +1334 -0
  97. package/generator/parse-worker.ts +263 -0
  98. package/generator/resolve-strings.ts +121 -0
  99. package/generator/struct-fields.ts +46 -0
  100. package/generator/templates/bind.ts +100 -0
  101. package/generator/templates/helpers.ts +70 -0
  102. package/generator/templates/nsdata.ts +97 -0
  103. package/generator/templates/osversion.ts +91 -0
  104. package/generator/type-mapper.ts +615 -0
  105. package/generator/worker-pool.ts +309 -0
  106. package/package.json +17 -4
@@ -0,0 +1,359 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function JSBigIntCreateWithDouble(ctx, value, exception) {
4
+ return callFunction("JSBigIntCreateWithDouble", { returns: "@", args: ["@", "d", "@"] }, ctx, value, exception);
5
+ }
6
+ export function JSBigIntCreateWithInt64(ctx, integer, exception) {
7
+ return callFunction("JSBigIntCreateWithInt64", { returns: "@", args: ["@", "q", "@"] }, ctx, integer, exception);
8
+ }
9
+ export function JSBigIntCreateWithString(ctx, string_, exception) {
10
+ return callFunction("JSBigIntCreateWithString", { returns: "@" }, ctx, string_, exception);
11
+ }
12
+ export function JSBigIntCreateWithUInt64(ctx, integer, exception) {
13
+ return callFunction("JSBigIntCreateWithUInt64", { returns: "@", args: ["@", "Q", "@"] }, ctx, integer, exception);
14
+ }
15
+ export function JSCheckScriptSyntax(ctx, script, sourceURL, startingLineNumber, exception) {
16
+ return callFunction("JSCheckScriptSyntax", { returns: "B", args: ["@", "@", "@", "i", "@"] }, ctx, script, sourceURL, startingLineNumber, exception);
17
+ }
18
+ export function JSClassCreate(definition) {
19
+ return callFunction("JSClassCreate", { returns: "@" }, definition);
20
+ }
21
+ export function JSClassRelease(jsClass) {
22
+ callFunction("JSClassRelease", undefined, jsClass);
23
+ }
24
+ export function JSClassRetain(jsClass) {
25
+ return callFunction("JSClassRetain", { returns: "@" }, jsClass);
26
+ }
27
+ export function JSContextGetGlobalContext(ctx) {
28
+ return callFunction("JSContextGetGlobalContext", { returns: "@" }, ctx);
29
+ }
30
+ export function JSContextGetGlobalObject(ctx) {
31
+ return callFunction("JSContextGetGlobalObject", { returns: "@" }, ctx);
32
+ }
33
+ export function JSContextGetGroup(ctx) {
34
+ return callFunction("JSContextGetGroup", { returns: "@" }, ctx);
35
+ }
36
+ export function JSContextGroupCreate() {
37
+ return callFunction("JSContextGroupCreate", { returns: "@" });
38
+ }
39
+ export function JSContextGroupRelease(group) {
40
+ callFunction("JSContextGroupRelease", undefined, group);
41
+ }
42
+ export function JSContextGroupRetain(group) {
43
+ return callFunction("JSContextGroupRetain", { returns: "@" }, group);
44
+ }
45
+ export function JSEvaluateScript(ctx, script, thisObject, sourceURL, startingLineNumber, exception) {
46
+ return callFunction("JSEvaluateScript", { returns: "@", args: ["@", "@", "@", "@", "i", "@"] }, ctx, script, thisObject, sourceURL, startingLineNumber, exception);
47
+ }
48
+ export function JSGarbageCollect(ctx) {
49
+ callFunction("JSGarbageCollect", undefined, ctx);
50
+ }
51
+ export function JSGlobalContextCopyName(ctx) {
52
+ return callFunction("JSGlobalContextCopyName", { returns: "@" }, ctx);
53
+ }
54
+ export function JSGlobalContextCreate(globalObjectClass) {
55
+ return callFunction("JSGlobalContextCreate", { returns: "@" }, globalObjectClass);
56
+ }
57
+ export function JSGlobalContextCreateInGroup(group, globalObjectClass) {
58
+ return callFunction("JSGlobalContextCreateInGroup", { returns: "@" }, group, globalObjectClass);
59
+ }
60
+ export function JSGlobalContextIsInspectable(ctx) {
61
+ return callFunction("JSGlobalContextIsInspectable", { returns: "B" }, ctx);
62
+ }
63
+ export function JSGlobalContextRelease(ctx) {
64
+ callFunction("JSGlobalContextRelease", undefined, ctx);
65
+ }
66
+ export function JSGlobalContextRetain(ctx) {
67
+ return callFunction("JSGlobalContextRetain", { returns: "@" }, ctx);
68
+ }
69
+ export function JSGlobalContextSetInspectable(ctx, inspectable) {
70
+ callFunction("JSGlobalContextSetInspectable", { args: ["@", "B"] }, ctx, inspectable);
71
+ }
72
+ export function JSGlobalContextSetName(ctx, name) {
73
+ callFunction("JSGlobalContextSetName", undefined, ctx, name);
74
+ }
75
+ export function JSObjectCallAsConstructor(ctx, object_, argumentCount, arguments_, exception) {
76
+ return callFunction("JSObjectCallAsConstructor", { returns: "@", args: ["@", "@", "Q", "@", "@"] }, ctx, object_, argumentCount, arguments_, exception);
77
+ }
78
+ export function JSObjectCallAsFunction(ctx, object_, thisObject, argumentCount, arguments_, exception) {
79
+ return callFunction("JSObjectCallAsFunction", { returns: "@", args: ["@", "@", "@", "Q", "@", "@"] }, ctx, object_, thisObject, argumentCount, arguments_, exception);
80
+ }
81
+ export function JSObjectCopyPropertyNames(ctx, object_) {
82
+ return callFunction("JSObjectCopyPropertyNames", { returns: "@" }, ctx, object_);
83
+ }
84
+ export function JSObjectDeleteProperty(ctx, object_, propertyName, exception) {
85
+ return callFunction("JSObjectDeleteProperty", { returns: "B" }, ctx, object_, propertyName, exception);
86
+ }
87
+ export function JSObjectDeletePropertyForKey(ctx, object_, propertyKey, exception) {
88
+ return callFunction("JSObjectDeletePropertyForKey", { returns: "B" }, ctx, object_, propertyKey, exception);
89
+ }
90
+ export function JSObjectGetArrayBufferByteLength(ctx, object_, exception) {
91
+ return callFunction("JSObjectGetArrayBufferByteLength", { returns: "Q" }, ctx, object_, exception);
92
+ }
93
+ export function JSObjectGetArrayBufferBytesPtr(ctx, object_, exception) {
94
+ return callFunction("JSObjectGetArrayBufferBytesPtr", { returns: "^v" }, ctx, object_, exception);
95
+ }
96
+ export function JSObjectGetPrivate(object_) {
97
+ return callFunction("JSObjectGetPrivate", { returns: "^v" }, object_);
98
+ }
99
+ export function JSObjectGetProperty(ctx, object_, propertyName, exception) {
100
+ return callFunction("JSObjectGetProperty", { returns: "@" }, ctx, object_, propertyName, exception);
101
+ }
102
+ export function JSObjectGetPropertyAtIndex(ctx, object_, propertyIndex, exception) {
103
+ return callFunction("JSObjectGetPropertyAtIndex", { returns: "@", args: ["@", "@", "I", "@"] }, ctx, object_, propertyIndex, exception);
104
+ }
105
+ export function JSObjectGetPropertyForKey(ctx, object_, propertyKey, exception) {
106
+ return callFunction("JSObjectGetPropertyForKey", { returns: "@" }, ctx, object_, propertyKey, exception);
107
+ }
108
+ export function JSObjectGetPrototype(ctx, object_) {
109
+ return callFunction("JSObjectGetPrototype", { returns: "@" }, ctx, object_);
110
+ }
111
+ export function JSObjectGetTypedArrayBuffer(ctx, object_, exception) {
112
+ return callFunction("JSObjectGetTypedArrayBuffer", { returns: "@" }, ctx, object_, exception);
113
+ }
114
+ export function JSObjectGetTypedArrayByteLength(ctx, object_, exception) {
115
+ return callFunction("JSObjectGetTypedArrayByteLength", { returns: "Q" }, ctx, object_, exception);
116
+ }
117
+ export function JSObjectGetTypedArrayByteOffset(ctx, object_, exception) {
118
+ return callFunction("JSObjectGetTypedArrayByteOffset", { returns: "Q" }, ctx, object_, exception);
119
+ }
120
+ export function JSObjectGetTypedArrayBytesPtr(ctx, object_, exception) {
121
+ return callFunction("JSObjectGetTypedArrayBytesPtr", { returns: "^v" }, ctx, object_, exception);
122
+ }
123
+ export function JSObjectGetTypedArrayLength(ctx, object_, exception) {
124
+ return callFunction("JSObjectGetTypedArrayLength", { returns: "Q" }, ctx, object_, exception);
125
+ }
126
+ export function JSObjectHasProperty(ctx, object_, propertyName) {
127
+ return callFunction("JSObjectHasProperty", { returns: "B" }, ctx, object_, propertyName);
128
+ }
129
+ export function JSObjectHasPropertyForKey(ctx, object_, propertyKey, exception) {
130
+ return callFunction("JSObjectHasPropertyForKey", { returns: "B" }, ctx, object_, propertyKey, exception);
131
+ }
132
+ export function JSObjectIsConstructor(ctx, object_) {
133
+ return callFunction("JSObjectIsConstructor", { returns: "B" }, ctx, object_);
134
+ }
135
+ export function JSObjectIsFunction(ctx, object_) {
136
+ return callFunction("JSObjectIsFunction", { returns: "B" }, ctx, object_);
137
+ }
138
+ export function JSObjectMake(ctx, jsClass, data) {
139
+ return callFunction("JSObjectMake", { returns: "@", args: ["@", "@", "^v"] }, ctx, jsClass, data);
140
+ }
141
+ export function JSObjectMakeArray(ctx, argumentCount, arguments_, exception) {
142
+ return callFunction("JSObjectMakeArray", { returns: "@", args: ["@", "Q", "@", "@"] }, ctx, argumentCount, arguments_, exception);
143
+ }
144
+ export function JSObjectMakeArrayBufferWithBytesNoCopy(ctx, bytes, byteLength, bytesDeallocator, deallocatorContext, exception) {
145
+ return callFunction("JSObjectMakeArrayBufferWithBytesNoCopy", { returns: "@", args: ["@", "^v", "Q", "@", "^v", "@"] }, ctx, bytes, byteLength, bytesDeallocator, deallocatorContext, exception);
146
+ }
147
+ export function JSObjectMakeConstructor(ctx, jsClass, callAsConstructor) {
148
+ return callFunction("JSObjectMakeConstructor", { returns: "@" }, ctx, jsClass, callAsConstructor);
149
+ }
150
+ export function JSObjectMakeDate(ctx, argumentCount, arguments_, exception) {
151
+ return callFunction("JSObjectMakeDate", { returns: "@", args: ["@", "Q", "@", "@"] }, ctx, argumentCount, arguments_, exception);
152
+ }
153
+ export function JSObjectMakeDeferredPromise(ctx, resolve, reject, exception) {
154
+ return callFunction("JSObjectMakeDeferredPromise", { returns: "@" }, ctx, resolve, reject, exception);
155
+ }
156
+ export function JSObjectMakeError(ctx, argumentCount, arguments_, exception) {
157
+ return callFunction("JSObjectMakeError", { returns: "@", args: ["@", "Q", "@", "@"] }, ctx, argumentCount, arguments_, exception);
158
+ }
159
+ export function JSObjectMakeFunction(ctx, name, parameterCount, parameterNames, body, sourceURL, startingLineNumber, exception) {
160
+ return callFunction("JSObjectMakeFunction", { returns: "@", args: ["@", "@", "I", "@", "@", "@", "i", "@"] }, ctx, name, parameterCount, parameterNames, body, sourceURL, startingLineNumber, exception);
161
+ }
162
+ export function JSObjectMakeFunctionWithCallback(ctx, name, callAsFunction) {
163
+ return callFunction("JSObjectMakeFunctionWithCallback", { returns: "@" }, ctx, name, callAsFunction);
164
+ }
165
+ export function JSObjectMakeRegExp(ctx, argumentCount, arguments_, exception) {
166
+ return callFunction("JSObjectMakeRegExp", { returns: "@", args: ["@", "Q", "@", "@"] }, ctx, argumentCount, arguments_, exception);
167
+ }
168
+ export function JSObjectMakeTypedArray(ctx, arrayType, length, exception) {
169
+ return callFunction("JSObjectMakeTypedArray", { returns: "@", args: ["@", "@", "Q", "@"] }, ctx, arrayType, length, exception);
170
+ }
171
+ export function JSObjectMakeTypedArrayWithArrayBuffer(ctx, arrayType, buffer, exception) {
172
+ return callFunction("JSObjectMakeTypedArrayWithArrayBuffer", { returns: "@" }, ctx, arrayType, buffer, exception);
173
+ }
174
+ export function JSObjectMakeTypedArrayWithArrayBufferAndOffset(ctx, arrayType, buffer, byteOffset, length, exception) {
175
+ return callFunction("JSObjectMakeTypedArrayWithArrayBufferAndOffset", { returns: "@", args: ["@", "@", "@", "Q", "Q", "@"] }, ctx, arrayType, buffer, byteOffset, length, exception);
176
+ }
177
+ export function JSObjectMakeTypedArrayWithBytesNoCopy(ctx, arrayType, bytes, byteLength, bytesDeallocator, deallocatorContext, exception) {
178
+ return callFunction("JSObjectMakeTypedArrayWithBytesNoCopy", { returns: "@", args: ["@", "@", "^v", "Q", "@", "^v", "@"] }, ctx, arrayType, bytes, byteLength, bytesDeallocator, deallocatorContext, exception);
179
+ }
180
+ export function JSObjectSetPrivate(object_, data) {
181
+ return callFunction("JSObjectSetPrivate", { returns: "B", args: ["@", "^v"] }, object_, data);
182
+ }
183
+ export function JSObjectSetProperty(ctx, object_, propertyName, value, attributes, exception) {
184
+ callFunction("JSObjectSetProperty", { args: ["@", "@", "@", "@", "I", "@"] }, ctx, object_, propertyName, value, attributes, exception);
185
+ }
186
+ export function JSObjectSetPropertyAtIndex(ctx, object_, propertyIndex, value, exception) {
187
+ callFunction("JSObjectSetPropertyAtIndex", { args: ["@", "@", "I", "@", "@"] }, ctx, object_, propertyIndex, value, exception);
188
+ }
189
+ export function JSObjectSetPropertyForKey(ctx, object_, propertyKey, value, attributes, exception) {
190
+ callFunction("JSObjectSetPropertyForKey", { args: ["@", "@", "@", "@", "I", "@"] }, ctx, object_, propertyKey, value, attributes, exception);
191
+ }
192
+ export function JSObjectSetPrototype(ctx, object_, value) {
193
+ callFunction("JSObjectSetPrototype", undefined, ctx, object_, value);
194
+ }
195
+ export function JSPropertyNameAccumulatorAddName(accumulator, propertyName) {
196
+ callFunction("JSPropertyNameAccumulatorAddName", undefined, accumulator, propertyName);
197
+ }
198
+ export function JSPropertyNameArrayGetCount(array) {
199
+ return callFunction("JSPropertyNameArrayGetCount", { returns: "Q" }, array);
200
+ }
201
+ export function JSPropertyNameArrayGetNameAtIndex(array, index) {
202
+ return callFunction("JSPropertyNameArrayGetNameAtIndex", { returns: "@", args: ["@", "Q"] }, array, index);
203
+ }
204
+ export function JSPropertyNameArrayRelease(array) {
205
+ callFunction("JSPropertyNameArrayRelease", undefined, array);
206
+ }
207
+ export function JSPropertyNameArrayRetain(array) {
208
+ return callFunction("JSPropertyNameArrayRetain", { returns: "@" }, array);
209
+ }
210
+ export function JSStringCopyCFString(alloc, string_) {
211
+ return callFunction("JSStringCopyCFString", { returns: "^" }, alloc, string_);
212
+ }
213
+ export function JSStringCreateWithCFString(string_) {
214
+ return callFunction("JSStringCreateWithCFString", { returns: "@", args: ["^"] }, string_);
215
+ }
216
+ export function JSStringCreateWithCharacters(chars, numChars) {
217
+ return callFunction("JSStringCreateWithCharacters", { returns: "@", args: ["@", "Q"] }, chars, numChars);
218
+ }
219
+ export function JSStringCreateWithUTF8CString(string_) {
220
+ return callFunction("JSStringCreateWithUTF8CString", { returns: "@", args: ["*"] }, string_);
221
+ }
222
+ export function JSStringGetCharactersPtr(string_) {
223
+ return callFunction("JSStringGetCharactersPtr", { returns: "@" }, string_);
224
+ }
225
+ export function JSStringGetLength(string_) {
226
+ return callFunction("JSStringGetLength", { returns: "Q" }, string_);
227
+ }
228
+ export function JSStringGetMaximumUTF8CStringSize(string_) {
229
+ return callFunction("JSStringGetMaximumUTF8CStringSize", { returns: "Q" }, string_);
230
+ }
231
+ export function JSStringGetUTF8CString(string_, buffer, bufferSize) {
232
+ return callFunction("JSStringGetUTF8CString", { returns: "Q", args: ["@", "*", "Q"] }, string_, buffer, bufferSize);
233
+ }
234
+ export function JSStringIsEqual(a, b) {
235
+ return callFunction("JSStringIsEqual", { returns: "B" }, a, b);
236
+ }
237
+ export function JSStringIsEqualToUTF8CString(a, b) {
238
+ return callFunction("JSStringIsEqualToUTF8CString", { returns: "B", args: ["@", "*"] }, a, b);
239
+ }
240
+ export function JSStringRelease(string_) {
241
+ callFunction("JSStringRelease", undefined, string_);
242
+ }
243
+ export function JSStringRetain(string_) {
244
+ return callFunction("JSStringRetain", { returns: "@" }, string_);
245
+ }
246
+ export function JSValueCompare(ctx, left, right, exception) {
247
+ return callFunction("JSValueCompare", { returns: "@" }, ctx, left, right, exception);
248
+ }
249
+ export function JSValueCompareDouble(ctx, left, right, exception) {
250
+ return callFunction("JSValueCompareDouble", { returns: "@", args: ["@", "@", "d", "@"] }, ctx, left, right, exception);
251
+ }
252
+ export function JSValueCompareInt64(ctx, left, right, exception) {
253
+ return callFunction("JSValueCompareInt64", { returns: "@", args: ["@", "@", "q", "@"] }, ctx, left, right, exception);
254
+ }
255
+ export function JSValueCompareUInt64(ctx, left, right, exception) {
256
+ return callFunction("JSValueCompareUInt64", { returns: "@", args: ["@", "@", "Q", "@"] }, ctx, left, right, exception);
257
+ }
258
+ export function JSValueCreateJSONString(ctx, value, indent, exception) {
259
+ return callFunction("JSValueCreateJSONString", { returns: "@", args: ["@", "@", "I", "@"] }, ctx, value, indent, exception);
260
+ }
261
+ export function JSValueGetType(ctx, value) {
262
+ return callFunction("JSValueGetType", { returns: "@" }, ctx, value);
263
+ }
264
+ export function JSValueGetTypedArrayType(ctx, value, exception) {
265
+ return callFunction("JSValueGetTypedArrayType", { returns: "@" }, ctx, value, exception);
266
+ }
267
+ export function JSValueIsArray(ctx, value) {
268
+ return callFunction("JSValueIsArray", { returns: "B" }, ctx, value);
269
+ }
270
+ export function JSValueIsBigInt(ctx, value) {
271
+ return callFunction("JSValueIsBigInt", { returns: "B" }, ctx, value);
272
+ }
273
+ export function JSValueIsBoolean(ctx, value) {
274
+ return callFunction("JSValueIsBoolean", { returns: "B" }, ctx, value);
275
+ }
276
+ export function JSValueIsDate(ctx, value) {
277
+ return callFunction("JSValueIsDate", { returns: "B" }, ctx, value);
278
+ }
279
+ export function JSValueIsEqual(ctx, a, b, exception) {
280
+ return callFunction("JSValueIsEqual", { returns: "B" }, ctx, a, b, exception);
281
+ }
282
+ export function JSValueIsInstanceOfConstructor(ctx, value, constructor, exception) {
283
+ return callFunction("JSValueIsInstanceOfConstructor", { returns: "B" }, ctx, value, constructor, exception);
284
+ }
285
+ export function JSValueIsNull(ctx, value) {
286
+ return callFunction("JSValueIsNull", { returns: "B" }, ctx, value);
287
+ }
288
+ export function JSValueIsNumber(ctx, value) {
289
+ return callFunction("JSValueIsNumber", { returns: "B" }, ctx, value);
290
+ }
291
+ export function JSValueIsObject(ctx, value) {
292
+ return callFunction("JSValueIsObject", { returns: "B" }, ctx, value);
293
+ }
294
+ export function JSValueIsObjectOfClass(ctx, value, jsClass) {
295
+ return callFunction("JSValueIsObjectOfClass", { returns: "B" }, ctx, value, jsClass);
296
+ }
297
+ export function JSValueIsStrictEqual(ctx, a, b) {
298
+ return callFunction("JSValueIsStrictEqual", { returns: "B" }, ctx, a, b);
299
+ }
300
+ export function JSValueIsString(ctx, value) {
301
+ return callFunction("JSValueIsString", { returns: "B" }, ctx, value);
302
+ }
303
+ export function JSValueIsSymbol(ctx, value) {
304
+ return callFunction("JSValueIsSymbol", { returns: "B" }, ctx, value);
305
+ }
306
+ export function JSValueIsUndefined(ctx, value) {
307
+ return callFunction("JSValueIsUndefined", { returns: "B" }, ctx, value);
308
+ }
309
+ export function JSValueMakeBoolean(ctx, boolean_) {
310
+ return callFunction("JSValueMakeBoolean", { returns: "@", args: ["@", "B"] }, ctx, boolean_);
311
+ }
312
+ export function JSValueMakeFromJSONString(ctx, string_) {
313
+ return callFunction("JSValueMakeFromJSONString", { returns: "@" }, ctx, string_);
314
+ }
315
+ export function JSValueMakeNull(ctx) {
316
+ return callFunction("JSValueMakeNull", { returns: "@" }, ctx);
317
+ }
318
+ export function JSValueMakeNumber(ctx, number_) {
319
+ return callFunction("JSValueMakeNumber", { returns: "@", args: ["@", "d"] }, ctx, number_);
320
+ }
321
+ export function JSValueMakeString(ctx, string_) {
322
+ return callFunction("JSValueMakeString", { returns: "@" }, ctx, string_);
323
+ }
324
+ export function JSValueMakeSymbol(ctx, description) {
325
+ return callFunction("JSValueMakeSymbol", { returns: "@" }, ctx, description);
326
+ }
327
+ export function JSValueMakeUndefined(ctx) {
328
+ return callFunction("JSValueMakeUndefined", { returns: "@" }, ctx);
329
+ }
330
+ export function JSValueProtect(ctx, value) {
331
+ callFunction("JSValueProtect", undefined, ctx, value);
332
+ }
333
+ export function JSValueToBoolean(ctx, value) {
334
+ return callFunction("JSValueToBoolean", { returns: "B" }, ctx, value);
335
+ }
336
+ export function JSValueToInt32(ctx, value, exception) {
337
+ return callFunction("JSValueToInt32", { returns: "i" }, ctx, value, exception);
338
+ }
339
+ export function JSValueToInt64(ctx, value, exception) {
340
+ return callFunction("JSValueToInt64", { returns: "q" }, ctx, value, exception);
341
+ }
342
+ export function JSValueToNumber(ctx, value, exception) {
343
+ return callFunction("JSValueToNumber", { returns: "d" }, ctx, value, exception);
344
+ }
345
+ export function JSValueToObject(ctx, value, exception) {
346
+ return callFunction("JSValueToObject", { returns: "@" }, ctx, value, exception);
347
+ }
348
+ export function JSValueToStringCopy(ctx, value, exception) {
349
+ return callFunction("JSValueToStringCopy", { returns: "@" }, ctx, value, exception);
350
+ }
351
+ export function JSValueToUInt32(ctx, value, exception) {
352
+ return callFunction("JSValueToUInt32", { returns: "I" }, ctx, value, exception);
353
+ }
354
+ export function JSValueToUInt64(ctx, value, exception) {
355
+ return callFunction("JSValueToUInt64", { returns: "Q" }, ctx, value, exception);
356
+ }
357
+ export function JSValueUnprotect(ctx, value) {
358
+ callFunction("JSValueUnprotect", undefined, ctx, value);
359
+ }
@@ -0,0 +1,27 @@
1
+ import type { _NSString } from "../Foundation/NSString.js";
2
+ import type { MLCActivationType } from "./MLCActivationType.js";
3
+ import type { MLCArithmeticOperation } from "./MLCArithmeticOperation.js";
4
+ import type { MLCComparisonOperation } from "./MLCComparisonOperation.js";
5
+ import type { MLCConvolutionType } from "./MLCConvolutionType.js";
6
+ import type { MLCGradientClippingType } from "./MLCGradientClippingType.js";
7
+ import type { MLCLSTMResultMode } from "./MLCLSTMResultMode.js";
8
+ import type { MLCLossType } from "./MLCLossType.js";
9
+ import type { MLCPaddingPolicy } from "./MLCPaddingPolicy.js";
10
+ import type { MLCPaddingType } from "./MLCPaddingType.js";
11
+ import type { MLCPoolingType } from "./MLCPoolingType.js";
12
+ import type { MLCReductionType } from "./MLCReductionType.js";
13
+ import type { MLCSampleMode } from "./MLCSampleMode.js";
14
+ import type { MLCSoftmaxOperation } from "./MLCSoftmaxOperation.js";
15
+ export declare function MLCActivationTypeDebugDescription(activationType: MLCActivationType): _NSString;
16
+ export declare function MLCArithmeticOperationDebugDescription(operation: MLCArithmeticOperation): _NSString;
17
+ export declare function MLCComparisonOperationDebugDescription(operation: MLCComparisonOperation): _NSString;
18
+ export declare function MLCConvolutionTypeDebugDescription(convolutionType: MLCConvolutionType): _NSString;
19
+ export declare function MLCGradientClippingTypeDebugDescription(gradientClippingType: MLCGradientClippingType): _NSString;
20
+ export declare function MLCLossTypeDebugDescription(lossType: MLCLossType): _NSString;
21
+ export declare function MLCLSTMResultModeDebugDescription(mode: MLCLSTMResultMode): _NSString;
22
+ export declare function MLCPaddingPolicyDebugDescription(paddingPolicy: MLCPaddingPolicy): _NSString;
23
+ export declare function MLCPaddingTypeDebugDescription(paddingType: MLCPaddingType): _NSString;
24
+ export declare function MLCPoolingTypeDebugDescription(poolingType: MLCPoolingType): _NSString;
25
+ export declare function MLCReductionTypeDebugDescription(reductionType: MLCReductionType): _NSString;
26
+ export declare function MLCSampleModeDebugDescription(mode: MLCSampleMode): _NSString;
27
+ export declare function MLCSoftmaxOperationDebugDescription(operation: MLCSoftmaxOperation): _NSString;
@@ -0,0 +1,41 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function MLCActivationTypeDebugDescription(activationType) {
4
+ return callFunction("MLCActivationTypeDebugDescription", { returns: "@", args: ["q"] }, activationType);
5
+ }
6
+ export function MLCArithmeticOperationDebugDescription(operation) {
7
+ return callFunction("MLCArithmeticOperationDebugDescription", { returns: "@", args: ["q"] }, operation);
8
+ }
9
+ export function MLCComparisonOperationDebugDescription(operation) {
10
+ return callFunction("MLCComparisonOperationDebugDescription", { returns: "@", args: ["q"] }, operation);
11
+ }
12
+ export function MLCConvolutionTypeDebugDescription(convolutionType) {
13
+ return callFunction("MLCConvolutionTypeDebugDescription", { returns: "@", args: ["q"] }, convolutionType);
14
+ }
15
+ export function MLCGradientClippingTypeDebugDescription(gradientClippingType) {
16
+ return callFunction("MLCGradientClippingTypeDebugDescription", { returns: "@", args: ["q"] }, gradientClippingType);
17
+ }
18
+ export function MLCLossTypeDebugDescription(lossType) {
19
+ return callFunction("MLCLossTypeDebugDescription", { returns: "@", args: ["q"] }, lossType);
20
+ }
21
+ export function MLCLSTMResultModeDebugDescription(mode) {
22
+ return callFunction("MLCLSTMResultModeDebugDescription", { returns: "@", args: ["q"] }, mode);
23
+ }
24
+ export function MLCPaddingPolicyDebugDescription(paddingPolicy) {
25
+ return callFunction("MLCPaddingPolicyDebugDescription", { returns: "@", args: ["q"] }, paddingPolicy);
26
+ }
27
+ export function MLCPaddingTypeDebugDescription(paddingType) {
28
+ return callFunction("MLCPaddingTypeDebugDescription", { returns: "@", args: ["q"] }, paddingType);
29
+ }
30
+ export function MLCPoolingTypeDebugDescription(poolingType) {
31
+ return callFunction("MLCPoolingTypeDebugDescription", { returns: "@", args: ["q"] }, poolingType);
32
+ }
33
+ export function MLCReductionTypeDebugDescription(reductionType) {
34
+ return callFunction("MLCReductionTypeDebugDescription", { returns: "@", args: ["q"] }, reductionType);
35
+ }
36
+ export function MLCSampleModeDebugDescription(mode) {
37
+ return callFunction("MLCSampleModeDebugDescription", { returns: "@", args: ["q"] }, mode);
38
+ }
39
+ export function MLCSoftmaxOperationDebugDescription(operation) {
40
+ return callFunction("MLCSoftmaxOperationDebugDescription", { returns: "@", args: ["q"] }, operation);
41
+ }
@@ -0,0 +1,23 @@
1
+ import type { NobjcObject } from "objc-js";
2
+ import type { CLLocationCoordinate2D } from "../structs/CLLocationCoordinate2D.js";
3
+ import type { MKCoordinateRegion } from "../structs/MKCoordinateRegion.js";
4
+ import type { MKMapPoint } from "../structs/MKMapPoint.js";
5
+ import type { MKMapRect } from "../structs/MKMapRect.js";
6
+ export declare function MKCoordinateForMapPoint(mapPoint: MKMapPoint): CLLocationCoordinate2D;
7
+ export declare function MKCoordinateRegionForMapRect(rect: MKMapRect): MKCoordinateRegion;
8
+ export declare function MKCoordinateRegionMakeWithDistance(centerCoordinate: CLLocationCoordinate2D, latitudinalMeters: number, longitudinalMeters: number): MKCoordinateRegion;
9
+ export declare function MKMapPointForCoordinate(coordinate: CLLocationCoordinate2D): MKMapPoint;
10
+ export declare function MKMapPointsPerMeterAtLatitude(latitude: number): number;
11
+ export declare function MKMapRectContainsPoint(rect: MKMapRect, point: MKMapPoint): boolean;
12
+ export declare function MKMapRectContainsRect(rect1: MKMapRect, rect2: MKMapRect): boolean;
13
+ export declare function MKMapRectDivide(rect: MKMapRect, slice: NobjcObject, remainder: NobjcObject, amount: number, edge: NobjcObject): void;
14
+ export declare function MKMapRectInset(rect: MKMapRect, dx: number, dy: number): MKMapRect;
15
+ export declare function MKMapRectIntersection(rect1: MKMapRect, rect2: MKMapRect): MKMapRect;
16
+ export declare function MKMapRectIntersectsRect(rect1: MKMapRect, rect2: MKMapRect): boolean;
17
+ export declare function MKMapRectOffset(rect: MKMapRect, dx: number, dy: number): MKMapRect;
18
+ export declare function MKMapRectRemainder(rect: MKMapRect): MKMapRect;
19
+ export declare function MKMapRectSpans180thMeridian(rect: MKMapRect): boolean;
20
+ export declare function MKMapRectUnion(rect1: MKMapRect, rect2: MKMapRect): MKMapRect;
21
+ export declare function MKMetersBetweenMapPoints(a: MKMapPoint, b: MKMapPoint): number;
22
+ export declare function MKMetersPerMapPointAtLatitude(latitude: number): number;
23
+ export declare function MKRoadWidthAtZoomScale(zoomScale: number): number;
@@ -0,0 +1,56 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function MKCoordinateForMapPoint(mapPoint) {
4
+ return callFunction("MKCoordinateForMapPoint", { returns: "{CLLocationCoordinate2D}", args: ["{MKMapPoint}"] }, mapPoint);
5
+ }
6
+ export function MKCoordinateRegionForMapRect(rect) {
7
+ return callFunction("MKCoordinateRegionForMapRect", { returns: "{MKCoordinateRegion}", args: ["{MKMapRect}"] }, rect);
8
+ }
9
+ export function MKCoordinateRegionMakeWithDistance(centerCoordinate, latitudinalMeters, longitudinalMeters) {
10
+ return callFunction("MKCoordinateRegionMakeWithDistance", { returns: "{MKCoordinateRegion}", args: ["{CLLocationCoordinate2D}", "d", "d"] }, centerCoordinate, latitudinalMeters, longitudinalMeters);
11
+ }
12
+ export function MKMapPointForCoordinate(coordinate) {
13
+ return callFunction("MKMapPointForCoordinate", { returns: "{MKMapPoint}", args: ["{CLLocationCoordinate2D}"] }, coordinate);
14
+ }
15
+ export function MKMapPointsPerMeterAtLatitude(latitude) {
16
+ return callFunction("MKMapPointsPerMeterAtLatitude", { returns: "d", args: ["d"] }, latitude);
17
+ }
18
+ export function MKMapRectContainsPoint(rect, point) {
19
+ return callFunction("MKMapRectContainsPoint", { returns: "B", args: ["{MKMapRect}", "{MKMapPoint}"] }, rect, point);
20
+ }
21
+ export function MKMapRectContainsRect(rect1, rect2) {
22
+ return callFunction("MKMapRectContainsRect", { returns: "B", args: ["{MKMapRect}", "{MKMapRect}"] }, rect1, rect2);
23
+ }
24
+ export function MKMapRectDivide(rect, slice, remainder, amount, edge) {
25
+ callFunction("MKMapRectDivide", { args: ["{MKMapRect}", "@", "@", "d", "@"] }, rect, slice, remainder, amount, edge);
26
+ }
27
+ export function MKMapRectInset(rect, dx, dy) {
28
+ return callFunction("MKMapRectInset", { returns: "{MKMapRect}", args: ["{MKMapRect}", "d", "d"] }, rect, dx, dy);
29
+ }
30
+ export function MKMapRectIntersection(rect1, rect2) {
31
+ return callFunction("MKMapRectIntersection", { returns: "{MKMapRect}", args: ["{MKMapRect}", "{MKMapRect}"] }, rect1, rect2);
32
+ }
33
+ export function MKMapRectIntersectsRect(rect1, rect2) {
34
+ return callFunction("MKMapRectIntersectsRect", { returns: "B", args: ["{MKMapRect}", "{MKMapRect}"] }, rect1, rect2);
35
+ }
36
+ export function MKMapRectOffset(rect, dx, dy) {
37
+ return callFunction("MKMapRectOffset", { returns: "{MKMapRect}", args: ["{MKMapRect}", "d", "d"] }, rect, dx, dy);
38
+ }
39
+ export function MKMapRectRemainder(rect) {
40
+ return callFunction("MKMapRectRemainder", { returns: "{MKMapRect}", args: ["{MKMapRect}"] }, rect);
41
+ }
42
+ export function MKMapRectSpans180thMeridian(rect) {
43
+ return callFunction("MKMapRectSpans180thMeridian", { returns: "B", args: ["{MKMapRect}"] }, rect);
44
+ }
45
+ export function MKMapRectUnion(rect1, rect2) {
46
+ return callFunction("MKMapRectUnion", { returns: "{MKMapRect}", args: ["{MKMapRect}", "{MKMapRect}"] }, rect1, rect2);
47
+ }
48
+ export function MKMetersBetweenMapPoints(a, b) {
49
+ return callFunction("MKMetersBetweenMapPoints", { returns: "d", args: ["{MKMapPoint}", "{MKMapPoint}"] }, a, b);
50
+ }
51
+ export function MKMetersPerMapPointAtLatitude(latitude) {
52
+ return callFunction("MKMetersPerMapPointAtLatitude", { returns: "d", args: ["d"] }, latitude);
53
+ }
54
+ export function MKRoadWidthAtZoomScale(zoomScale) {
55
+ return callFunction("MKRoadWidthAtZoomScale", { returns: "d", args: ["d"] }, zoomScale);
56
+ }
@@ -0,0 +1,17 @@
1
+ import type { NobjcObject } from "objc-js";
2
+ import type { _NSNumber } from "../Foundation/NSNumber.js";
3
+ import type { _NSSet } from "../Foundation/NSSet.js";
4
+ import type { _NSString } from "../Foundation/NSString.js";
5
+ import type { MTRAttributeIDType } from "./MTRAttributeIDType.js";
6
+ import type { MTRClusterIDType } from "./MTRClusterIDType.js";
7
+ import type { MTRCommandIDType } from "./MTRCommandIDType.js";
8
+ import type { MTREventIDType } from "./MTREventIDType.js";
9
+ import type { MTRLogType } from "./MTRLogType.js";
10
+ export declare function MTRAttributeNameForID(clusterID: MTRClusterIDType, attributeID: MTRAttributeIDType): _NSString;
11
+ export declare function MTRClusterNameForID(clusterID: MTRClusterIDType): _NSString;
12
+ export declare function MTRDeviceControllerStorageClasses(): _NSSet;
13
+ export declare function MTREventNameForID(clusterID: MTRClusterIDType, eventID: MTREventIDType): _NSString;
14
+ export declare function MTRRequestCommandNameForID(clusterID: MTRClusterIDType, commandID: MTRCommandIDType): _NSString;
15
+ export declare function MTRResponseCommandNameForID(clusterID: MTRClusterIDType, commandID: MTRCommandIDType): _NSString;
16
+ export declare function MTRSetLogCallback(logTypeThreshold: MTRLogType, callback: NobjcObject | null): void;
17
+ export declare function MTRSetMessageReliabilityParameters(idleRetransmitMs: _NSNumber | null, activeRetransmitMs: _NSNumber | null, activeThresholdMs: _NSNumber | null, additionalRetransmitDelayMs: _NSNumber | null): void;
@@ -0,0 +1,26 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function MTRAttributeNameForID(clusterID, attributeID) {
4
+ return callFunction("MTRAttributeNameForID", { returns: "@", args: ["q", "q"] }, clusterID, attributeID);
5
+ }
6
+ export function MTRClusterNameForID(clusterID) {
7
+ return callFunction("MTRClusterNameForID", { returns: "@", args: ["q"] }, clusterID);
8
+ }
9
+ export function MTRDeviceControllerStorageClasses() {
10
+ return callFunction("MTRDeviceControllerStorageClasses", { returns: "@" });
11
+ }
12
+ export function MTREventNameForID(clusterID, eventID) {
13
+ return callFunction("MTREventNameForID", { returns: "@", args: ["q", "q"] }, clusterID, eventID);
14
+ }
15
+ export function MTRRequestCommandNameForID(clusterID, commandID) {
16
+ return callFunction("MTRRequestCommandNameForID", { returns: "@", args: ["q", "q"] }, clusterID, commandID);
17
+ }
18
+ export function MTRResponseCommandNameForID(clusterID, commandID) {
19
+ return callFunction("MTRResponseCommandNameForID", { returns: "@", args: ["q", "q"] }, clusterID, commandID);
20
+ }
21
+ export function MTRSetLogCallback(logTypeThreshold, callback) {
22
+ callFunction("MTRSetLogCallback", { args: ["q", "@"] }, logTypeThreshold, callback);
23
+ }
24
+ export function MTRSetMessageReliabilityParameters(idleRetransmitMs, activeRetransmitMs, activeThresholdMs, additionalRetransmitDelayMs) {
25
+ callFunction("MTRSetMessageReliabilityParameters", undefined, idleRetransmitMs, activeRetransmitMs, activeThresholdMs, additionalRetransmitDelayMs);
26
+ }
@@ -0,0 +1,28 @@
1
+ import type { NobjcObject } from "objc-js";
2
+ export declare function MAAudibleMediaCopyPreferredCharacteristics(): NobjcObject;
3
+ export declare function MACaptionAppearanceAddSelectedLanguage(domain: NobjcObject, language: Uint8Array): boolean;
4
+ export declare function MACaptionAppearanceCopyActiveProfileID(): NobjcObject;
5
+ export declare function MACaptionAppearanceCopyBackgroundColor(domain: NobjcObject, behavior: NobjcObject | null): NobjcObject;
6
+ export declare function MACaptionAppearanceCopyFontDescriptorForStyle(domain: NobjcObject, behavior: NobjcObject | null, fontStyle: NobjcObject): NobjcObject;
7
+ export declare function MACaptionAppearanceCopyForegroundColor(domain: NobjcObject, behavior: NobjcObject | null): NobjcObject;
8
+ export declare function MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics(domain: NobjcObject): NobjcObject;
9
+ export declare function MACaptionAppearanceCopyProfileIDs(): NobjcObject;
10
+ export declare function MACaptionAppearanceCopyProfileName(profileID: Uint8Array): NobjcObject;
11
+ export declare function MACaptionAppearanceCopySelectedLanguages(domain: NobjcObject): NobjcObject;
12
+ export declare function MACaptionAppearanceCopyWindowColor(domain: NobjcObject, behavior: NobjcObject | null): NobjcObject;
13
+ export declare function MACaptionAppearanceDidDisplayCaptions(strings: NobjcObject): void;
14
+ export declare function MACaptionAppearanceExecuteBlockForProfileID(profileID: Uint8Array, aBlock: NobjcObject): void;
15
+ export declare function MACaptionAppearanceGetBackgroundOpacity(domain: NobjcObject, behavior: NobjcObject | null): number;
16
+ export declare function MACaptionAppearanceGetDisplayType(domain: NobjcObject): NobjcObject;
17
+ export declare function MACaptionAppearanceGetForegroundOpacity(domain: NobjcObject, behavior: NobjcObject | null): number;
18
+ export declare function MACaptionAppearanceGetRelativeCharacterSize(domain: NobjcObject, behavior: NobjcObject | null): number;
19
+ export declare function MACaptionAppearanceGetTextEdgeStyle(domain: NobjcObject, behavior: NobjcObject | null): NobjcObject;
20
+ export declare function MACaptionAppearanceGetWindowOpacity(domain: NobjcObject, behavior: NobjcObject | null): number;
21
+ export declare function MACaptionAppearanceGetWindowRoundedCornerRadius(domain: NobjcObject, behavior: NobjcObject | null): number;
22
+ export declare function MACaptionAppearanceIsCustomized(domain: NobjcObject): boolean;
23
+ export declare function MACaptionAppearanceSetActiveProfileID(profileID: Uint8Array): void;
24
+ export declare function MACaptionAppearanceSetDisplayType(domain: NobjcObject, displayType: NobjcObject): void;
25
+ export declare function MADimFlashingLightsEnabled(): boolean;
26
+ export declare function MAImageCaptioningCopyCaption(url: NobjcObject, error: NobjcObject | null): NobjcObject;
27
+ export declare function MAImageCaptioningCopyMetadataTagPath(): NobjcObject;
28
+ export declare function MAImageCaptioningSetCaption(url: NobjcObject, string_: Uint8Array | null, error: NobjcObject | null): boolean;