@trycua/cua-driver 0.12.4 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/index.js +5 -0
- package/dist/native/cua_driver_contract.d.ts +313 -2
- package/dist/native/cua_driver_contract.js +635 -4
- package/dist/native/cua_driver_sdk-ffi.d.ts +106 -1
- package/dist/native/cua_driver_sdk-ffi.js +471 -0
- package/dist/native/cua_driver_sdk.d.ts +1066 -32
- package/dist/native/cua_driver_sdk.js +2141 -123
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type UniffiRustCallStatus } from '@ubjs/core';
|
|
1
|
+
import { type UniffiRustCallStatus, type UniffiResult } from '@ubjs/core';
|
|
2
2
|
interface NativeModuleInterface {
|
|
3
3
|
ffi_cua_driver_sdk_rust_future_poll_u8(handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint): void;
|
|
4
4
|
ffi_cua_driver_sdk_rust_future_cancel_u8(handle: bigint): void;
|
|
@@ -50,14 +50,33 @@ interface NativeModuleInterface {
|
|
|
50
50
|
ffi_cua_driver_sdk_rust_future_free_void(handle: bigint): void;
|
|
51
51
|
uniffi_cua_driver_sdk_fn_clone_cuadriver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
52
52
|
uniffi_cua_driver_sdk_fn_free_cuadriver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
53
|
+
uniffi_cua_driver_sdk_fn_clone_cuadriversession(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
54
|
+
uniffi_cua_driver_sdk_fn_free_cuadriversession(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
55
|
+
uniffi_cua_driver_sdk_fn_clone_driveractivityobserver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
56
|
+
uniffi_cua_driver_sdk_fn_free_driveractivityobserver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
57
|
+
uniffi_cua_driver_sdk_fn_clone_driverauthorizationhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
58
|
+
uniffi_cua_driver_sdk_fn_free_driverauthorizationhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
53
59
|
uniffi_cua_driver_sdk_fn_clone_embeddedcuadriverhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
54
60
|
uniffi_cua_driver_sdk_fn_free_embeddedcuadriverhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
61
|
+
uniffi_cua_driver_sdk_fn_init_callback_vtable_driveractivityobserver(vtable: UniffiVTableCallbackInterfaceCuaDriverSdkDriverActivityObserver): void;
|
|
62
|
+
uniffi_cua_driver_sdk_fn_init_callback_vtable_driverauthorizationhost(vtable: UniffiVTableCallbackInterfaceCuaDriverSdkDriverAuthorizationHost): void;
|
|
63
|
+
uniffi_cua_driver_sdk_fn_func_create_trusted_session(driver: bigint, options: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
55
64
|
uniffi_cua_driver_sdk_fn_func_current_mac_os_permission_status(uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
56
65
|
uniffi_cua_driver_sdk_fn_func_open_mac_os_screen_recording_settings(uniffi_out_err: UniffiRustCallStatus): void;
|
|
57
66
|
uniffi_cua_driver_sdk_fn_func_request_mac_os_permissions(uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
58
67
|
uniffi_cua_driver_sdk_fn_constructor_cuadriver_connect(socketPath: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
59
68
|
uniffi_cua_driver_sdk_fn_constructor_cuadriver_connect_with_client_kind(socketPath: Uint8Array, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
60
69
|
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create(options: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
70
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured(options: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
71
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_activity_observer(options: Uint8Array, observer: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
72
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_activity_observer_and_client_kind(options: Uint8Array, observer: bigint, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
73
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_authorization_host(options: Uint8Array, host: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
74
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_authorization_host_and_client_kind(options: Uint8Array, host: bigint, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
75
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_client_kind(options: Uint8Array, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
76
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_host_integrations(options: Uint8Array, host: bigint, observer: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
77
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_configured_with_host_integrations_and_client_kind(options: Uint8Array, host: bigint, observer: bigint, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
78
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_private_worker(options: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
79
|
+
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_private_worker_with_client_kind(options: Uint8Array, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
61
80
|
uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_with_client_kind(options: Uint8Array, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
62
81
|
uniffi_cua_driver_sdk_fn_method_cuadriver_call_tool(uniffiSelf: bigint, name: Uint8Array, argumentsJson: Uint8Array): bigint;
|
|
63
82
|
uniffi_cua_driver_sdk_fn_method_cuadriver_click(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
@@ -65,6 +84,7 @@ interface NativeModuleInterface {
|
|
|
65
84
|
uniffi_cua_driver_sdk_fn_method_cuadriver_end_session(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
66
85
|
uniffi_cua_driver_sdk_fn_method_cuadriver_escalate_session(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
67
86
|
uniffi_cua_driver_sdk_fn_method_cuadriver_execution_mode(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
87
|
+
uniffi_cua_driver_sdk_fn_method_cuadriver_get_agent_cursor_state(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
68
88
|
uniffi_cua_driver_sdk_fn_method_cuadriver_get_cursor_position(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
69
89
|
uniffi_cua_driver_sdk_fn_method_cuadriver_get_desktop_state(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
70
90
|
uniffi_cua_driver_sdk_fn_method_cuadriver_get_screen_size(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
@@ -75,11 +95,37 @@ interface NativeModuleInterface {
|
|
|
75
95
|
uniffi_cua_driver_sdk_fn_method_cuadriver_metadata(uniffiSelf: bigint): bigint;
|
|
76
96
|
uniffi_cua_driver_sdk_fn_method_cuadriver_move_cursor(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
77
97
|
uniffi_cua_driver_sdk_fn_method_cuadriver_press_key(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
98
|
+
uniffi_cua_driver_sdk_fn_method_cuadriver_runtime_scope_prefix(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
78
99
|
uniffi_cua_driver_sdk_fn_method_cuadriver_scroll(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
100
|
+
uniffi_cua_driver_sdk_fn_method_cuadriver_set_agent_cursor_enabled(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
101
|
+
uniffi_cua_driver_sdk_fn_method_cuadriver_set_agent_cursor_motion(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
102
|
+
uniffi_cua_driver_sdk_fn_method_cuadriver_set_agent_cursor_theme(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
79
103
|
uniffi_cua_driver_sdk_fn_method_cuadriver_shutdown(uniffiSelf: bigint): bigint;
|
|
80
104
|
uniffi_cua_driver_sdk_fn_method_cuadriver_socket_path(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
81
105
|
uniffi_cua_driver_sdk_fn_method_cuadriver_start_session(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
82
106
|
uniffi_cua_driver_sdk_fn_method_cuadriver_type_text(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
107
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_call_tool(uniffiSelf: bigint, name: Uint8Array, argumentsJson: Uint8Array): bigint;
|
|
108
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_click(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
109
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_close(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
110
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_drag(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
111
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_end_session(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
112
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_escalate_session(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
113
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_get_agent_cursor_state(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
114
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_get_cursor_position(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
115
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_get_desktop_state(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
116
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_get_screen_size(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
117
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_get_session_state(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
118
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_hotkey(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
119
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_move_cursor(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
120
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_press_key(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
121
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_scroll(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
122
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_set_agent_cursor_enabled(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
123
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_set_agent_cursor_motion(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
124
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_set_agent_cursor_theme(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
125
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_start_session(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
126
|
+
uniffi_cua_driver_sdk_fn_method_cuadriversession_type_text(uniffiSelf: bigint, input: Uint8Array): bigint;
|
|
127
|
+
uniffi_cua_driver_sdk_fn_method_driveractivityobserver_on_activity(uniffiSelf: bigint, event: Uint8Array, uniffi_out_err: UniffiRustCallStatus): void;
|
|
128
|
+
uniffi_cua_driver_sdk_fn_method_driverauthorizationhost_authorize(uniffiSelf: bigint, request: Uint8Array): bigint;
|
|
83
129
|
uniffi_cua_driver_sdk_fn_constructor_embeddedcuadriverhost_new(binaryPath: Uint8Array, hostBundleId: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
84
130
|
uniffi_cua_driver_sdk_fn_constructor_embeddedcuadriverhost_with_options(options: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
85
131
|
uniffi_cua_driver_sdk_fn_method_embeddedcuadriverhost_connection(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
@@ -89,12 +135,23 @@ interface NativeModuleInterface {
|
|
|
89
135
|
uniffi_cua_driver_sdk_fn_method_embeddedcuadriverhost_stop(uniffiSelf: bigint): bigint;
|
|
90
136
|
uniffi_cua_driver_sdk_fn_method_embeddedcuadriverhost_wait_for_exit(uniffiSelf: bigint, generation: Uint8Array): bigint;
|
|
91
137
|
ffi_cua_driver_sdk_uniffi_contract_version(): number;
|
|
138
|
+
uniffi_cua_driver_sdk_checksum_func_create_trusted_session(): number;
|
|
92
139
|
uniffi_cua_driver_sdk_checksum_func_current_mac_os_permission_status(): number;
|
|
93
140
|
uniffi_cua_driver_sdk_checksum_func_open_mac_os_screen_recording_settings(): number;
|
|
94
141
|
uniffi_cua_driver_sdk_checksum_func_request_mac_os_permissions(): number;
|
|
95
142
|
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_connect(): number;
|
|
96
143
|
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_connect_with_client_kind(): number;
|
|
97
144
|
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create(): number;
|
|
145
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured(): number;
|
|
146
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_activity_observer(): number;
|
|
147
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_activity_observer_and_client_kind(): number;
|
|
148
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_authorization_host(): number;
|
|
149
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_authorization_host_and_client_kind(): number;
|
|
150
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_client_kind(): number;
|
|
151
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_host_integrations(): number;
|
|
152
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_configured_with_host_integrations_and_client_kind(): number;
|
|
153
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_private_worker(): number;
|
|
154
|
+
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_private_worker_with_client_kind(): number;
|
|
98
155
|
uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_with_client_kind(): number;
|
|
99
156
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_call_tool(): number;
|
|
100
157
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_click(): number;
|
|
@@ -102,6 +159,7 @@ interface NativeModuleInterface {
|
|
|
102
159
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_end_session(): number;
|
|
103
160
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_escalate_session(): number;
|
|
104
161
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_execution_mode(): number;
|
|
162
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriver_get_agent_cursor_state(): number;
|
|
105
163
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_get_cursor_position(): number;
|
|
106
164
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_get_desktop_state(): number;
|
|
107
165
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_get_screen_size(): number;
|
|
@@ -112,11 +170,37 @@ interface NativeModuleInterface {
|
|
|
112
170
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_metadata(): number;
|
|
113
171
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_move_cursor(): number;
|
|
114
172
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_press_key(): number;
|
|
173
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriver_runtime_scope_prefix(): number;
|
|
115
174
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_scroll(): number;
|
|
175
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriver_set_agent_cursor_enabled(): number;
|
|
176
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriver_set_agent_cursor_motion(): number;
|
|
177
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriver_set_agent_cursor_theme(): number;
|
|
116
178
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_shutdown(): number;
|
|
117
179
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_socket_path(): number;
|
|
118
180
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_start_session(): number;
|
|
119
181
|
uniffi_cua_driver_sdk_checksum_method_cuadriver_type_text(): number;
|
|
182
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_call_tool(): number;
|
|
183
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_click(): number;
|
|
184
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_close(): number;
|
|
185
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_drag(): number;
|
|
186
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_end_session(): number;
|
|
187
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_escalate_session(): number;
|
|
188
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_agent_cursor_state(): number;
|
|
189
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_cursor_position(): number;
|
|
190
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_desktop_state(): number;
|
|
191
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_screen_size(): number;
|
|
192
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_session_state(): number;
|
|
193
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_hotkey(): number;
|
|
194
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_move_cursor(): number;
|
|
195
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_press_key(): number;
|
|
196
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_scroll(): number;
|
|
197
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_agent_cursor_enabled(): number;
|
|
198
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_agent_cursor_motion(): number;
|
|
199
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_agent_cursor_theme(): number;
|
|
200
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_start_session(): number;
|
|
201
|
+
uniffi_cua_driver_sdk_checksum_method_cuadriversession_type_text(): number;
|
|
202
|
+
uniffi_cua_driver_sdk_checksum_method_driveractivityobserver_on_activity(): number;
|
|
203
|
+
uniffi_cua_driver_sdk_checksum_method_driverauthorizationhost_authorize(): number;
|
|
120
204
|
uniffi_cua_driver_sdk_checksum_constructor_embeddedcuadriverhost_new(): number;
|
|
121
205
|
uniffi_cua_driver_sdk_checksum_constructor_embeddedcuadriverhost_with_options(): number;
|
|
122
206
|
uniffi_cua_driver_sdk_checksum_method_embeddedcuadriverhost_connection(): number;
|
|
@@ -136,3 +220,24 @@ export type UniffiForeignFutureDroppedCallbackStruct = {
|
|
|
136
220
|
handle: bigint;
|
|
137
221
|
free: UniffiForeignFutureDroppedCallback;
|
|
138
222
|
};
|
|
223
|
+
type UniffiCallbackInterfaceCuaDriverSdkDriverActivityObserverMethod0 = (uniffiHandle: bigint, event: Uint8Array) => UniffiResult<void>;
|
|
224
|
+
type UniffiCallbackInterfaceCloneCuaDriverSdkDriverActivityObserver = (handle: bigint) => UniffiResult<void>;
|
|
225
|
+
type UniffiCallbackInterfaceFreeCuaDriverSdkDriverActivityObserver = (handle: bigint) => void;
|
|
226
|
+
export type UniffiVTableCallbackInterfaceCuaDriverSdkDriverActivityObserver = {
|
|
227
|
+
uniffi_free: UniffiCallbackInterfaceFreeCuaDriverSdkDriverActivityObserver;
|
|
228
|
+
uniffi_clone: UniffiCallbackInterfaceCloneCuaDriverSdkDriverActivityObserver;
|
|
229
|
+
on_activity: UniffiCallbackInterfaceCuaDriverSdkDriverActivityObserverMethod0;
|
|
230
|
+
};
|
|
231
|
+
export type UniffiForeignFutureResultRustBuffer = {
|
|
232
|
+
return_value: Uint8Array;
|
|
233
|
+
call_status: UniffiRustCallStatus;
|
|
234
|
+
};
|
|
235
|
+
export type UniffiForeignFutureCompleterustBuffer = (callbackData: bigint, result: UniffiForeignFutureResultRustBuffer) => void;
|
|
236
|
+
type UniffiCallbackInterfaceCuaDriverSdkDriverAuthorizationHostMethod0 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
237
|
+
type UniffiCallbackInterfaceCloneCuaDriverSdkDriverAuthorizationHost = (handle: bigint) => UniffiResult<void>;
|
|
238
|
+
type UniffiCallbackInterfaceFreeCuaDriverSdkDriverAuthorizationHost = (handle: bigint) => void;
|
|
239
|
+
export type UniffiVTableCallbackInterfaceCuaDriverSdkDriverAuthorizationHost = {
|
|
240
|
+
uniffi_free: UniffiCallbackInterfaceFreeCuaDriverSdkDriverAuthorizationHost;
|
|
241
|
+
uniffi_clone: UniffiCallbackInterfaceCloneCuaDriverSdkDriverAuthorizationHost;
|
|
242
|
+
authorize: UniffiCallbackInterfaceCuaDriverSdkDriverAuthorizationHostMethod0;
|
|
243
|
+
};
|