@flighthq/types 0.5.1-next.1069.554a2ac → 0.5.1-next.1201.9b49dee

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 (235) hide show
  1. package/README.md +2 -2
  2. package/dist/Accessibility.d.ts +1 -1
  3. package/dist/Accessibility.d.ts.map +1 -1
  4. package/dist/App.d.ts +24 -24
  5. package/dist/App.d.ts.map +1 -1
  6. package/dist/ApplicationExitBackend.d.ts +1 -1
  7. package/dist/ApplicationExitBackend.d.ts.map +1 -1
  8. package/dist/ApplicationRenderView.d.ts +2 -2
  9. package/dist/ApplicationRenderView.d.ts.map +1 -1
  10. package/dist/ApplicationVisibilityBackend.d.ts +1 -1
  11. package/dist/ApplicationVisibilityBackend.d.ts.map +1 -1
  12. package/dist/ApplicationWindow.d.ts +1 -1
  13. package/dist/ApplicationWindow.d.ts.map +1 -1
  14. package/dist/ApplicationWindowTargetBackend.d.ts +5 -5
  15. package/dist/ApplicationWindowTargetBackend.d.ts.map +1 -1
  16. package/dist/AudioBackend.d.ts +1 -1
  17. package/dist/AudioBackend.d.ts.map +1 -1
  18. package/dist/AudioDeviceBackend.d.ts +2 -2
  19. package/dist/AudioDeviceBackend.d.ts.map +1 -1
  20. package/dist/Bidi.d.ts +1 -1
  21. package/dist/Bidi.d.ts.map +1 -1
  22. package/dist/BitmapEncodeBackend.d.ts +2 -2
  23. package/dist/BitmapEncodeBackend.d.ts.map +1 -1
  24. package/dist/BitmapReadbackBackend.d.ts +1 -1
  25. package/dist/BitmapReadbackBackend.d.ts.map +1 -1
  26. package/dist/CanvasRenderEffectPipeline.d.ts +6 -6
  27. package/dist/CanvasRenderEffectPipeline.d.ts.map +1 -1
  28. package/dist/CanvasRenderOptions.d.ts +0 -1
  29. package/dist/CanvasRenderOptions.d.ts.map +1 -1
  30. package/dist/CanvasRenderPass.d.ts +25 -0
  31. package/dist/CanvasRenderPass.d.ts.map +1 -0
  32. package/dist/CanvasRenderPass.js +2 -0
  33. package/dist/CanvasRenderPass.js.map +1 -0
  34. package/dist/CanvasRenderState.d.ts +9 -7
  35. package/dist/CanvasRenderState.d.ts.map +1 -1
  36. package/dist/CanvasRenderTarget.d.ts +9 -0
  37. package/dist/CanvasRenderTarget.d.ts.map +1 -1
  38. package/dist/CanvasRenderTexture.d.ts +2 -2
  39. package/dist/CanvasRenderTexture.d.ts.map +1 -1
  40. package/dist/CanvasTextShaperBackend.d.ts +2 -2
  41. package/dist/CanvasTextShaperBackend.d.ts.map +1 -1
  42. package/dist/CapacitorApi.js +4 -4
  43. package/dist/CapacitorApi.js.map +1 -1
  44. package/dist/CapacitorHost.d.ts +14 -5
  45. package/dist/CapacitorHost.d.ts.map +1 -1
  46. package/dist/Clipboard.d.ts +5 -5
  47. package/dist/Clipboard.d.ts.map +1 -1
  48. package/dist/Connectivity.d.ts +3 -3
  49. package/dist/Connectivity.d.ts.map +1 -1
  50. package/dist/CreateRenderTextureOptions.d.ts +0 -2
  51. package/dist/CreateRenderTextureOptions.d.ts.map +1 -1
  52. package/dist/Device.d.ts +1 -1
  53. package/dist/Device.d.ts.map +1 -1
  54. package/dist/DomRenderOptions.d.ts +0 -1
  55. package/dist/DomRenderOptions.d.ts.map +1 -1
  56. package/dist/ElectronApi.js +1 -1
  57. package/dist/ElectronApi.js.map +1 -1
  58. package/dist/ElectronHost.d.ts +27 -4
  59. package/dist/ElectronHost.d.ts.map +1 -1
  60. package/dist/ElectronHostOptions.d.ts +7 -0
  61. package/dist/ElectronHostOptions.d.ts.map +1 -0
  62. package/dist/ElectronHostOptions.js +2 -0
  63. package/dist/ElectronHostOptions.js.map +1 -0
  64. package/dist/FileDialogBackend.d.ts +3 -3
  65. package/dist/FileDialogBackend.d.ts.map +1 -1
  66. package/dist/FileSystem.d.ts +1 -1
  67. package/dist/FileSystem.d.ts.map +1 -1
  68. package/dist/FontLoadingBackend.d.ts +1 -1
  69. package/dist/FontLoadingBackend.d.ts.map +1 -1
  70. package/dist/FullscreenBackend.d.ts +1 -1
  71. package/dist/FullscreenBackend.d.ts.map +1 -1
  72. package/dist/Geolocation.d.ts +1 -1
  73. package/dist/Geolocation.d.ts.map +1 -1
  74. package/dist/Geolocation.js +1 -1
  75. package/dist/Geolocation.js.map +1 -1
  76. package/dist/GlContext.d.ts +1 -1
  77. package/dist/GlContext.d.ts.map +1 -1
  78. package/dist/GlCubeRenderTarget.d.ts +2 -0
  79. package/dist/GlCubeRenderTarget.d.ts.map +1 -1
  80. package/dist/GlRenderEffectPipeline.d.ts +8 -8
  81. package/dist/GlRenderEffectPipeline.d.ts.map +1 -1
  82. package/dist/GlRenderOptions.d.ts +0 -1
  83. package/dist/GlRenderOptions.d.ts.map +1 -1
  84. package/dist/GlRenderPass.d.ts +10 -0
  85. package/dist/GlRenderPass.d.ts.map +1 -0
  86. package/dist/GlRenderPass.js +2 -0
  87. package/dist/GlRenderPass.js.map +1 -0
  88. package/dist/GlRenderState.d.ts +2 -0
  89. package/dist/GlRenderState.d.ts.map +1 -1
  90. package/dist/GlRenderTarget.d.ts +14 -8
  91. package/dist/GlRenderTarget.d.ts.map +1 -1
  92. package/dist/GlRenderTexture.d.ts +3 -3
  93. package/dist/GlRenderTexture.d.ts.map +1 -1
  94. package/dist/GlScene3DRuntime.d.ts +2 -2
  95. package/dist/GlScene3DRuntime.d.ts.map +1 -1
  96. package/dist/GlyphSource.d.ts +4 -4
  97. package/dist/GlyphSource.d.ts.map +1 -1
  98. package/dist/Haptics.d.ts +2 -2
  99. package/dist/Haptics.d.ts.map +1 -1
  100. package/dist/Host.d.ts +217 -1039
  101. package/dist/Host.d.ts.map +1 -1
  102. package/dist/HostImageDimensions.d.ts +7 -0
  103. package/dist/HostImageDimensions.d.ts.map +1 -0
  104. package/dist/HostImageDimensions.js +2 -0
  105. package/dist/HostImageDimensions.js.map +1 -0
  106. package/dist/ImageBitmapComposition.d.ts +2 -0
  107. package/dist/ImageBitmapComposition.d.ts.map +1 -1
  108. package/dist/ImageOpenDialogBackend.d.ts +1 -1
  109. package/dist/ImageOpenDialogBackend.d.ts.map +1 -1
  110. package/dist/ImageResource.d.ts +2 -2
  111. package/dist/ImageResource.d.ts.map +1 -1
  112. package/dist/InputIngressBackend.d.ts +1 -1
  113. package/dist/InputIngressBackend.d.ts.map +1 -1
  114. package/dist/InputTargetBackend.d.ts +1 -1
  115. package/dist/InputTargetBackend.d.ts.map +1 -1
  116. package/dist/Ipc.d.ts +5 -5
  117. package/dist/Ipc.d.ts.map +1 -1
  118. package/dist/Keyboard.d.ts +7 -7
  119. package/dist/Keyboard.d.ts.map +1 -1
  120. package/dist/Lifecycle.d.ts +2 -2
  121. package/dist/Lifecycle.d.ts.map +1 -1
  122. package/dist/LoopBackend.d.ts +1 -1
  123. package/dist/LoopBackend.d.ts.map +1 -1
  124. package/dist/MediaSession.d.ts +2 -2
  125. package/dist/MediaSession.d.ts.map +1 -1
  126. package/dist/Menu.d.ts +4 -4
  127. package/dist/Menu.d.ts.map +1 -1
  128. package/dist/MessageDialogBackend.d.ts +1 -1
  129. package/dist/MessageDialogBackend.d.ts.map +1 -1
  130. package/dist/Midi.d.ts +5 -5
  131. package/dist/Midi.d.ts.map +1 -1
  132. package/dist/Net.d.ts +1 -1
  133. package/dist/Net.d.ts.map +1 -1
  134. package/dist/Notification.d.ts +43 -43
  135. package/dist/Notification.d.ts.map +1 -1
  136. package/dist/PathBooleanBackend.d.ts +1 -1
  137. package/dist/PathBooleanBackend.d.ts.map +1 -1
  138. package/dist/PhotoCaptureDialogBackend.d.ts +1 -1
  139. package/dist/PhotoCaptureDialogBackend.d.ts.map +1 -1
  140. package/dist/Platform.d.ts +1 -1
  141. package/dist/Platform.d.ts.map +1 -1
  142. package/dist/Platform.js +3 -5
  143. package/dist/Platform.js.map +1 -1
  144. package/dist/Power.d.ts +8 -11
  145. package/dist/Power.d.ts.map +1 -1
  146. package/dist/PromptDialogBackend.d.ts +1 -1
  147. package/dist/PromptDialogBackend.d.ts.map +1 -1
  148. package/dist/Protocol.d.ts +6 -6
  149. package/dist/Protocol.d.ts.map +1 -1
  150. package/dist/RenderCache.d.ts +1 -1
  151. package/dist/RenderState.d.ts +0 -3
  152. package/dist/RenderState.d.ts.map +1 -1
  153. package/dist/RenderTarget.d.ts +0 -4
  154. package/dist/RenderTarget.d.ts.map +1 -1
  155. package/dist/RenderTargetClear.d.ts +7 -0
  156. package/dist/RenderTargetClear.d.ts.map +1 -0
  157. package/dist/RenderTargetClear.js +2 -0
  158. package/dist/RenderTargetClear.js.map +1 -0
  159. package/dist/Screen.d.ts +4 -4
  160. package/dist/Screen.d.ts.map +1 -1
  161. package/dist/Screen.js +2 -2
  162. package/dist/Screen.js.map +1 -1
  163. package/dist/Sensors.d.ts +1 -1
  164. package/dist/Sensors.d.ts.map +1 -1
  165. package/dist/Share.d.ts +3 -3
  166. package/dist/Share.d.ts.map +1 -1
  167. package/dist/Shell.d.ts +7 -11
  168. package/dist/Shell.d.ts.map +1 -1
  169. package/dist/Shortcut.d.ts +2 -2
  170. package/dist/Shortcut.d.ts.map +1 -1
  171. package/dist/Socket.d.ts +1 -1
  172. package/dist/Socket.d.ts.map +1 -1
  173. package/dist/StatusBar.d.ts +6 -6
  174. package/dist/StatusBar.d.ts.map +1 -1
  175. package/dist/Storage.d.ts +7 -7
  176. package/dist/Storage.d.ts.map +1 -1
  177. package/dist/TauriApi.js +3 -3
  178. package/dist/TauriApi.js.map +1 -1
  179. package/dist/TauriHost.d.ts +13 -2
  180. package/dist/TauriHost.d.ts.map +1 -1
  181. package/dist/TextSegment.d.ts +1 -1
  182. package/dist/TextSegment.d.ts.map +1 -1
  183. package/dist/TextShaper.d.ts +2 -2
  184. package/dist/TextShaper.d.ts.map +1 -1
  185. package/dist/TextShaperSignals.d.ts +2 -2
  186. package/dist/TextShaperSignals.d.ts.map +1 -1
  187. package/dist/Tray.d.ts +15 -78
  188. package/dist/Tray.d.ts.map +1 -1
  189. package/dist/Updater.d.ts +1 -1
  190. package/dist/Updater.d.ts.map +1 -1
  191. package/dist/VideoCapabilityBackend.d.ts +1 -1
  192. package/dist/VideoCapabilityBackend.d.ts.map +1 -1
  193. package/dist/VideoCaptureDialogBackend.d.ts +1 -1
  194. package/dist/VideoCaptureDialogBackend.d.ts.map +1 -1
  195. package/dist/WgpuHost.d.ts +11 -2
  196. package/dist/WgpuHost.d.ts.map +1 -1
  197. package/dist/WgpuRenderEffectPipeline.d.ts +4 -4
  198. package/dist/WgpuRenderEffectPipeline.d.ts.map +1 -1
  199. package/dist/WgpuRenderOptions.d.ts +0 -2
  200. package/dist/WgpuRenderOptions.d.ts.map +1 -1
  201. package/dist/WgpuRenderPass.d.ts +29 -0
  202. package/dist/WgpuRenderPass.d.ts.map +1 -0
  203. package/dist/WgpuRenderPass.js +2 -0
  204. package/dist/WgpuRenderPass.js.map +1 -0
  205. package/dist/WgpuRenderState.d.ts +5 -43
  206. package/dist/WgpuRenderState.d.ts.map +1 -1
  207. package/dist/WgpuRenderTarget.d.ts +37 -8
  208. package/dist/WgpuRenderTarget.d.ts.map +1 -1
  209. package/dist/WgpuRenderTexture.d.ts +2 -3
  210. package/dist/WgpuRenderTexture.d.ts.map +1 -1
  211. package/dist/contract.d.ts +6 -3
  212. package/dist/contract.d.ts.map +1 -1
  213. package/dist/contract.js +6 -3
  214. package/dist/contract.js.map +1 -1
  215. package/dist/index.d.ts +6 -4
  216. package/dist/index.d.ts.map +1 -1
  217. package/dist/index.js +6 -4
  218. package/dist/index.js.map +1 -1
  219. package/package.json +1 -1
  220. package/src/Menu.test.ts +13 -13
  221. package/src/Power.test.ts +25 -35
  222. package/src/Shell.test.ts +10 -10
  223. package/src/Socket.test.ts +2 -2
  224. package/dist/ElectronBackendOptions.d.ts +0 -7
  225. package/dist/ElectronBackendOptions.d.ts.map +0 -1
  226. package/dist/ElectronBackendOptions.js +0 -2
  227. package/dist/ElectronBackendOptions.js.map +0 -1
  228. package/dist/RenderPassPreserve.d.ts +0 -5
  229. package/dist/RenderPassPreserve.d.ts.map +0 -1
  230. package/dist/RenderPassPreserve.js +0 -2
  231. package/dist/RenderPassPreserve.js.map +0 -1
  232. package/dist/WgpuRenderSurfaceProvider.d.ts +0 -5
  233. package/dist/WgpuRenderSurfaceProvider.d.ts.map +0 -1
  234. package/dist/WgpuRenderSurfaceProvider.js +0 -2
  235. package/dist/WgpuRenderSurfaceProvider.js.map +0 -1
package/dist/Host.d.ts CHANGED
@@ -1,60 +1,60 @@
1
- import type { AccessibilityBackend } from './Accessibility';
2
- import type { AppActivateBackend, AppActivationPolicyBackend, AppAllWindowsClosedBackend, AppBadgeBackend, AppDockBackend, AppFocusBackend, AppHideBackend, AppLocaleBackend, AppLoginItemBackend, AppNameBackend, AppNameWriteBackend, AppOpenFileBackend, AppPathBackend, AppQuitBackend, AppQuitRequestBackend, AppReadyBackend, AppRecentDocumentsBackend, AppRelaunchBackend, AppSecondInstanceBackend, AppSingleInstanceBackend, AppUserModelIdBackend, AppVersionBackend, AppShowBackend, AppVisibilityQueryBackend } from './App';
3
- import type { ApplicationExitBackend } from './ApplicationExitBackend';
4
- import type { ApplicationVisibilityBackend } from './ApplicationVisibilityBackend';
5
- import type { WindowBackend } from './ApplicationWindow';
6
- import type { InputDropFileBackend, InputFocusBackend, InputPointerLockBackend, RenderContextBackend, RenderSurfaceBackend } from './ApplicationWindowTargetBackend';
7
- import type { AudioBackend } from './AudioBackend';
8
- import type { AudioDeviceBackend } from './AudioDeviceBackend';
9
- import type { BidiClassBackend } from './Bidi';
10
- import type { BitmapEncodeBackend } from './BitmapEncodeBackend';
11
- import type { BitmapReadbackBackend } from './BitmapReadbackBackend';
12
- import type { ClipboardBookmarkBackend, ClipboardChangeBackend, ClipboardFormatsBackend, ClipboardImageBackend, ClipboardTextBackend } from './Clipboard';
13
- import type { ConnectivityChangeBackend, ConnectivityReachabilityBackend, ConnectivityStatusBackend } from './Connectivity';
14
- import type { DeviceBackend } from './Device';
1
+ import type { HostAccessibilityProvider } from './Accessibility';
2
+ import type { HostAppActivateProvider, HostAppActivationPolicyProvider, HostAppAllWindowsClosedProvider, HostAppBadgeProvider, HostAppDockProvider, HostAppFocusProvider, HostAppHideProvider, HostAppLocaleProvider, HostAppLoginItemProvider, HostAppNameProvider, HostAppNameWriteProvider, HostAppOpenFileProvider, HostAppPathProvider, HostAppQuitProvider, HostAppQuitRequestProvider, HostAppReadyProvider, HostAppRecentDocumentsProvider, HostAppRelaunchProvider, HostAppSecondInstanceProvider, HostAppSingleInstanceProvider, HostAppUserModelIdProvider, HostAppVersionProvider, HostAppShowProvider, HostAppVisibilityQueryProvider } from './App';
3
+ import type { HostApplicationExitProvider } from './ApplicationExitBackend';
4
+ import type { HostApplicationVisibilityProvider } from './ApplicationVisibilityBackend';
5
+ import type { HostWindowProvider } from './ApplicationWindow';
6
+ import type { HostInputDropFileProvider, HostInputFocusProvider, HostInputPointerLockProvider, HostRenderContextProvider, HostRenderSurfaceProvider } from './ApplicationWindowTargetBackend';
7
+ import type { HostAudioProvider } from './AudioBackend';
8
+ import type { HostAudioDeviceProvider } from './AudioDeviceBackend';
9
+ import type { HostBidiClassProvider } from './Bidi';
10
+ import type { HostBitmapEncodeProvider } from './BitmapEncodeBackend';
11
+ import type { HostBitmapReadbackProvider } from './BitmapReadbackBackend';
12
+ import type { HostClipboardBookmarkProvider, HostClipboardChangeProvider, HostClipboardFormatsProvider, HostClipboardImageProvider, HostClipboardTextProvider } from './Clipboard';
13
+ import type { HostConnectivityChangeProvider, HostConnectivityReachabilityProvider, HostConnectivityStatusProvider } from './Connectivity';
14
+ import type { HostDeviceProvider } from './Device';
15
15
  import type { Entity } from './Entity';
16
- import type { DirectoryOpenDialogBackend, FileOpenDialogBackend, FileSaveDialogBackend } from './FileDialogBackend';
17
- import type { FileSystemHostBackend } from './FileSystem';
18
- import type { FontLoadingBackend } from './FontLoadingBackend';
19
- import type { FullscreenBackend } from './FullscreenBackend';
20
- import type { GeolocationBackend } from './Geolocation';
21
- import type { GlyphRasterizerBackend } from './GlyphSource';
22
- import type { HapticsBackend } from './Haptics';
23
- import type { ImageOpenDialogBackend } from './ImageOpenDialogBackend';
24
- import type { ImageBackend } from './ImageResource';
25
- import type { InputIngressBackend } from './InputIngressBackend';
26
- import type { InputTargetBackend } from './InputTargetBackend';
27
- import type { IpcHandleBackend, IpcInvokeBackend, IpcMessageBackend, IpcSendBackend, IpcTargetedSendBackend } from './Ipc';
28
- import type { SoftKeyboardAccessoryBarBackend, SoftKeyboardChangeBackend, SoftKeyboardInfoBackend, SoftKeyboardResizeModeWriteBackend, SoftKeyboardScrollAssistBackend, SoftKeyboardStyleBackend, SoftKeyboardVisibilityBackend } from './Keyboard';
29
- import type { LifecycleBackend } from './Lifecycle';
30
- import type { LoopBackend } from './LoopBackend';
31
- import type { MediaSessionActionBackend, MediaSessionBackend } from './MediaSession';
32
- import type { MenuApplicationBackend, MenuHighlightBackend, MenuPopupBackend, MenuSelectBackend } from './Menu';
33
- import type { MessageDialogBackend } from './MessageDialogBackend';
34
- import type { MidiAccessBackend, MidiPermissionBackend } from './Midi';
35
- import type { NetBackend } from './Net';
36
- import type { NotificationActionBackend, NotificationActiveListBackend, NotificationClickBackend, NotificationCloseBackend, NotificationDeliveryBackend, NotificationDismissBackend, NotificationLifecycleBackend, NotificationPermissionBackend, NotificationReceivedBackend, NotificationReplyBackend, NotificationSchedulingBackend } from './Notification';
37
- import type { PathBooleanBackend } from './PathBooleanBackend';
38
- import type { PhotoCaptureDialogBackend } from './PhotoCaptureDialogBackend';
39
- import type { PlatformBackend } from './Platform';
40
- import type { PowerBatteryHealthBackend, PowerChangeBackend, PowerIdleBackend, PowerKeepAwakeBackend, PowerSessionLockBackend, PowerStatusBackend, PowerSuspensionBackend, PowerThermalBackend } from './Power';
41
- import type { PromptDialogBackend } from './PromptDialogBackend';
42
- import type { ProtocolDefaultBackend, ProtocolLaunchBackend, ProtocolOpenBackend, ProtocolRegistrationBackend, ProtocolRegistrationQueryBackend, ProtocolUnregistrationBackend } from './Protocol';
43
- import type { ScreenChangeBackend, ScreenDetailsBackend, ScreenPermissionChangeBackend, ScreenQueryBackend } from './Screen';
44
- import type { SensorsBackend } from './Sensors';
45
- import type { ShareContentBackend, ShareFilesBackend } from './Share';
46
- import type { ShellBeepBackend, ShellExternalBackend, ShellPathOpenBackend, ShellPathRevealBackend, ShellProcessBackend, ShellShortcutLinkBackend, ShellTrashBackend } from './Shell';
47
- import type { ShortcutQueryBackend, ShortcutTriggerBackend } from './Shortcut';
48
- import type { SocketBackend } from './Socket';
49
- import type { StatusBarChangeBackend, StatusBarColorBackend, StatusBarInfoBackend, StatusBarOverlaysBackend, StatusBarStyleBackend, StatusBarVisibilityBackend } from './StatusBar';
50
- import type { StorageBackend, StorageChangeBackend, StoragePersistenceQueryBackend, StoragePersistenceRequestBackend } from './Storage';
51
- import type { TextSegmenterBackend } from './TextSegment';
52
- import type { TextShaperBackend } from './TextShaper';
53
- import type { TrayBalloonBackend, TrayBalloonEventsBackend, TrayBoundsBackend, TrayDoubleClickPolicyBackend, TrayDropEventsBackend, TrayImageBackend, TrayInteractionEventsBackend, TrayLifecycleBackend, TrayMenuBackend, TrayMenuSelectionEventsBackend, TrayPopupMenuBackend, TrayPressedImageBackend, TrayTemplateImageBackend, TrayTitleBackend, TrayTooltipBackend } from './Tray';
54
- import type { UpdaterCommandBackend } from './Updater';
55
- import type { VideoCapabilityBackend } from './VideoCapabilityBackend';
56
- import type { VideoCaptureDialogBackend } from './VideoCaptureDialogBackend';
57
- import type { WgpuHostBackend } from './WgpuHost';
16
+ import type { HostDirectoryOpenDialogProvider, HostFileOpenDialogProvider, HostFileSaveDialogProvider } from './FileDialogBackend';
17
+ import type { HostFileSystemProvider } from './FileSystem';
18
+ import type { HostFontLoadingProvider } from './FontLoadingBackend';
19
+ import type { HostFullscreenProvider } from './FullscreenBackend';
20
+ import type { HostGeolocationProvider } from './Geolocation';
21
+ import type { HostGlyphRasterizerProvider } from './GlyphSource';
22
+ import type { HostHapticsProvider } from './Haptics';
23
+ import type { HostImageOpenDialogProvider } from './ImageOpenDialogBackend';
24
+ import type { HostImageProvider } from './ImageResource';
25
+ import type { HostInputIngressProvider } from './InputIngressBackend';
26
+ import type { HostInputTargetProvider } from './InputTargetBackend';
27
+ import type { HostIpcHandleProvider, HostIpcInvokeProvider, HostIpcMessageProvider, HostIpcSendProvider, HostIpcTargetedSendProvider } from './Ipc';
28
+ import type { HostSoftKeyboardAccessoryBarProvider, HostSoftKeyboardChangeProvider, HostSoftKeyboardInfoProvider, HostSoftKeyboardResizeModeWriteProvider, HostSoftKeyboardScrollAssistProvider, HostSoftKeyboardStyleProvider, HostSoftKeyboardVisibilityProvider } from './Keyboard';
29
+ import type { HostLifecycleProvider } from './Lifecycle';
30
+ import type { HostLoopProvider } from './LoopBackend';
31
+ import type { HostMediaSessionActionProvider, HostMediaSessionProvider } from './MediaSession';
32
+ import type { HostMenuApplicationProvider, HostMenuHighlightProvider, HostMenuPopupProvider, HostMenuSelectProvider } from './Menu';
33
+ import type { HostMessageDialogProvider } from './MessageDialogBackend';
34
+ import type { HostMidiAccessProvider, HostMidiPermissionProvider } from './Midi';
35
+ import type { HostNetProvider } from './Net';
36
+ import type { HostNotificationActionProvider, HostNotificationActiveListProvider, HostNotificationClickProvider, HostNotificationCloseProvider, HostNotificationDeliveryProvider, HostNotificationDismissProvider, HostNotificationLifecycleProvider, HostNotificationPermissionProvider, HostNotificationReceivedProvider, HostNotificationReplyProvider, HostNotificationSchedulingProvider } from './Notification';
37
+ import type { HostPathBooleanProvider } from './PathBooleanBackend';
38
+ import type { HostPhotoCaptureDialogProvider } from './PhotoCaptureDialogBackend';
39
+ import type { HostPlatformProvider } from './Platform';
40
+ import type { HostPowerBatteryHealthProvider, HostPowerChangeProvider, HostPowerIdleProvider, HostPowerKeepAwakeProvider, HostPowerSessionLockProvider, HostPowerStatusProvider, HostPowerSuspensionProvider, HostPowerThermalProvider } from './Power';
41
+ import type { HostPromptDialogProvider } from './PromptDialogBackend';
42
+ import type { HostProtocolDefaultProvider, HostProtocolLaunchProvider, HostProtocolOpenProvider, HostProtocolRegistrationProvider, HostProtocolRegistrationQueryProvider, HostProtocolUnregistrationProvider } from './Protocol';
43
+ import type { HostScreenChangeProvider, HostScreenDetailsProvider, HostScreenPermissionChangeProvider, HostScreenQueryProvider } from './Screen';
44
+ import type { HostSensorsProvider } from './Sensors';
45
+ import type { HostShareContentProvider, HostShareFilesProvider } from './Share';
46
+ import type { HostShellBeepProvider, HostShellExternalProvider, HostShellPathOpenProvider, HostShellPathRevealProvider, HostShellProcessProvider, HostShellShortcutLinkProvider, HostShellTrashProvider } from './Shell';
47
+ import type { HostShortcutQueryProvider, HostShortcutTriggerProvider } from './Shortcut';
48
+ import type { HostSocketProvider } from './Socket';
49
+ import type { HostStatusBarChangeProvider, HostStatusBarColorProvider, HostStatusBarInfoProvider, HostStatusBarOverlaysProvider, HostStatusBarStyleProvider, HostStatusBarVisibilityProvider } from './StatusBar';
50
+ import type { HostStorageProvider, HostStorageChangeProvider, HostStoragePersistenceQueryProvider, HostStoragePersistenceRequestProvider } from './Storage';
51
+ import type { HostTextSegmenterProvider } from './TextSegment';
52
+ import type { HostTextShaperProvider } from './TextShaper';
53
+ import type { HostTrayBalloonProvider, HostTrayBalloonEventsProvider, HostTrayBoundsProvider, HostTrayDoubleClickPolicyProvider, HostTrayDropEventsProvider, HostTrayImageProvider, HostTrayInteractionEventsProvider, HostTrayLifecycleProvider, HostTrayMenuProvider, HostTrayMenuSelectionEventsProvider, HostTrayPopupMenuProvider, HostTrayPressedImageProvider, HostTrayTemplateImageProvider, HostTrayTitleProvider, HostTrayTooltipProvider } from './Tray';
54
+ import type { HostUpdaterCommandProvider } from './Updater';
55
+ import type { HostVideoProvider } from './VideoCapabilityBackend';
56
+ import type { HostVideoCaptureDialogProvider } from './VideoCaptureDialogBackend';
57
+ import type { HostWgpuProvider } from './WgpuHost';
58
58
  export interface Host extends Entity {
59
59
  readonly accessibility: HostAccessibilityCapabilities;
60
60
  readonly app: HostAppCapabilities;
@@ -81,1039 +81,217 @@ export interface Host extends Entity {
81
81
  readonly tray: HostTrayCapabilities;
82
82
  readonly ui: HostUiCapabilities;
83
83
  readonly updater: HostUpdaterCapabilities;
84
- readonly window: WindowBackend;
84
+ readonly window: HostWindowProvider;
85
85
  }
86
86
  export interface HostAccessibilityCapabilities {
87
- readonly provider?: AccessibilityBackend;
87
+ readonly provider?: HostAccessibilityProvider;
88
88
  }
89
89
  export interface HostAppCapabilities {
90
- readonly activate?: AppActivateBackend;
91
- readonly activationPolicy?: AppActivationPolicyBackend;
92
- readonly allWindowsClosed?: AppAllWindowsClosedBackend;
93
- readonly badge?: AppBadgeBackend;
94
- readonly dock?: AppDockBackend;
95
- readonly exit?: ApplicationExitBackend;
96
- readonly focus?: AppFocusBackend;
97
- readonly hide?: AppHideBackend;
98
- readonly locale?: AppLocaleBackend;
99
- readonly loginItem?: AppLoginItemBackend;
100
- readonly loop?: LoopBackend;
101
- readonly name?: AppNameBackend;
102
- readonly nameWrite?: AppNameWriteBackend;
103
- readonly openFile?: AppOpenFileBackend;
104
- readonly path?: AppPathBackend;
105
- readonly hiddenQuery?: AppVisibilityQueryBackend;
106
- readonly quit?: AppQuitBackend;
107
- readonly quitRequest?: AppQuitRequestBackend;
108
- readonly ready?: AppReadyBackend;
109
- readonly recentDocuments?: AppRecentDocumentsBackend;
110
- readonly relaunch?: AppRelaunchBackend;
111
- readonly secondInstance?: AppSecondInstanceBackend;
112
- readonly show?: AppShowBackend;
113
- readonly singleInstance?: AppSingleInstanceBackend;
114
- readonly userModelId?: AppUserModelIdBackend;
115
- readonly version?: AppVersionBackend;
116
- readonly visibility?: ApplicationVisibilityBackend;
90
+ readonly activate?: HostAppActivateProvider;
91
+ readonly activationPolicy?: HostAppActivationPolicyProvider;
92
+ readonly allWindowsClosed?: HostAppAllWindowsClosedProvider;
93
+ readonly badge?: HostAppBadgeProvider;
94
+ readonly dock?: HostAppDockProvider;
95
+ readonly exit?: HostApplicationExitProvider;
96
+ readonly focus?: HostAppFocusProvider;
97
+ readonly hide?: HostAppHideProvider;
98
+ readonly locale?: HostAppLocaleProvider;
99
+ readonly loginItem?: HostAppLoginItemProvider;
100
+ readonly loop?: HostLoopProvider;
101
+ readonly name?: HostAppNameProvider;
102
+ readonly nameWrite?: HostAppNameWriteProvider;
103
+ readonly openFile?: HostAppOpenFileProvider;
104
+ readonly path?: HostAppPathProvider;
105
+ readonly hiddenQuery?: HostAppVisibilityQueryProvider;
106
+ readonly quit?: HostAppQuitProvider;
107
+ readonly quitRequest?: HostAppQuitRequestProvider;
108
+ readonly ready?: HostAppReadyProvider;
109
+ readonly recentDocuments?: HostAppRecentDocumentsProvider;
110
+ readonly relaunch?: HostAppRelaunchProvider;
111
+ readonly secondInstance?: HostAppSecondInstanceProvider;
112
+ readonly show?: HostAppShowProvider;
113
+ readonly singleInstance?: HostAppSingleInstanceProvider;
114
+ readonly userModelId?: HostAppUserModelIdProvider;
115
+ readonly version?: HostAppVersionProvider;
116
+ readonly visibility?: HostApplicationVisibilityProvider;
117
117
  }
118
118
  export interface HostProtocolCapabilities {
119
- readonly default?: ProtocolDefaultBackend;
120
- readonly launch?: ProtocolLaunchBackend;
121
- readonly open?: ProtocolOpenBackend;
122
- readonly registration?: ProtocolRegistrationBackend;
123
- readonly registrationQuery?: ProtocolRegistrationQueryBackend;
124
- readonly unregistration?: ProtocolUnregistrationBackend;
119
+ readonly default?: HostProtocolDefaultProvider;
120
+ readonly launch?: HostProtocolLaunchProvider;
121
+ readonly open?: HostProtocolOpenProvider;
122
+ readonly registration?: HostProtocolRegistrationProvider;
123
+ readonly registrationQuery?: HostProtocolRegistrationQueryProvider;
124
+ readonly unregistration?: HostProtocolUnregistrationProvider;
125
125
  }
126
126
  export interface HostClipboardCapabilities {
127
- readonly bookmark?: ClipboardBookmarkBackend;
128
- readonly change?: ClipboardChangeBackend;
129
- readonly formats?: ClipboardFormatsBackend;
130
- readonly image?: ClipboardImageBackend;
131
- readonly text?: ClipboardTextBackend;
127
+ readonly bookmark?: HostClipboardBookmarkProvider;
128
+ readonly change?: HostClipboardChangeProvider;
129
+ readonly formats?: HostClipboardFormatsProvider;
130
+ readonly image?: HostClipboardImageProvider;
131
+ readonly text?: HostClipboardTextProvider;
132
132
  }
133
133
  export interface HostConnectivityCapabilities {
134
- readonly change?: ConnectivityChangeBackend;
135
- readonly reachability?: ConnectivityReachabilityBackend;
136
- readonly status?: ConnectivityStatusBackend;
134
+ readonly change?: HostConnectivityChangeProvider;
135
+ readonly reachability?: HostConnectivityReachabilityProvider;
136
+ readonly status?: HostConnectivityStatusProvider;
137
137
  }
138
138
  export interface HostDialogCapabilities {
139
- readonly directoryOpen?: DirectoryOpenDialogBackend;
140
- readonly fileOpen?: FileOpenDialogBackend;
141
- readonly fileSave?: FileSaveDialogBackend;
142
- readonly imageOpen?: ImageOpenDialogBackend;
143
- readonly message?: MessageDialogBackend;
144
- readonly photoCapture?: PhotoCaptureDialogBackend;
145
- readonly prompt?: PromptDialogBackend;
146
- readonly videoCapture?: VideoCaptureDialogBackend;
139
+ readonly directoryOpen?: HostDirectoryOpenDialogProvider;
140
+ readonly fileOpen?: HostFileOpenDialogProvider;
141
+ readonly fileSave?: HostFileSaveDialogProvider;
142
+ readonly imageOpen?: HostImageOpenDialogProvider;
143
+ readonly message?: HostMessageDialogProvider;
144
+ readonly photoCapture?: HostPhotoCaptureDialogProvider;
145
+ readonly prompt?: HostPromptDialogProvider;
146
+ readonly videoCapture?: HostVideoCaptureDialogProvider;
147
147
  }
148
148
  export interface HostGraphicsCapabilities {
149
- readonly bitmapEncode?: BitmapEncodeBackend;
150
- readonly bitmapReadback?: BitmapReadbackBackend;
151
- readonly image?: ImageBackend;
152
- readonly pathBoolean?: PathBooleanBackend;
153
- readonly renderContext?: RenderContextBackend;
154
- readonly renderSurface?: RenderSurfaceBackend;
155
- readonly wgpuHost?: WgpuHostBackend;
149
+ readonly bitmapEncode?: HostBitmapEncodeProvider;
150
+ readonly bitmapReadback?: HostBitmapReadbackProvider;
151
+ readonly image?: HostImageProvider;
152
+ readonly pathBoolean?: HostPathBooleanProvider;
153
+ readonly renderContext?: HostRenderContextProvider;
154
+ readonly renderSurface?: HostRenderSurfaceProvider;
155
+ readonly wgpuHost?: HostWgpuProvider;
156
156
  }
157
157
  export interface HostInputCapabilities {
158
- readonly dropFile?: InputDropFileBackend;
159
- readonly focus?: InputFocusBackend;
160
- readonly haptics?: HapticsBackend;
161
- readonly ingress?: InputIngressBackend;
162
- readonly pointerLock?: InputPointerLockBackend;
163
- readonly softKeyboardAccessoryBar?: SoftKeyboardAccessoryBarBackend;
164
- readonly softKeyboardChange?: SoftKeyboardChangeBackend;
165
- readonly softKeyboardInfo?: SoftKeyboardInfoBackend;
166
- readonly softKeyboardResizeModeWrite?: SoftKeyboardResizeModeWriteBackend;
167
- readonly softKeyboardScrollAssist?: SoftKeyboardScrollAssistBackend;
168
- readonly softKeyboardStyle?: SoftKeyboardStyleBackend;
169
- readonly softKeyboardVisibility?: SoftKeyboardVisibilityBackend;
170
- readonly target?: InputTargetBackend;
158
+ readonly dropFile?: HostInputDropFileProvider;
159
+ readonly focus?: HostInputFocusProvider;
160
+ readonly haptics?: HostHapticsProvider;
161
+ readonly ingress?: HostInputIngressProvider;
162
+ readonly pointerLock?: HostInputPointerLockProvider;
163
+ readonly softKeyboardAccessoryBar?: HostSoftKeyboardAccessoryBarProvider;
164
+ readonly softKeyboardChange?: HostSoftKeyboardChangeProvider;
165
+ readonly softKeyboardInfo?: HostSoftKeyboardInfoProvider;
166
+ readonly softKeyboardResizeModeWrite?: HostSoftKeyboardResizeModeWriteProvider;
167
+ readonly softKeyboardScrollAssist?: HostSoftKeyboardScrollAssistProvider;
168
+ readonly softKeyboardStyle?: HostSoftKeyboardStyleProvider;
169
+ readonly softKeyboardVisibility?: HostSoftKeyboardVisibilityProvider;
170
+ readonly target?: HostInputTargetProvider;
171
171
  }
172
172
  export interface HostIpcCapabilities {
173
- readonly handle?: IpcHandleBackend;
174
- readonly invoke?: IpcInvokeBackend;
175
- readonly message?: IpcMessageBackend;
176
- readonly send?: IpcSendBackend;
177
- readonly targetedSend?: IpcTargetedSendBackend;
173
+ readonly handle?: HostIpcHandleProvider;
174
+ readonly invoke?: HostIpcInvokeProvider;
175
+ readonly message?: HostIpcMessageProvider;
176
+ readonly send?: HostIpcSendProvider;
177
+ readonly targetedSend?: HostIpcTargetedSendProvider;
178
178
  }
179
179
  export interface HostMediaCapabilities {
180
- readonly audioCodec?: AudioBackend;
181
- readonly audioDevice?: AudioDeviceBackend;
182
- readonly session?: MediaSessionBackend;
183
- readonly sessionAction?: MediaSessionActionBackend;
184
- readonly video?: VideoCapabilityBackend;
180
+ readonly audioCodec?: HostAudioProvider;
181
+ readonly audioDevice?: HostAudioDeviceProvider;
182
+ readonly session?: HostMediaSessionProvider;
183
+ readonly sessionAction?: HostMediaSessionActionProvider;
184
+ readonly video?: HostVideoProvider;
185
185
  }
186
186
  export interface HostMenuCapabilities {
187
- readonly application?: MenuApplicationBackend;
188
- readonly highlight?: MenuHighlightBackend;
189
- readonly popup?: MenuPopupBackend;
190
- readonly select?: MenuSelectBackend;
187
+ readonly application?: HostMenuApplicationProvider;
188
+ readonly highlight?: HostMenuHighlightProvider;
189
+ readonly popup?: HostMenuPopupProvider;
190
+ readonly select?: HostMenuSelectProvider;
191
191
  }
192
192
  export interface HostMidiCapabilities {
193
- readonly access?: MidiAccessBackend;
194
- readonly permission?: MidiPermissionBackend;
193
+ readonly access?: HostMidiAccessProvider;
194
+ readonly permission?: HostMidiPermissionProvider;
195
195
  }
196
196
  export interface HostNetCapabilities {
197
- readonly http?: NetBackend;
198
- readonly socket?: SocketBackend;
197
+ readonly http?: HostNetProvider;
198
+ readonly socket?: HostSocketProvider;
199
199
  }
200
200
  export interface HostNotificationCapabilities {
201
- readonly action?: NotificationActionBackend;
202
- readonly activeList?: NotificationActiveListBackend;
203
- readonly click?: NotificationClickBackend;
204
- readonly close?: NotificationCloseBackend;
205
- readonly delivery?: NotificationDeliveryBackend;
206
- readonly dismiss?: NotificationDismissBackend;
207
- readonly lifecycle?: NotificationLifecycleBackend;
208
- readonly permission?: NotificationPermissionBackend;
209
- readonly received?: NotificationReceivedBackend;
210
- readonly reply?: NotificationReplyBackend;
211
- readonly scheduling?: NotificationSchedulingBackend;
201
+ readonly action?: HostNotificationActionProvider;
202
+ readonly activeList?: HostNotificationActiveListProvider;
203
+ readonly click?: HostNotificationClickProvider;
204
+ readonly close?: HostNotificationCloseProvider;
205
+ readonly delivery?: HostNotificationDeliveryProvider;
206
+ readonly dismiss?: HostNotificationDismissProvider;
207
+ readonly lifecycle?: HostNotificationLifecycleProvider;
208
+ readonly permission?: HostNotificationPermissionProvider;
209
+ readonly received?: HostNotificationReceivedProvider;
210
+ readonly reply?: HostNotificationReplyProvider;
211
+ readonly scheduling?: HostNotificationSchedulingProvider;
212
212
  }
213
213
  export interface HostShareCapabilities {
214
- readonly content?: ShareContentBackend;
215
- readonly files?: ShareFilesBackend;
214
+ readonly content?: HostShareContentProvider;
215
+ readonly files?: HostShareFilesProvider;
216
216
  }
217
217
  export interface HostPowerCapabilities {
218
- readonly batteryHealth?: PowerBatteryHealthBackend;
219
- readonly change?: PowerChangeBackend;
220
- readonly idle?: PowerIdleBackend;
221
- readonly keepAwake?: PowerKeepAwakeBackend;
222
- readonly sessionLock?: PowerSessionLockBackend;
223
- readonly status?: PowerStatusBackend;
224
- readonly suspension?: PowerSuspensionBackend;
225
- readonly thermal?: PowerThermalBackend;
218
+ readonly batteryHealth?: HostPowerBatteryHealthProvider;
219
+ readonly change?: HostPowerChangeProvider;
220
+ readonly idle?: HostPowerIdleProvider;
221
+ readonly keepAwake?: HostPowerKeepAwakeProvider;
222
+ readonly sessionLock?: HostPowerSessionLockProvider;
223
+ readonly status?: HostPowerStatusProvider;
224
+ readonly suspension?: HostPowerSuspensionProvider;
225
+ readonly thermal?: HostPowerThermalProvider;
226
226
  }
227
227
  export interface HostScreenCapabilities {
228
- readonly change?: ScreenChangeBackend;
229
- readonly details?: ScreenDetailsBackend;
230
- readonly permissionChange?: ScreenPermissionChangeBackend;
231
- readonly query?: ScreenQueryBackend;
228
+ readonly change?: HostScreenChangeProvider;
229
+ readonly details?: HostScreenDetailsProvider;
230
+ readonly permissionChange?: HostScreenPermissionChangeProvider;
231
+ readonly query?: HostScreenQueryProvider;
232
232
  }
233
233
  export type WebScreenCapabilities = Entity & Required<HostScreenCapabilities>;
234
234
  export interface HostShellCapabilities {
235
- readonly beep?: ShellBeepBackend;
236
- readonly external?: ShellExternalBackend;
237
- readonly pathOpen?: ShellPathOpenBackend;
238
- readonly pathReveal?: ShellPathRevealBackend;
239
- readonly process?: ShellProcessBackend;
240
- readonly shortcutLink?: ShellShortcutLinkBackend;
241
- readonly trash?: ShellTrashBackend;
235
+ readonly beep?: HostShellBeepProvider;
236
+ readonly external?: HostShellExternalProvider;
237
+ readonly pathOpen?: HostShellPathOpenProvider;
238
+ readonly pathReveal?: HostShellPathRevealProvider;
239
+ readonly process?: HostShellProcessProvider;
240
+ readonly shortcutLink?: HostShellShortcutLinkProvider;
241
+ readonly trash?: HostShellTrashProvider;
242
242
  }
243
243
  export interface HostShortcutCapabilities {
244
- readonly query?: ShortcutQueryBackend;
245
- readonly trigger?: ShortcutTriggerBackend;
244
+ readonly query?: HostShortcutQueryProvider;
245
+ readonly trigger?: HostShortcutTriggerProvider;
246
246
  }
247
247
  export interface HostStorageCapabilities {
248
- readonly change?: StorageChangeBackend;
249
- readonly fileSystem?: FileSystemHostBackend;
250
- readonly local?: StorageBackend;
251
- readonly persistenceQuery?: StoragePersistenceQueryBackend;
252
- readonly persistenceRequest?: StoragePersistenceRequestBackend;
248
+ readonly change?: HostStorageChangeProvider;
249
+ readonly fileSystem?: HostFileSystemProvider;
250
+ readonly local?: HostStorageProvider;
251
+ readonly persistenceQuery?: HostStoragePersistenceQueryProvider;
252
+ readonly persistenceRequest?: HostStoragePersistenceRequestProvider;
253
253
  }
254
254
  export interface HostSystemCapabilities {
255
- readonly device?: DeviceBackend;
256
- readonly geolocation?: GeolocationBackend;
257
- readonly lifecycle?: LifecycleBackend;
258
- readonly platform?: PlatformBackend;
259
- readonly sensors?: SensorsBackend;
255
+ readonly device?: HostDeviceProvider;
256
+ readonly geolocation?: HostGeolocationProvider;
257
+ readonly lifecycle?: HostLifecycleProvider;
258
+ readonly platform?: HostPlatformProvider;
259
+ readonly sensors?: HostSensorsProvider;
260
260
  }
261
261
  export interface HostTextCapabilities {
262
- readonly bidiClass?: BidiClassBackend;
263
- readonly fontLoading?: FontLoadingBackend;
264
- readonly glyphRasterizer?: GlyphRasterizerBackend;
265
- readonly segmenter?: TextSegmenterBackend;
266
- readonly shaper?: TextShaperBackend;
262
+ readonly bidiClass?: HostBidiClassProvider;
263
+ readonly fontLoading?: HostFontLoadingProvider;
264
+ readonly glyphRasterizer?: HostGlyphRasterizerProvider;
265
+ readonly segmenter?: HostTextSegmenterProvider;
266
+ readonly shaper?: HostTextShaperProvider;
267
267
  }
268
268
  export interface HostTrayCapabilities {
269
- readonly balloon?: TrayBalloonBackend;
270
- readonly balloonEvents?: TrayBalloonEventsBackend;
271
- readonly bounds?: TrayBoundsBackend;
272
- readonly doubleClickPolicy?: TrayDoubleClickPolicyBackend;
273
- readonly dropEvents?: TrayDropEventsBackend;
274
- readonly image?: TrayImageBackend;
275
- readonly interactionEvents?: TrayInteractionEventsBackend;
276
- readonly lifecycle?: TrayLifecycleBackend;
277
- readonly menu?: TrayMenuBackend;
278
- readonly menuSelectionEvents?: TrayMenuSelectionEventsBackend;
279
- readonly popupMenu?: TrayPopupMenuBackend;
280
- readonly pressedImage?: TrayPressedImageBackend;
281
- readonly templateImage?: TrayTemplateImageBackend;
282
- readonly title?: TrayTitleBackend;
283
- readonly tooltip?: TrayTooltipBackend;
269
+ readonly balloon?: HostTrayBalloonProvider;
270
+ readonly balloonEvents?: HostTrayBalloonEventsProvider;
271
+ readonly bounds?: HostTrayBoundsProvider;
272
+ readonly doubleClickPolicy?: HostTrayDoubleClickPolicyProvider;
273
+ readonly dropEvents?: HostTrayDropEventsProvider;
274
+ readonly image?: HostTrayImageProvider;
275
+ readonly interactionEvents?: HostTrayInteractionEventsProvider;
276
+ readonly lifecycle?: HostTrayLifecycleProvider;
277
+ readonly menu?: HostTrayMenuProvider;
278
+ readonly menuSelectionEvents?: HostTrayMenuSelectionEventsProvider;
279
+ readonly popupMenu?: HostTrayPopupMenuProvider;
280
+ readonly pressedImage?: HostTrayPressedImageProvider;
281
+ readonly templateImage?: HostTrayTemplateImageProvider;
282
+ readonly title?: HostTrayTitleProvider;
283
+ readonly tooltip?: HostTrayTooltipProvider;
284
284
  }
285
285
  export interface HostUiCapabilities {
286
- readonly fullscreen?: FullscreenBackend;
287
- readonly statusBarChange?: StatusBarChangeBackend;
288
- readonly statusBarColor?: StatusBarColorBackend;
289
- readonly statusBarInfo?: StatusBarInfoBackend;
290
- readonly statusBarOverlays?: StatusBarOverlaysBackend;
291
- readonly statusBarStyle?: StatusBarStyleBackend;
292
- readonly statusBarVisibility?: StatusBarVisibilityBackend;
286
+ readonly fullscreen?: HostFullscreenProvider;
287
+ readonly statusBarChange?: HostStatusBarChangeProvider;
288
+ readonly statusBarColor?: HostStatusBarColorProvider;
289
+ readonly statusBarInfo?: HostStatusBarInfoProvider;
290
+ readonly statusBarOverlays?: HostStatusBarOverlaysProvider;
291
+ readonly statusBarStyle?: HostStatusBarStyleProvider;
292
+ readonly statusBarVisibility?: HostStatusBarVisibilityProvider;
293
293
  }
294
294
  export interface HostUpdaterCapabilities {
295
- readonly command?: UpdaterCommandBackend;
296
- }
297
- export interface HasAccessibilityProvider {
298
- readonly accessibility: {
299
- readonly provider: AccessibilityBackend;
300
- };
301
- }
302
- export interface HasAppExitSubscription {
303
- readonly app: {
304
- readonly exit: ApplicationExitBackend;
305
- };
306
- }
307
- export interface HasAppActivate {
308
- readonly app: {
309
- readonly activate: AppActivateBackend;
310
- };
311
- }
312
- export interface HasAppActivationPolicy {
313
- readonly app: {
314
- readonly activationPolicy: AppActivationPolicyBackend;
315
- };
316
- }
317
- export interface HasAppAllWindowsClosed {
318
- readonly app: {
319
- readonly allWindowsClosed: AppAllWindowsClosedBackend;
320
- };
321
- }
322
- export interface HasAppBadge {
323
- readonly app: {
324
- readonly badge: AppBadgeBackend;
325
- };
326
- }
327
- export interface HasAppDock {
328
- readonly app: {
329
- readonly dock: AppDockBackend;
330
- };
331
- }
332
- export interface HasAppFocus {
333
- readonly app: {
334
- readonly focus: AppFocusBackend;
335
- };
336
- }
337
- export interface HasAppLocale {
338
- readonly app: {
339
- readonly locale: AppLocaleBackend;
340
- };
341
- }
342
- export interface HasAppLoginItem {
343
- readonly app: {
344
- readonly loginItem: AppLoginItemBackend;
345
- };
346
- }
347
- export interface HasAppName {
348
- readonly app: {
349
- readonly name: AppNameBackend;
350
- };
351
- }
352
- export interface HasAppNameWrite {
353
- readonly app: {
354
- readonly nameWrite: AppNameWriteBackend;
355
- };
356
- }
357
- export interface HasAppOpenFile {
358
- readonly app: {
359
- readonly openFile: AppOpenFileBackend;
360
- };
361
- }
362
- export interface HasAppPath {
363
- readonly app: {
364
- readonly path: AppPathBackend;
365
- };
366
- }
367
- export interface HasAppHide {
368
- readonly app: {
369
- readonly hide: AppHideBackend;
370
- };
371
- }
372
- export interface HasAppHiddenQuery {
373
- readonly app: {
374
- readonly hiddenQuery: AppVisibilityQueryBackend;
375
- };
376
- }
377
- export interface HasAppQuit {
378
- readonly app: {
379
- readonly quit: AppQuitBackend;
380
- };
381
- }
382
- export interface HasAppQuitRequest {
383
- readonly app: {
384
- readonly quitRequest: AppQuitRequestBackend;
385
- };
386
- }
387
- export interface HasAppReady {
388
- readonly app: {
389
- readonly ready: AppReadyBackend;
390
- };
391
- }
392
- export interface HasAppRecentDocuments {
393
- readonly app: {
394
- readonly recentDocuments: AppRecentDocumentsBackend;
395
- };
396
- }
397
- export interface HasAppRelaunch {
398
- readonly app: {
399
- readonly relaunch: AppRelaunchBackend;
400
- };
401
- }
402
- export interface HasAppSecondInstance {
403
- readonly app: {
404
- readonly secondInstance: AppSecondInstanceBackend;
405
- };
406
- }
407
- export interface HasAppShow {
408
- readonly app: {
409
- readonly show: AppShowBackend;
410
- };
411
- }
412
- export interface HasAppSingleInstance {
413
- readonly app: {
414
- readonly singleInstance: AppSingleInstanceBackend;
415
- };
416
- }
417
- export interface HasAppUserModelId {
418
- readonly app: {
419
- readonly userModelId: AppUserModelIdBackend;
420
- };
421
- }
422
- export interface HasAppVersion {
423
- readonly app: {
424
- readonly version: AppVersionBackend;
425
- };
426
- }
427
- export interface HasProtocolDefault {
428
- readonly protocol: {
429
- readonly default: ProtocolDefaultBackend;
430
- };
431
- }
432
- export interface HasProtocolLaunch {
433
- readonly protocol: {
434
- readonly launch: ProtocolLaunchBackend;
435
- };
436
- }
437
- export interface HasProtocolOpen {
438
- readonly protocol: {
439
- readonly open: ProtocolOpenBackend;
440
- };
441
- }
442
- export interface HasProtocolRegistration {
443
- readonly protocol: {
444
- readonly registration: ProtocolRegistrationBackend;
445
- };
446
- }
447
- export interface HasProtocolRegistrationQuery {
448
- readonly protocol: {
449
- readonly registrationQuery: ProtocolRegistrationQueryBackend;
450
- };
451
- }
452
- export interface HasProtocolUnregistration {
453
- readonly protocol: {
454
- readonly unregistration: ProtocolUnregistrationBackend;
455
- };
456
- }
457
- export interface HasAppLoop {
458
- readonly app: {
459
- readonly loop: LoopBackend;
460
- };
461
- }
462
- export interface HasUpdaterCommand {
463
- readonly updater: {
464
- readonly command: UpdaterCommandBackend;
465
- };
466
- }
467
- export interface HasShortcutQuery {
468
- readonly shortcut: {
469
- readonly query: ShortcutQueryBackend;
470
- };
471
- }
472
- export interface HasShortcutTrigger {
473
- readonly shortcut: {
474
- readonly trigger: ShortcutTriggerBackend;
475
- };
476
- }
477
- export interface HasAppVisibilityQuery {
478
- readonly app: {
479
- readonly visibility: ApplicationVisibilityBackend;
480
- };
481
- }
482
- export interface HasClipboardBookmark {
483
- readonly clipboard: {
484
- readonly bookmark: ClipboardBookmarkBackend;
485
- };
486
- }
487
- export interface HasClipboardChange {
488
- readonly clipboard: {
489
- readonly change: Required<Pick<ClipboardChangeBackend, 'subscribe' | 'unsubscribe'>>;
490
- };
491
- }
492
- export interface HasClipboardFormats {
493
- readonly clipboard: {
494
- readonly formats: ClipboardFormatsBackend;
495
- };
496
- }
497
- export interface HasClipboardImage {
498
- readonly clipboard: {
499
- readonly image: ClipboardImageBackend;
500
- };
501
- }
502
- export interface HasClipboardText {
503
- readonly clipboard: {
504
- readonly text: ClipboardTextBackend;
505
- };
506
- }
507
- export interface HasConnectivityChange {
508
- readonly connectivity: {
509
- readonly change: ConnectivityChangeBackend;
510
- };
511
- }
512
- export interface HasConnectivityReachability {
513
- readonly connectivity: {
514
- readonly reachability: ConnectivityReachabilityBackend;
515
- };
516
- }
517
- export interface HasConnectivityStatus {
518
- readonly connectivity: {
519
- readonly status: ConnectivityStatusBackend;
520
- };
521
- }
522
- export interface HasDialogDirectoryOpen {
523
- readonly dialog: {
524
- readonly directoryOpen: DirectoryOpenDialogBackend;
525
- };
526
- }
527
- export interface HasDialogFileOpen {
528
- readonly dialog: {
529
- readonly fileOpen: FileOpenDialogBackend;
530
- };
531
- }
532
- export interface HasDialogFileSave {
533
- readonly dialog: {
534
- readonly fileSave: FileSaveDialogBackend;
535
- };
536
- }
537
- export interface HasDialogImageOpen {
538
- readonly dialog: {
539
- readonly imageOpen: ImageOpenDialogBackend;
540
- };
541
- }
542
- export interface HasDialogMessage {
543
- readonly dialog: {
544
- readonly message: MessageDialogBackend;
545
- };
546
- }
547
- export interface HasDialogPhotoCapture {
548
- readonly dialog: {
549
- readonly photoCapture: PhotoCaptureDialogBackend;
550
- };
551
- }
552
- export interface HasDialogPrompt {
553
- readonly dialog: {
554
- readonly prompt: PromptDialogBackend;
555
- };
556
- }
557
- export interface HasDialogVideoCapture {
558
- readonly dialog: {
559
- readonly videoCapture: VideoCaptureDialogBackend;
560
- };
561
- }
562
- export interface HasGraphicsBitmapEncode {
563
- readonly graphics: {
564
- readonly bitmapEncode: BitmapEncodeBackend;
565
- };
566
- }
567
- export interface HasGraphicsBitmapReadback {
568
- readonly graphics: {
569
- readonly bitmapReadback: BitmapReadbackBackend;
570
- };
571
- }
572
- export interface HasGraphicsImage {
573
- readonly graphics: {
574
- readonly image: ImageBackend;
575
- };
576
- }
577
- export interface HasGraphicsPathBoolean {
578
- readonly graphics: {
579
- readonly pathBoolean: PathBooleanBackend;
580
- };
581
- }
582
- export interface HasGraphicsRenderContextSubscription {
583
- readonly graphics: {
584
- readonly renderContext: RenderContextBackend;
585
- };
586
- }
587
- export interface HasGraphicsRenderSurface {
588
- readonly graphics: {
589
- readonly renderSurface: RenderSurfaceBackend;
590
- };
591
- }
592
- export interface HasGraphicsWgpuHost {
593
- readonly graphics: {
594
- readonly wgpuHost: WgpuHostBackend;
595
- };
596
- }
597
- export interface HasInputDropFileSubscription {
598
- readonly input: {
599
- readonly dropFile: InputDropFileBackend;
600
- };
601
- }
602
- export interface HasInputFocusSubscription {
603
- readonly input: {
604
- readonly focus: InputFocusBackend;
605
- };
606
- }
607
- export interface HasInputHaptics {
608
- readonly input: {
609
- readonly haptics: HapticsBackend;
610
- };
611
- }
612
- export interface HasInputIngress {
613
- readonly input: {
614
- readonly ingress: InputIngressBackend;
615
- };
616
- }
617
- export interface HasInputPointerLock {
618
- readonly input: {
619
- readonly pointerLock: InputPointerLockBackend;
620
- };
621
- }
622
- export interface HasInputTargetPreparation {
623
- readonly input: {
624
- readonly target: InputTargetBackend;
625
- };
626
- }
627
- export interface HasSoftKeyboardAccessoryBar {
628
- readonly input: {
629
- readonly softKeyboardAccessoryBar: SoftKeyboardAccessoryBarBackend;
630
- };
631
- }
632
- export interface HasSoftKeyboardChange {
633
- readonly input: {
634
- readonly softKeyboardChange: SoftKeyboardChangeBackend;
635
- };
636
- }
637
- export interface HasSoftKeyboardInfo {
638
- readonly input: {
639
- readonly softKeyboardInfo: SoftKeyboardInfoBackend;
640
- };
641
- }
642
- export interface HasSoftKeyboardResizeModeWrite {
643
- readonly input: {
644
- readonly softKeyboardResizeModeWrite: SoftKeyboardResizeModeWriteBackend;
645
- };
646
- }
647
- export interface HasSoftKeyboardScrollAssist {
648
- readonly input: {
649
- readonly softKeyboardScrollAssist: SoftKeyboardScrollAssistBackend;
650
- };
651
- }
652
- export interface HasSoftKeyboardStyle {
653
- readonly input: {
654
- readonly softKeyboardStyle: SoftKeyboardStyleBackend;
655
- };
656
- }
657
- export interface HasSoftKeyboardVisibility {
658
- readonly input: {
659
- readonly softKeyboardVisibility: SoftKeyboardVisibilityBackend;
660
- };
661
- }
662
- export interface HasIpcHandle {
663
- readonly ipc: {
664
- readonly handle: IpcHandleBackend;
665
- };
666
- }
667
- export interface HasIpcInvoke {
668
- readonly ipc: {
669
- readonly invoke: IpcInvokeBackend;
670
- };
671
- }
672
- export interface HasIpcMessage {
673
- readonly ipc: {
674
- readonly message: IpcMessageBackend;
675
- };
676
- }
677
- export interface HasIpcSend {
678
- readonly ipc: {
679
- readonly send: IpcSendBackend;
680
- };
681
- }
682
- export interface HasIpcTargetedSend<Target> {
683
- readonly ipc: {
684
- readonly targetedSend: IpcTargetedSendBackend<Target>;
685
- };
686
- }
687
- export interface HasMediaAudioCodec {
688
- readonly media: {
689
- readonly audioCodec: AudioBackend;
690
- };
691
- }
692
- export interface HasMediaAudioDevice {
693
- readonly media: {
694
- readonly audioDevice: AudioDeviceBackend;
695
- };
696
- }
697
- export interface HasMediaSession {
698
- readonly media: {
699
- readonly session: MediaSessionBackend;
700
- };
701
- }
702
- export interface HasMediaSessionAction {
703
- readonly media: {
704
- readonly sessionAction: MediaSessionActionBackend;
705
- };
706
- }
707
- export interface HasMediaVideo {
708
- readonly media: {
709
- readonly video: VideoCapabilityBackend;
710
- };
711
- }
712
- export interface HasNetHttp {
713
- readonly net: {
714
- readonly http: NetBackend;
715
- };
716
- }
717
- export interface HasNetSocket {
718
- readonly net: {
719
- readonly socket: SocketBackend;
720
- };
721
- }
722
- export interface HasMidiAccess {
723
- readonly midi: {
724
- readonly access: MidiAccessBackend;
725
- };
726
- }
727
- export interface HasMidiPermission {
728
- readonly midi: {
729
- readonly permission: MidiPermissionBackend;
730
- };
731
- }
732
- export interface HasNotificationAction {
733
- readonly notification: {
734
- readonly action: NotificationActionBackend;
735
- };
736
- }
737
- export interface HasNotificationActiveList {
738
- readonly notification: {
739
- readonly activeList: NotificationActiveListBackend;
740
- };
741
- }
742
- export interface HasNotificationClick {
743
- readonly notification: {
744
- readonly click: NotificationClickBackend;
745
- };
746
- }
747
- export interface HasNotificationClose {
748
- readonly notification: {
749
- readonly close: NotificationCloseBackend;
750
- };
751
- }
752
- export interface HasNotificationDelivery {
753
- readonly notification: {
754
- readonly delivery: NotificationDeliveryBackend;
755
- };
756
- }
757
- export interface HasNotificationDismiss {
758
- readonly notification: {
759
- readonly dismiss: NotificationDismissBackend;
760
- };
761
- }
762
- export interface HasNotificationLifecycle {
763
- readonly notification: {
764
- readonly lifecycle: NotificationLifecycleBackend;
765
- };
766
- }
767
- export interface HasNotificationPermission {
768
- readonly notification: {
769
- readonly permission: NotificationPermissionBackend;
770
- };
771
- }
772
- export interface HasNotificationReceived {
773
- readonly notification: {
774
- readonly received: NotificationReceivedBackend;
775
- };
776
- }
777
- export interface HasNotificationReply {
778
- readonly notification: {
779
- readonly reply: NotificationReplyBackend;
780
- };
781
- }
782
- export interface HasNotificationScheduling {
783
- readonly notification: {
784
- readonly scheduling: NotificationSchedulingBackend;
785
- };
786
- }
787
- export interface HasStorageFileSystem {
788
- readonly storage: {
789
- readonly fileSystem: FileSystemHostBackend;
790
- };
791
- }
792
- export interface HasPowerBatteryHealth {
793
- readonly power: {
794
- readonly batteryHealth: PowerBatteryHealthBackend;
795
- };
796
- }
797
- export interface HasPowerChange {
798
- readonly power: {
799
- readonly change: PowerChangeBackend;
800
- };
801
- }
802
- export interface HasPowerIdle {
803
- readonly power: {
804
- readonly idle: PowerIdleBackend;
805
- };
806
- }
807
- export interface HasPowerKeepAwake {
808
- readonly power: {
809
- readonly keepAwake: PowerKeepAwakeBackend;
810
- };
811
- }
812
- export interface HasPowerSessionLock {
813
- readonly power: {
814
- readonly sessionLock: PowerSessionLockBackend;
815
- };
816
- }
817
- export interface HasPowerStatus {
818
- readonly power: {
819
- readonly status: PowerStatusBackend;
820
- };
821
- }
822
- export interface HasPowerSuspension {
823
- readonly power: {
824
- readonly suspension: PowerSuspensionBackend;
825
- };
826
- }
827
- export interface HasPowerThermal {
828
- readonly power: {
829
- readonly thermal: PowerThermalBackend;
830
- };
831
- }
832
- export interface HasStorageChange {
833
- readonly storage: {
834
- readonly change: StorageChangeBackend;
835
- };
836
- }
837
- export interface HasStorageLocal {
838
- readonly storage: {
839
- readonly local: StorageBackend;
840
- };
841
- }
842
- export interface HasStoragePersistenceQuery {
843
- readonly storage: {
844
- readonly persistenceQuery: StoragePersistenceQueryBackend;
845
- };
846
- }
847
- export interface HasStoragePersistenceRequest {
848
- readonly storage: {
849
- readonly persistenceRequest: StoragePersistenceRequestBackend;
850
- };
851
- }
852
- export interface HasSystemDevice {
853
- readonly system: {
854
- readonly device: DeviceBackend;
855
- };
856
- }
857
- export interface HasSystemGeolocation {
858
- readonly system: {
859
- readonly geolocation: GeolocationBackend;
860
- };
861
- }
862
- export interface HasSystemLifecycle {
863
- readonly system: {
864
- readonly lifecycle: LifecycleBackend;
865
- };
866
- }
867
- export interface HasSystemPlatform {
868
- readonly system: {
869
- readonly platform: PlatformBackend;
870
- };
871
- }
872
- export interface HasScreenChange {
873
- readonly screen: {
874
- readonly change: ScreenChangeBackend;
875
- };
876
- }
877
- export interface HasScreenDetails {
878
- readonly screen: {
879
- readonly details: ScreenDetailsBackend;
880
- };
881
- }
882
- export interface HasScreenPermissionChange {
883
- readonly screen: {
884
- readonly permissionChange: ScreenPermissionChangeBackend;
885
- };
886
- }
887
- export interface HasScreenQuery {
888
- readonly screen: {
889
- readonly query: ScreenQueryBackend;
890
- };
891
- }
892
- export interface HasSystemSensors {
893
- readonly system: {
894
- readonly sensors: SensorsBackend;
895
- };
896
- }
897
- export interface HasTextBidiClass {
898
- readonly text: {
899
- readonly bidiClass: BidiClassBackend;
900
- };
901
- }
902
- export interface HasTextFontLoading {
903
- readonly text: {
904
- readonly fontLoading: FontLoadingBackend;
905
- };
906
- }
907
- export interface HasTextGlyphRasterizer {
908
- readonly text: {
909
- readonly glyphRasterizer: GlyphRasterizerBackend;
910
- };
911
- }
912
- export interface HasTextSegmenter {
913
- readonly text: {
914
- readonly segmenter: TextSegmenterBackend;
915
- };
916
- }
917
- export interface HasTextShaper {
918
- readonly text: {
919
- readonly shaper: TextShaperBackend;
920
- };
921
- }
922
- export interface HasUiFullscreen {
923
- readonly ui: {
924
- readonly fullscreen: FullscreenBackend;
925
- };
926
- }
927
- export interface HasUiFullscreenSubscription {
928
- readonly ui: {
929
- readonly fullscreen: Required<Pick<FullscreenBackend, 'subscribe' | 'unsubscribe'>>;
930
- };
931
- }
932
- export interface HasMenuApplication {
933
- readonly menu: {
934
- readonly application: MenuApplicationBackend;
935
- };
936
- }
937
- export interface HasMenuHighlight {
938
- readonly menu: {
939
- readonly highlight: MenuHighlightBackend;
940
- };
941
- }
942
- export interface HasMenuPopup {
943
- readonly menu: {
944
- readonly popup: MenuPopupBackend;
945
- };
946
- }
947
- export interface HasMenuSelect {
948
- readonly menu: {
949
- readonly select: MenuSelectBackend;
950
- };
951
- }
952
- export interface HasShareContent {
953
- readonly share: {
954
- readonly content: ShareContentBackend;
955
- };
956
- }
957
- export interface HasShareFiles {
958
- readonly share: {
959
- readonly files: ShareFilesBackend;
960
- };
961
- }
962
- export interface HasShellBeep {
963
- readonly shell: {
964
- readonly beep: ShellBeepBackend;
965
- };
966
- }
967
- export interface HasShellExternal {
968
- readonly shell: {
969
- readonly external: ShellExternalBackend;
970
- };
971
- }
972
- export interface HasShellPathOpen {
973
- readonly shell: {
974
- readonly pathOpen: ShellPathOpenBackend;
975
- };
976
- }
977
- export interface HasShellPathReveal {
978
- readonly shell: {
979
- readonly pathReveal: ShellPathRevealBackend;
980
- };
981
- }
982
- export interface HasShellShortcutLink {
983
- readonly shell: {
984
- readonly shortcutLink: ShellShortcutLinkBackend;
985
- };
986
- }
987
- export interface HasShellTrash {
988
- readonly shell: {
989
- readonly trash: ShellTrashBackend;
990
- };
991
- }
992
- export interface HasUiStatusBarChange {
993
- readonly ui: {
994
- readonly statusBarChange: StatusBarChangeBackend;
995
- };
996
- }
997
- export interface HasUiStatusBarColor {
998
- readonly ui: {
999
- readonly statusBarColor: StatusBarColorBackend;
1000
- };
1001
- }
1002
- export interface HasUiStatusBarInfo {
1003
- readonly ui: {
1004
- readonly statusBarInfo: StatusBarInfoBackend;
1005
- };
1006
- }
1007
- export interface HasUiStatusBarOverlays {
1008
- readonly ui: {
1009
- readonly statusBarOverlays: StatusBarOverlaysBackend;
1010
- };
1011
- }
1012
- export interface HasUiStatusBarStyle {
1013
- readonly ui: {
1014
- readonly statusBarStyle: StatusBarStyleBackend;
1015
- };
1016
- }
1017
- export type HasUiStatusBarStyleStack = HasUiStatusBarColor & HasUiStatusBarInfo & HasUiStatusBarOverlays & HasUiStatusBarStyle & HasUiStatusBarVisibility;
1018
- export interface HasUiStatusBarVisibility {
1019
- readonly ui: {
1020
- readonly statusBarVisibility: StatusBarVisibilityBackend;
1021
- };
1022
- }
1023
- export interface HasTrayLifecycle {
1024
- readonly tray: {
1025
- readonly lifecycle: TrayLifecycleBackend;
1026
- };
1027
- }
1028
- export interface HasTrayImage {
1029
- readonly tray: {
1030
- readonly image: TrayImageBackend;
1031
- };
1032
- }
1033
- export interface HasTrayTitle {
1034
- readonly tray: {
1035
- readonly title: TrayTitleBackend;
1036
- };
1037
- }
1038
- export interface HasTrayTooltip {
1039
- readonly tray: {
1040
- readonly tooltip: TrayTooltipBackend;
1041
- };
1042
- }
1043
- export interface HasTrayMenu {
1044
- readonly tray: {
1045
- readonly menu: TrayMenuBackend;
1046
- };
1047
- }
1048
- export interface HasTrayTemplateImage {
1049
- readonly tray: {
1050
- readonly templateImage: TrayTemplateImageBackend;
1051
- };
1052
- }
1053
- export interface HasTrayBounds {
1054
- readonly tray: {
1055
- readonly bounds: TrayBoundsBackend;
1056
- };
1057
- }
1058
- export interface HasTrayPopupMenu {
1059
- readonly tray: {
1060
- readonly popupMenu: TrayPopupMenuBackend;
1061
- };
1062
- }
1063
- export interface HasTrayDoubleClickPolicy {
1064
- readonly tray: {
1065
- readonly doubleClickPolicy: TrayDoubleClickPolicyBackend;
1066
- };
1067
- }
1068
- export interface HasTrayPressedImage {
1069
- readonly tray: {
1070
- readonly pressedImage: TrayPressedImageBackend;
1071
- };
1072
- }
1073
- export interface HasTrayBalloon {
1074
- readonly tray: {
1075
- readonly balloon: TrayBalloonBackend;
1076
- };
1077
- }
1078
- export interface HasTrayInteractionEvents {
1079
- readonly tray: {
1080
- readonly interactionEvents: TrayInteractionEventsBackend;
1081
- };
1082
- }
1083
- export interface HasTrayMenuSelectionEvents {
1084
- readonly tray: {
1085
- readonly menuSelectionEvents: TrayMenuSelectionEventsBackend;
1086
- };
1087
- }
1088
- export interface HasTrayBalloonEvents {
1089
- readonly tray: {
1090
- readonly balloonEvents: TrayBalloonEventsBackend;
1091
- };
1092
- }
1093
- export interface HasTrayDropEvents {
1094
- readonly tray: {
1095
- readonly dropEvents: TrayDropEventsBackend;
1096
- };
1097
- }
1098
- export interface HasWindowAttach {
1099
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'attach' | 'close'>>;
1100
- }
1101
- export interface HasWindowCloseSubscription {
1102
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'subscribeClose'>>;
1103
- }
1104
- export interface HasWindowMoveSubscription {
1105
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'subscribeMove'>>;
1106
- }
1107
- export interface HasWindowOpen {
1108
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'close' | 'open'>>;
1109
- }
1110
- export interface HasWindowOrientationSubscription {
1111
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'subscribeOrientation'>>;
1112
- }
1113
- export interface HasWindowResizeSubscription {
1114
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'subscribeResize'>>;
1115
- }
1116
- export interface HasWindowVisibilitySubscription {
1117
- readonly window: WindowBackend & Required<Pick<WindowBackend, 'subscribeVisibility'>>;
295
+ readonly command?: HostUpdaterCommandProvider;
1118
296
  }
1119
297
  //# sourceMappingURL=Host.d.ts.map