@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,89 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+ /// <reference path="./Runtime.d.ts" />
3
+
4
+ declare const OSSystemExtensionErrorDomain: string
5
+
6
+ declare const NSSystemExtensionUsageDescriptionKey: string
7
+
8
+ declare const OSBundleUsageDescriptionKey: string
9
+
10
+ declare const OSSystemExtensionRequestResult: {
11
+ Completed: 0
12
+ WillCompleteAfterReboot: 1
13
+ }
14
+
15
+ declare const OSSystemExtensionReplacementAction: {
16
+ Cancel: 0
17
+ Replace: 1
18
+ }
19
+
20
+ declare const OSSystemExtensionErrorCode: {
21
+ Unknown: 1
22
+ MissingEntitlement: 2
23
+ UnsupportedParentBundleLocation: 3
24
+ ExtensionNotFound: 4
25
+ ExtensionMissingIdentifier: 5
26
+ DuplicateExtensionIdentifer: 6
27
+ UnknownExtensionCategory: 7
28
+ CodeSignatureInvalid: 8
29
+ ValidationFailed: 9
30
+ ForbiddenBySystemPolicy: 10
31
+ RequestCanceled: 11
32
+ RequestSuperseded: 12
33
+ AuthorizationRequired: 13
34
+ }
35
+
36
+ declare interface OSSystemExtensionRequestDelegate extends NSObjectProtocol {
37
+ requestActionForReplacingExtensionWithExtension(
38
+ request: OSSystemExtensionRequest,
39
+ existing: OSSystemExtensionProperties,
40
+ ext: OSSystemExtensionProperties,
41
+ ): interop.Enum<typeof OSSystemExtensionReplacementAction>
42
+
43
+ requestNeedsUserApproval(request: OSSystemExtensionRequest): void
44
+
45
+ requestDidFinishWithResult(
46
+ request: OSSystemExtensionRequest,
47
+ result: interop.Enum<typeof OSSystemExtensionRequestResult>,
48
+ ): void
49
+
50
+ requestDidFailWithError(request: OSSystemExtensionRequest, error: NSError): void
51
+ }
52
+
53
+ declare class OSSystemExtensionRequestDelegate
54
+ extends NativeObject
55
+ implements OSSystemExtensionRequestDelegate {}
56
+
57
+ declare class OSSystemExtensionProperties extends NSObject {
58
+ readonly URL: NSURL
59
+
60
+ readonly bundleIdentifier: string
61
+
62
+ readonly bundleVersion: string
63
+
64
+ readonly bundleShortVersion: string
65
+ }
66
+
67
+ declare class OSSystemExtensionRequest extends NSObject {
68
+ static activationRequestForExtensionQueue<This extends abstract new (...args: any) => any>(
69
+ this: This,
70
+ identifier: string,
71
+ queue: NSObject,
72
+ ): InstanceType<This>
73
+
74
+ static deactivationRequestForExtensionQueue<This extends abstract new (...args: any) => any>(
75
+ this: This,
76
+ identifier: string,
77
+ queue: NSObject,
78
+ ): InstanceType<This>
79
+
80
+ delegate: OSSystemExtensionRequestDelegate
81
+
82
+ readonly identifier: string
83
+ }
84
+
85
+ declare class OSSystemExtensionManager extends NSObject {
86
+ static readonly sharedManager: OSSystemExtensionManager
87
+
88
+ submitRequest(request: OSSystemExtensionRequest): void
89
+ }
@@ -0,0 +1,380 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+
3
+ declare class TW_INFO {
4
+ constructor(init?: TW_INFO)
5
+ InfoID: number
6
+ ItemType: number
7
+ NumItems: number
8
+ CondCode: number
9
+ Item: number
10
+ }
11
+
12
+ declare class TW_TWUNKDSENTRYPARAMS {
13
+ constructor(init?: TW_TWUNKDSENTRYPARAMS)
14
+ destFlag: number
15
+ dest: TW_IDENTITY
16
+ dataGroup: number
17
+ dataArgType: number
18
+ message: number
19
+ pDataSize: number
20
+ }
21
+
22
+ declare class TW_CALLBACK {
23
+ constructor(init?: TW_CALLBACK)
24
+ CallBackProc: string | null
25
+ RefCon: string | null
26
+ Message: number
27
+ }
28
+
29
+ declare class TW_SETUPAUDIOFILEXFER {
30
+ constructor(init?: TW_SETUPAUDIOFILEXFER)
31
+ FileName: unknown /* const array */
32
+ Format: number
33
+ VRefNum: number
34
+ }
35
+
36
+ declare class TW_PASSTHRU {
37
+ constructor(init?: TW_PASSTHRU)
38
+ pCommand: string | null
39
+ CommandBytes: number
40
+ Direction: number
41
+ pData: string | null
42
+ DataBytes: number
43
+ DataBytesXfered: number
44
+ }
45
+
46
+ declare class TW_FILESYSTEM {
47
+ constructor(init?: TW_FILESYSTEM)
48
+ InputName: unknown /* const array */
49
+ OutputName: unknown /* const array */
50
+ Context: string | null
51
+ Recursive: number
52
+ FileType: number
53
+ Size: number
54
+ CreateTimeDate: unknown /* const array */
55
+ ModifiedTimeDate: unknown /* const array */
56
+ FreeSpace: number
57
+ NewImageSize: number
58
+ NumberOfFiles: number
59
+ NumberOfSnippets: number
60
+ DeviceGroupMask: number
61
+ Reserved: unknown /* const array */
62
+ }
63
+
64
+ declare class TW_EXTIMAGEINFO {
65
+ constructor(init?: TW_EXTIMAGEINFO)
66
+ NumInfos: number
67
+ Info: unknown /* const array */
68
+ }
69
+
70
+ declare class TW_USERINTERFACE {
71
+ constructor(init?: TW_USERINTERFACE)
72
+ ShowUI: number
73
+ ModalUI: number
74
+ hParent: interop.Pointer
75
+ }
76
+
77
+ declare class TW_STATUS {
78
+ constructor(init?: TW_STATUS)
79
+ ConditionCode: number
80
+ Reserved: number
81
+ }
82
+
83
+ declare class TW_SETUPFILEXFER2 {
84
+ constructor(init?: TW_SETUPFILEXFER2)
85
+ FileName: string | null
86
+ FileNameType: number
87
+ Format: number
88
+ VRefNum: number
89
+ ParID: number
90
+ }
91
+
92
+ declare class TW_RGBRESPONSE {
93
+ constructor(init?: TW_RGBRESPONSE)
94
+ Response: unknown /* const array */
95
+ }
96
+
97
+ declare class TW_JPEGCOMPRESSION {
98
+ constructor(init?: TW_JPEGCOMPRESSION)
99
+ ColorSpace: number
100
+ SubSampling: number
101
+ NumComponents: number
102
+ RestartFrequency: number
103
+ QuantMap: unknown /* const array */
104
+ QuantTable: unknown /* const array */
105
+ HuffmanMap: unknown /* const array */
106
+ HuffmanDC: unknown /* const array */
107
+ HuffmanAC: unknown /* const array */
108
+ }
109
+
110
+ declare class TW_IMAGEMEMXFER {
111
+ constructor(init?: TW_IMAGEMEMXFER)
112
+ Compression: number
113
+ BytesPerRow: number
114
+ Columns: number
115
+ Rows: number
116
+ XOffset: number
117
+ YOffset: number
118
+ BytesWritten: number
119
+ Memory: TW_MEMORY
120
+ }
121
+
122
+ declare class TW_IDENTITY {
123
+ constructor(init?: TW_IDENTITY)
124
+ Id: string | null
125
+ Version: TW_VERSION
126
+ ProtocolMajor: number
127
+ ProtocolMinor: number
128
+ SupportedGroups: number
129
+ Manufacturer: unknown /* const array */
130
+ ProductFamily: unknown /* const array */
131
+ ProductName: unknown /* const array */
132
+ }
133
+
134
+ declare class TW_GRAYRESPONSE {
135
+ constructor(init?: TW_GRAYRESPONSE)
136
+ Response: unknown /* const array */
137
+ }
138
+
139
+ declare class TW_CIECOLOR {
140
+ constructor(init?: TW_CIECOLOR)
141
+ ColorSpace: number
142
+ LowEndian: number
143
+ DeviceDependent: number
144
+ VersionNumber: number
145
+ StageABC: TW_TRANSFORMSTAGE
146
+ StageLMN: TW_TRANSFORMSTAGE
147
+ WhitePoint: TW_CIEPOINT
148
+ BlackPoint: TW_CIEPOINT
149
+ WhitePaper: TW_CIEPOINT
150
+ BlackInk: TW_CIEPOINT
151
+ Samples: unknown /* const array */
152
+ }
153
+
154
+ declare class TW_CAPABILITY {
155
+ constructor(init?: TW_CAPABILITY)
156
+ Cap: number
157
+ ConType: number
158
+ hContainer: interop.Pointer
159
+ }
160
+
161
+ declare class TW_ENUMERATION {
162
+ constructor(init?: TW_ENUMERATION)
163
+ ItemType: number
164
+ NumItems: number
165
+ CurrentIndex: number
166
+ DefaultIndex: number
167
+ ItemList: unknown /* const array */
168
+ }
169
+
170
+ declare class TW_MEMORY {
171
+ constructor(init?: TW_MEMORY)
172
+ Flags: number
173
+ Length: number
174
+ TheMem: string | null
175
+ }
176
+
177
+ declare class TW_DECODEFUNCTION {
178
+ constructor(init?: TW_DECODEFUNCTION)
179
+ StartIn: TW_FIX32
180
+ BreakIn: TW_FIX32
181
+ EndIn: TW_FIX32
182
+ StartOut: TW_FIX32
183
+ BreakOut: TW_FIX32
184
+ EndOut: TW_FIX32
185
+ Gamma: TW_FIX32
186
+ SampleCount: TW_FIX32
187
+ }
188
+
189
+ declare class TW_FIX32 {
190
+ constructor(init?: TW_FIX32)
191
+ Whole: number
192
+ Frac: number
193
+ }
194
+
195
+ declare class TW_CAPEXT {
196
+ constructor(init?: TW_CAPEXT)
197
+ Cap: number
198
+ Properties: number
199
+ }
200
+
201
+ declare class TW_PENDINGXFERS {
202
+ constructor(init?: TW_PENDINGXFERS)
203
+ Count: number
204
+ TW_JOBCONTROL: unnamed_15099832478408139880
205
+ }
206
+
207
+ declare class TW_FRAME {
208
+ constructor(init?: TW_FRAME)
209
+ Left: TW_FIX32
210
+ Top: TW_FIX32
211
+ Right: TW_FIX32
212
+ Bottom: TW_FIX32
213
+ }
214
+
215
+ declare class TW_TWUNKIDENTITY {
216
+ constructor(init?: TW_TWUNKIDENTITY)
217
+ identity: TW_IDENTITY
218
+ dsPath: unknown /* const array */
219
+ }
220
+
221
+ declare class TW_SETUPFILEXFER {
222
+ constructor(init?: TW_SETUPFILEXFER)
223
+ FileName: unknown /* const array */
224
+ Format: number
225
+ VRefNum: number
226
+ }
227
+
228
+ declare class TW_IMAGEINFO {
229
+ constructor(init?: TW_IMAGEINFO)
230
+ XResolution: TW_FIX32
231
+ YResolution: TW_FIX32
232
+ ImageWidth: number
233
+ ImageLength: number
234
+ SamplesPerPixel: number
235
+ BitsPerSample: unknown /* const array */
236
+ BitsPerPixel: number
237
+ Planar: number
238
+ PixelType: number
239
+ Compression: number
240
+ }
241
+
242
+ declare class TW_CUSTOMDSDATA {
243
+ constructor(init?: TW_CUSTOMDSDATA)
244
+ InfoLength: number
245
+ hData: interop.Pointer
246
+ }
247
+
248
+ declare class TW_CIEPOINT {
249
+ constructor(init?: TW_CIEPOINT)
250
+ X: TW_FIX32
251
+ Y: TW_FIX32
252
+ Z: TW_FIX32
253
+ }
254
+
255
+ declare class TW_TWUNKDSENTRYRETURN {
256
+ constructor(init?: TW_TWUNKDSENTRYRETURN)
257
+ returnCode: number
258
+ conditionCode: number
259
+ pDataSize: number
260
+ }
261
+
262
+ declare class TW_TRANSFORMSTAGE {
263
+ constructor(init?: TW_TRANSFORMSTAGE)
264
+ Decode: unknown /* const array */
265
+ Mix: unknown /* const array */
266
+ }
267
+
268
+ declare class TW_ONEVALUE {
269
+ constructor(init?: TW_ONEVALUE)
270
+ ItemType: number
271
+ Item: number
272
+ }
273
+
274
+ declare class TW_VERSION {
275
+ constructor(init?: TW_VERSION)
276
+ MajorNum: number
277
+ MinorNum: number
278
+ Language: number
279
+ Country: number
280
+ Info: unknown /* const array */
281
+ }
282
+
283
+ declare class TW_AUDIOINFO {
284
+ constructor(init?: TW_AUDIOINFO)
285
+ Name: unknown /* const array */
286
+ Reserved: number
287
+ }
288
+
289
+ declare class TW_RANGE {
290
+ constructor(init?: TW_RANGE)
291
+ ItemType: number
292
+ MinValue: number
293
+ MaxValue: number
294
+ StepSize: number
295
+ DefaultValue: number
296
+ CurrentValue: number
297
+ }
298
+
299
+ declare class TW_ARRAY {
300
+ constructor(init?: TW_ARRAY)
301
+ ItemType: number
302
+ NumItems: number
303
+ ItemList: unknown /* const array */
304
+ }
305
+
306
+ declare class TW_IMAGELAYOUT {
307
+ constructor(init?: TW_IMAGELAYOUT)
308
+ Frame: TW_FRAME
309
+ DocumentNumber: number
310
+ PageNumber: number
311
+ FrameNumber: number
312
+ }
313
+
314
+ declare class TW_SETUPMEMXFER {
315
+ constructor(init?: TW_SETUPMEMXFER)
316
+ MinBufSize: number
317
+ MaxBufSize: number
318
+ Preferred: number
319
+ }
320
+
321
+ declare class TW_DEVICEEVENT {
322
+ constructor(init?: TW_DEVICEEVENT)
323
+ Event: number
324
+ DeviceName: unknown /* const array */
325
+ BatteryMinutes: number
326
+ BatteryPercentage: number
327
+ PowerSupply: number
328
+ XResolution: TW_FIX32
329
+ YResolution: TW_FIX32
330
+ FlashUsed2: number
331
+ AutomaticCapture: number
332
+ TimeBeforeFirstCapture: number
333
+ TimeBetweenCaptures: number
334
+ }
335
+
336
+ declare class TW_EVENT {
337
+ constructor(init?: TW_EVENT)
338
+ pEvent: string | null
339
+ TWMessage: number
340
+ }
341
+
342
+ declare class TW_PALETTE8 {
343
+ constructor(init?: TW_PALETTE8)
344
+ NumColors: number
345
+ PaletteType: number
346
+ Colors: unknown /* const array */
347
+ }
348
+
349
+ declare class TW_ELEMENT8 {
350
+ constructor(init?: TW_ELEMENT8)
351
+ Index: number
352
+ Channel1: number
353
+ Channel2: number
354
+ Channel3: number
355
+ }
356
+
357
+ type unnamed_15099832478408139880Descriptor = { EOJ: number } | { Reserved: number }
358
+
359
+ declare class unnamed_15099832478408139880 {
360
+ constructor(init?: unnamed_15099832478408139880Descriptor)
361
+ EOJ: number
362
+ Reserved: number
363
+ }
364
+
365
+ declare function DSM_Entry(
366
+ pOrigin: interop.PointerConvertible,
367
+ pDest: interop.PointerConvertible,
368
+ DG: number,
369
+ DAT: number,
370
+ MSG: number,
371
+ pData: string,
372
+ ): number
373
+
374
+ declare function DS_Entry(
375
+ pOrigin: interop.PointerConvertible,
376
+ DG: number,
377
+ DAT: number,
378
+ MSG: number,
379
+ pData: string,
380
+ ): number