@trycua/cua-driver 0.34.1 → 0.35.2
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/dist/native/cua_driver_contract.d.ts +86 -20
- package/dist/native/cua_driver_contract.js +102 -20
- package/dist/native/cua_driver_sdk-ffi.d.ts +32 -0
- package/dist/native/cua_driver_sdk-ffi.js +160 -0
- package/dist/native/cua_driver_sdk.d.ts +1212 -43
- package/dist/native/cua_driver_sdk.js +1674 -55
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActionResult, type ClickInput, type ClipboardReadInput, type ClipboardWriteInput, type DragInput, type EndSessionInput, type EndSessionOutput, type EscalateSessionInput, type GetAgentCursorStateInput, type GetCursorPositionInput, type GetDesktopStateInput, type GetScreenSizeInput, type GetSessionInput, type GetSessionStateInput, type GetWindowStateInput, type HotkeyInput, type InvokeMenuInput, type ListAppsInput, type ListAppsOutput, type ListSessionsInput, type ListSessionsOutput, type ListWindowsInput, type ListWindowsOutput, type MoveCursorInput, type ParseVisualRegionsInput, type PressKeyInput, type ScrollInput, type SessionOutput, type SessionStateOutput, type SetAgentCursorEnabledInput, type SetAgentCursorMotionInput, type SetAgentCursorThemeInput, type SetWindowFrameInput, type StartSessionInput, type StartSessionOutput, type TypeTextInput, type VerifyStateInput, type VerifyStateOutput, type WindowStateOutput } from "./cua_driver_contract.js";
|
|
1
|
+
import { type ActionResult, type ClickInput, type ClipboardReadInput, type ClipboardWriteInput, type CursorMotionEffects, type CursorMotionEffectsOutput, type DragInput, type EndSessionInput, type EndSessionOutput, type EscalateSessionInput, type GetAgentCursorStateInput, type GetCursorPositionInput, type GetDesktopStateInput, type GetScreenSizeInput, type GetSessionInput, type GetSessionStateInput, type GetWindowStateInput, type HotkeyInput, type InvokeMenuInput, type ListAppsInput, type ListAppsOutput, type ListSessionsInput, type ListSessionsOutput, type ListWindowsInput, type ListWindowsOutput, type MoveCursorInput, type ParseVisualRegionsInput, type PressKeyInput, type ScrollInput, type SessionOutput, type SessionStateOutput, type SetAgentCursorEnabledInput, type SetAgentCursorMotionInput, type SetAgentCursorThemeInput, type SetWindowFrameInput, type StartSessionInput, type StartSessionOutput, type TypeTextInput, type VerifyStateInput, type VerifyStateOutput, type WindowStateOutput, CursorMotionStyle, CursorMotionTiming } from "./cua_driver_contract.js";
|
|
2
2
|
import { type UniffiByteArray, type UniffiGcObject, type UniffiHandle, FfiConverterObject, FfiConverterObjectWithCallbacks, RustBuffer, UniffiAbstractObject, destructorGuardSymbol, pointerLiteralSymbol, uniffiTypeNameSymbol } from "@ubjs/core";
|
|
3
3
|
/**
|
|
4
4
|
* Connect the canonical typed Driver to a host-provided remote carrier.
|
|
@@ -19,65 +19,1024 @@ export declare function createRemoteTrustedSession(driver: CuaDriverLike, option
|
|
|
19
19
|
*/
|
|
20
20
|
export declare function createTrustedSession(driver: CuaDriverLike, options: TrustedSessionOptions): CuaDriverSessionLike;
|
|
21
21
|
export declare function currentMacOsPermissionStatus(): MacOsPermissionStatus;
|
|
22
|
+
/**
|
|
23
|
+
* Click effects (ripple, squish) `age` seconds after a click at `(x, y)`.
|
|
24
|
+
*/
|
|
25
|
+
export declare function cursorClickEffects(effects: CursorMotionEffectsOutput, age: number, x: number, y: number): CursorEffectFrame;
|
|
26
|
+
/**
|
|
27
|
+
* The spec behind a built-in style (`signature_arc`, `spring_settle` and
|
|
28
|
+
* `comet_swoop`); `None` for the simulated styles.
|
|
29
|
+
*/
|
|
30
|
+
export declare function cursorMotionSpecForStyle(style: CursorMotionStyle, params: CursorMotionParams): CursorMotionSpec | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Cua Driver's default motion knobs.
|
|
33
|
+
*/
|
|
34
|
+
export declare function defaultCursorMotionParams(): CursorMotionParams;
|
|
22
35
|
export declare function openMacOsScreenRecordingSettings(): void;
|
|
23
36
|
/**
|
|
24
|
-
* Construct before opening so the owner can invalidate an in-flight initialize.
|
|
37
|
+
* Construct before opening so the owner can invalidate an in-flight initialize.
|
|
38
|
+
*/
|
|
39
|
+
export declare function openMcpDriverChannel(transport: DriverServiceTransport, authenticatedPrincipal: string): McpDriverChannelLike;
|
|
40
|
+
/**
|
|
41
|
+
* Plan one move for a built-in style.
|
|
42
|
+
*/
|
|
43
|
+
export declare function planCursorMove(params: CursorMotionParams, request: CursorMoveRequest): CursorTrajectoryLike;
|
|
44
|
+
/**
|
|
45
|
+
* Plan one move for a custom spec.
|
|
46
|
+
*/
|
|
47
|
+
export declare function planCursorSpec(spec: CursorMotionSpec, request: CursorMoveRequest): CursorTrajectoryLike;
|
|
48
|
+
export declare function requestMacOsPermissions(): MacOsPermissionStatus;
|
|
49
|
+
/**
|
|
50
|
+
* Permission mode chosen by trusted host code for a runtime or session.
|
|
51
|
+
*/
|
|
52
|
+
export declare enum SessionPermissionMode {
|
|
53
|
+
Standard = 0,
|
|
54
|
+
Bounded = 1,
|
|
55
|
+
Unrestricted = 2
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Immutable authorization ceiling supplied before a runtime accepts actions.
|
|
59
|
+
*/
|
|
60
|
+
export type RuntimeAuthorizationOptions = {
|
|
61
|
+
allowedModes: Array<SessionPermissionMode>;
|
|
62
|
+
/**
|
|
63
|
+
* Mode inherited by calls made through the released `CuaDriver` object
|
|
64
|
+
* rather than a trusted session-bound action surface.
|
|
65
|
+
*/
|
|
66
|
+
compatibilityMode: SessionPermissionMode;
|
|
67
|
+
/**
|
|
68
|
+
* Optional in standard and unrestricted; required when compatibility mode is bounded.
|
|
69
|
+
*/
|
|
70
|
+
compatibilityCapabilityManifestPath?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Deprecated alias for `compatibility_capability_manifest_path`.
|
|
73
|
+
*/
|
|
74
|
+
compatibilityBoundedManifestPath?: string;
|
|
75
|
+
unrestrictedAcknowledged: boolean;
|
|
76
|
+
maxSessionTtlSeconds: bigint;
|
|
77
|
+
maxIdleTtlSeconds: bigint;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Generated factory for {@link RuntimeAuthorizationOptions} record objects.
|
|
81
|
+
*/
|
|
82
|
+
export declare const RuntimeAuthorizationOptions: Readonly<{
|
|
83
|
+
create: (partial: Partial<RuntimeAuthorizationOptions> & Required<Omit<RuntimeAuthorizationOptions, "compatibilityCapabilityManifestPath" | "compatibilityBoundedManifestPath">>) => RuntimeAuthorizationOptions;
|
|
84
|
+
new: (partial: Partial<RuntimeAuthorizationOptions> & Required<Omit<RuntimeAuthorizationOptions, "compatibilityCapabilityManifestPath" | "compatibilityBoundedManifestPath">>) => RuntimeAuthorizationOptions;
|
|
85
|
+
defaults: () => Partial<RuntimeAuthorizationOptions>;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* Additive configured-runtime constructor options. Existing callers continue
|
|
89
|
+
* to use [`DriverOptions`] and inherit the compatibility session.
|
|
90
|
+
*/
|
|
91
|
+
export type ConfiguredDriverOptions = {
|
|
92
|
+
claudeCodeCompatibility: boolean;
|
|
93
|
+
authorization: RuntimeAuthorizationOptions;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Generated factory for {@link ConfiguredDriverOptions} record objects.
|
|
97
|
+
*/
|
|
98
|
+
export declare const ConfiguredDriverOptions: Readonly<{
|
|
99
|
+
create: (partial: Partial<ConfiguredDriverOptions> & Required<Omit<ConfiguredDriverOptions, never>>) => ConfiguredDriverOptions;
|
|
100
|
+
new: (partial: Partial<ConfiguredDriverOptions> & Required<Omit<ConfiguredDriverOptions, never>>) => ConfiguredDriverOptions;
|
|
101
|
+
defaults: () => Partial<ConfiguredDriverOptions>;
|
|
102
|
+
}>;
|
|
103
|
+
/**
|
|
104
|
+
* Speed glow.
|
|
105
|
+
*/
|
|
106
|
+
export type CursorGlow = {
|
|
107
|
+
x: number;
|
|
108
|
+
y: number;
|
|
109
|
+
r: number;
|
|
110
|
+
alpha: number;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Generated factory for {@link CursorGlow} record objects.
|
|
114
|
+
*/
|
|
115
|
+
export declare const CursorGlow: Readonly<{
|
|
116
|
+
create: (partial: Partial<CursorGlow> & Required<Omit<CursorGlow, never>>) => CursorGlow;
|
|
117
|
+
new: (partial: Partial<CursorGlow> & Required<Omit<CursorGlow, never>>) => CursorGlow;
|
|
118
|
+
defaults: () => Partial<CursorGlow>;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* One round-capped stroke of the comet trail.
|
|
122
|
+
*/
|
|
123
|
+
export type CursorTrailSegment = {
|
|
124
|
+
ax: number;
|
|
125
|
+
ay: number;
|
|
126
|
+
bx: number;
|
|
127
|
+
by: number;
|
|
128
|
+
width: number;
|
|
129
|
+
alpha: number;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Generated factory for {@link CursorTrailSegment} record objects.
|
|
133
|
+
*/
|
|
134
|
+
export declare const CursorTrailSegment: Readonly<{
|
|
135
|
+
create: (partial: Partial<CursorTrailSegment> & Required<Omit<CursorTrailSegment, never>>) => CursorTrailSegment;
|
|
136
|
+
new: (partial: Partial<CursorTrailSegment> & Required<Omit<CursorTrailSegment, never>>) => CursorTrailSegment;
|
|
137
|
+
defaults: () => Partial<CursorTrailSegment>;
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* A target rect in screen points.
|
|
141
|
+
*/
|
|
142
|
+
export type CursorMotionRect = {
|
|
143
|
+
x: number;
|
|
144
|
+
y: number;
|
|
145
|
+
width: number;
|
|
146
|
+
height: number;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Generated factory for {@link CursorMotionRect} record objects.
|
|
150
|
+
*/
|
|
151
|
+
export declare const CursorMotionRect: Readonly<{
|
|
152
|
+
create: (partial: Partial<CursorMotionRect> & Required<Omit<CursorMotionRect, never>>) => CursorMotionRect;
|
|
153
|
+
new: (partial: Partial<CursorMotionRect> & Required<Omit<CursorMotionRect, never>>) => CursorMotionRect;
|
|
154
|
+
defaults: () => Partial<CursorMotionRect>;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* Glow around the target after a magnetic lock-on.
|
|
158
|
+
*/
|
|
159
|
+
export type CursorMagnet = {
|
|
160
|
+
rect: CursorMotionRect;
|
|
161
|
+
glow: number;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Generated factory for {@link CursorMagnet} record objects.
|
|
165
|
+
*/
|
|
166
|
+
export declare const CursorMagnet: Readonly<{
|
|
167
|
+
create: (partial: Partial<CursorMagnet> & Required<Omit<CursorMagnet, never>>) => CursorMagnet;
|
|
168
|
+
new: (partial: Partial<CursorMagnet> & Required<Omit<CursorMagnet, never>>) => CursorMagnet;
|
|
169
|
+
defaults: () => Partial<CursorMagnet>;
|
|
170
|
+
}>;
|
|
171
|
+
/**
|
|
172
|
+
* Expanding click ring.
|
|
173
|
+
*/
|
|
174
|
+
export type CursorRipple = {
|
|
175
|
+
x: number;
|
|
176
|
+
y: number;
|
|
177
|
+
r: number;
|
|
178
|
+
width: number;
|
|
179
|
+
alpha: number;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Generated factory for {@link CursorRipple} record objects.
|
|
183
|
+
*/
|
|
184
|
+
export declare const CursorRipple: Readonly<{
|
|
185
|
+
create: (partial: Partial<CursorRipple> & Required<Omit<CursorRipple, never>>) => CursorRipple;
|
|
186
|
+
new: (partial: Partial<CursorRipple> & Required<Omit<CursorRipple, never>>) => CursorRipple;
|
|
187
|
+
defaults: () => Partial<CursorRipple>;
|
|
188
|
+
}>;
|
|
189
|
+
/**
|
|
190
|
+
* The effects to paint at one moment.
|
|
191
|
+
*/
|
|
192
|
+
export type CursorEffectFrame = {
|
|
193
|
+
glow?: CursorGlow;
|
|
194
|
+
trail: Array<CursorTrailSegment>;
|
|
195
|
+
magnet?: CursorMagnet;
|
|
196
|
+
ripple?: CursorRipple;
|
|
197
|
+
/**
|
|
198
|
+
* Scale-down of the cursor, 0 = none.
|
|
199
|
+
*/
|
|
200
|
+
squish: number;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Generated factory for {@link CursorEffectFrame} record objects.
|
|
204
|
+
*/
|
|
205
|
+
export declare const CursorEffectFrame: Readonly<{
|
|
206
|
+
create: (partial: Partial<CursorEffectFrame> & Required<Omit<CursorEffectFrame, "glow" | "magnet" | "ripple">>) => CursorEffectFrame;
|
|
207
|
+
new: (partial: Partial<CursorEffectFrame> & Required<Omit<CursorEffectFrame, "glow" | "magnet" | "ripple">>) => CursorEffectFrame;
|
|
208
|
+
defaults: () => Partial<CursorEffectFrame>;
|
|
209
|
+
}>;
|
|
210
|
+
/**
|
|
211
|
+
* Knobs of the built-in styles. Defaults match Cua Driver
|
|
212
|
+
* (`default_cursor_motion_params`).
|
|
213
|
+
*/
|
|
214
|
+
export type CursorMotionParams = {
|
|
215
|
+
style: CursorMotionStyle;
|
|
216
|
+
timing: CursorMotionTiming;
|
|
217
|
+
effects: CursorMotionEffects;
|
|
218
|
+
startHandle: number;
|
|
219
|
+
endHandle: number;
|
|
220
|
+
arcSize: number;
|
|
221
|
+
arcFlow: number;
|
|
222
|
+
spring: number;
|
|
223
|
+
glideDurationMs: number;
|
|
224
|
+
peakSpeed: number;
|
|
225
|
+
minStartSpeed: number;
|
|
226
|
+
minEndSpeed: number;
|
|
227
|
+
turnRadius: number;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Generated factory for {@link CursorMotionParams} record objects.
|
|
231
|
+
*/
|
|
232
|
+
export declare const CursorMotionParams: Readonly<{
|
|
233
|
+
create: (partial: Partial<CursorMotionParams> & Required<Omit<CursorMotionParams, never>>) => CursorMotionParams;
|
|
234
|
+
new: (partial: Partial<CursorMotionParams> & Required<Omit<CursorMotionParams, never>>) => CursorMotionParams;
|
|
235
|
+
defaults: () => Partial<CursorMotionParams>;
|
|
236
|
+
}>;
|
|
237
|
+
/**
|
|
238
|
+
* A point in screen points (y down).
|
|
239
|
+
*/
|
|
240
|
+
export type CursorMotionPoint = {
|
|
241
|
+
x: number;
|
|
242
|
+
y: number;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Generated factory for {@link CursorMotionPoint} record objects.
|
|
246
|
+
*/
|
|
247
|
+
export declare const CursorMotionPoint: Readonly<{
|
|
248
|
+
create: (partial: Partial<CursorMotionPoint> & Required<Omit<CursorMotionPoint, never>>) => CursorMotionPoint;
|
|
249
|
+
new: (partial: Partial<CursorMotionPoint> & Required<Omit<CursorMotionPoint, never>>) => CursorMotionPoint;
|
|
250
|
+
defaults: () => Partial<CursorMotionPoint>;
|
|
251
|
+
}>;
|
|
252
|
+
/**
|
|
253
|
+
* One sample: seconds from the start, the hotspot, and the arrow's heading.
|
|
254
|
+
*/
|
|
255
|
+
export type CursorMotionSample = {
|
|
256
|
+
t: number;
|
|
257
|
+
x: number;
|
|
258
|
+
y: number;
|
|
259
|
+
heading: number;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Generated factory for {@link CursorMotionSample} record objects.
|
|
263
|
+
*/
|
|
264
|
+
export declare const CursorMotionSample: Readonly<{
|
|
265
|
+
create: (partial: Partial<CursorMotionSample> & Required<Omit<CursorMotionSample, never>>) => CursorMotionSample;
|
|
266
|
+
new: (partial: Partial<CursorMotionSample> & Required<Omit<CursorMotionSample, never>>) => CursorMotionSample;
|
|
267
|
+
defaults: () => Partial<CursorMotionSample>;
|
|
268
|
+
}>;
|
|
269
|
+
export declare enum CursorPathShape_Tags {
|
|
270
|
+
Straight = "Straight",
|
|
271
|
+
Arc = "Arc",
|
|
272
|
+
Bow = "Bow"
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Path shape of a custom motion.
|
|
276
|
+
*/
|
|
277
|
+
export declare const CursorPathShape: Readonly<{
|
|
278
|
+
instanceOf: (obj: any) => obj is CursorPathShape;
|
|
279
|
+
Straight: {
|
|
280
|
+
new (): {
|
|
281
|
+
readonly tag: CursorPathShape_Tags.Straight;
|
|
282
|
+
/**
|
|
283
|
+
* @private
|
|
284
|
+
* This field is private and should not be used, use `tag` instead.
|
|
285
|
+
*/
|
|
286
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
287
|
+
};
|
|
288
|
+
"new"(): {
|
|
289
|
+
readonly tag: CursorPathShape_Tags.Straight;
|
|
290
|
+
/**
|
|
291
|
+
* @private
|
|
292
|
+
* This field is private and should not be used, use `tag` instead.
|
|
293
|
+
*/
|
|
294
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
295
|
+
};
|
|
296
|
+
instanceOf(obj: any): obj is {
|
|
297
|
+
readonly tag: CursorPathShape_Tags.Straight;
|
|
298
|
+
/**
|
|
299
|
+
* @private
|
|
300
|
+
* This field is private and should not be used, use `tag` instead.
|
|
301
|
+
*/
|
|
302
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
Arc: {
|
|
306
|
+
new (inner: {
|
|
307
|
+
startHandle: number;
|
|
308
|
+
endHandle: number;
|
|
309
|
+
arcSize: number;
|
|
310
|
+
arcFlow: number;
|
|
311
|
+
}): {
|
|
312
|
+
readonly tag: CursorPathShape_Tags.Arc;
|
|
313
|
+
readonly inner: Readonly<{
|
|
314
|
+
startHandle: number;
|
|
315
|
+
endHandle: number;
|
|
316
|
+
arcSize: number;
|
|
317
|
+
arcFlow: number;
|
|
318
|
+
}>;
|
|
319
|
+
/**
|
|
320
|
+
* @private
|
|
321
|
+
* This field is private and should not be used, use `tag` instead.
|
|
322
|
+
*/
|
|
323
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
324
|
+
};
|
|
325
|
+
"new"(inner: {
|
|
326
|
+
startHandle: number;
|
|
327
|
+
endHandle: number;
|
|
328
|
+
arcSize: number;
|
|
329
|
+
arcFlow: number;
|
|
330
|
+
}): {
|
|
331
|
+
readonly tag: CursorPathShape_Tags.Arc;
|
|
332
|
+
readonly inner: Readonly<{
|
|
333
|
+
startHandle: number;
|
|
334
|
+
endHandle: number;
|
|
335
|
+
arcSize: number;
|
|
336
|
+
arcFlow: number;
|
|
337
|
+
}>;
|
|
338
|
+
/**
|
|
339
|
+
* @private
|
|
340
|
+
* This field is private and should not be used, use `tag` instead.
|
|
341
|
+
*/
|
|
342
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
343
|
+
};
|
|
344
|
+
instanceOf(obj: any): obj is {
|
|
345
|
+
readonly tag: CursorPathShape_Tags.Arc;
|
|
346
|
+
readonly inner: Readonly<{
|
|
347
|
+
startHandle: number;
|
|
348
|
+
endHandle: number;
|
|
349
|
+
arcSize: number;
|
|
350
|
+
arcFlow: number;
|
|
351
|
+
}>;
|
|
352
|
+
/**
|
|
353
|
+
* @private
|
|
354
|
+
* This field is private and should not be used, use `tag` instead.
|
|
355
|
+
*/
|
|
356
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
Bow: {
|
|
360
|
+
new (inner: {
|
|
361
|
+
amount: number;
|
|
362
|
+
}): {
|
|
363
|
+
readonly tag: CursorPathShape_Tags.Bow;
|
|
364
|
+
readonly inner: Readonly<{
|
|
365
|
+
amount: number;
|
|
366
|
+
}>;
|
|
367
|
+
/**
|
|
368
|
+
* @private
|
|
369
|
+
* This field is private and should not be used, use `tag` instead.
|
|
370
|
+
*/
|
|
371
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
372
|
+
};
|
|
373
|
+
"new"(inner: {
|
|
374
|
+
amount: number;
|
|
375
|
+
}): {
|
|
376
|
+
readonly tag: CursorPathShape_Tags.Bow;
|
|
377
|
+
readonly inner: Readonly<{
|
|
378
|
+
amount: number;
|
|
379
|
+
}>;
|
|
380
|
+
/**
|
|
381
|
+
* @private
|
|
382
|
+
* This field is private and should not be used, use `tag` instead.
|
|
383
|
+
*/
|
|
384
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
385
|
+
};
|
|
386
|
+
instanceOf(obj: any): obj is {
|
|
387
|
+
readonly tag: CursorPathShape_Tags.Bow;
|
|
388
|
+
readonly inner: Readonly<{
|
|
389
|
+
amount: number;
|
|
390
|
+
}>;
|
|
391
|
+
/**
|
|
392
|
+
* @private
|
|
393
|
+
* This field is private and should not be used, use `tag` instead.
|
|
394
|
+
*/
|
|
395
|
+
readonly [uniffiTypeNameSymbol]: "CursorPathShape";
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
}>;
|
|
399
|
+
/**
|
|
400
|
+
* Path shape of a custom motion.
|
|
401
|
+
*/
|
|
402
|
+
export type CursorPathShape = InstanceType<typeof CursorPathShape['Straight' | 'Arc' | 'Bow']>;
|
|
403
|
+
export declare enum CursorEase_Tags {
|
|
404
|
+
Linear = "Linear",
|
|
405
|
+
MinJerk = "MinJerk",
|
|
406
|
+
Smootherstep = "Smootherstep",
|
|
407
|
+
InOutCubic = "InOutCubic",
|
|
408
|
+
InOutSine = "InOutSine",
|
|
409
|
+
OutCubic = "OutCubic",
|
|
410
|
+
CubicBezier = "CubicBezier"
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Speed curve along the path.
|
|
414
|
+
*/
|
|
415
|
+
export declare const CursorEase: Readonly<{
|
|
416
|
+
instanceOf: (obj: any) => obj is CursorEase;
|
|
417
|
+
Linear: {
|
|
418
|
+
new (): {
|
|
419
|
+
readonly tag: CursorEase_Tags.Linear;
|
|
420
|
+
/**
|
|
421
|
+
* @private
|
|
422
|
+
* This field is private and should not be used, use `tag` instead.
|
|
423
|
+
*/
|
|
424
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
425
|
+
};
|
|
426
|
+
"new"(): {
|
|
427
|
+
readonly tag: CursorEase_Tags.Linear;
|
|
428
|
+
/**
|
|
429
|
+
* @private
|
|
430
|
+
* This field is private and should not be used, use `tag` instead.
|
|
431
|
+
*/
|
|
432
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
433
|
+
};
|
|
434
|
+
instanceOf(obj: any): obj is {
|
|
435
|
+
readonly tag: CursorEase_Tags.Linear;
|
|
436
|
+
/**
|
|
437
|
+
* @private
|
|
438
|
+
* This field is private and should not be used, use `tag` instead.
|
|
439
|
+
*/
|
|
440
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
MinJerk: {
|
|
444
|
+
new (): {
|
|
445
|
+
readonly tag: CursorEase_Tags.MinJerk;
|
|
446
|
+
/**
|
|
447
|
+
* @private
|
|
448
|
+
* This field is private and should not be used, use `tag` instead.
|
|
449
|
+
*/
|
|
450
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
451
|
+
};
|
|
452
|
+
"new"(): {
|
|
453
|
+
readonly tag: CursorEase_Tags.MinJerk;
|
|
454
|
+
/**
|
|
455
|
+
* @private
|
|
456
|
+
* This field is private and should not be used, use `tag` instead.
|
|
457
|
+
*/
|
|
458
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
459
|
+
};
|
|
460
|
+
instanceOf(obj: any): obj is {
|
|
461
|
+
readonly tag: CursorEase_Tags.MinJerk;
|
|
462
|
+
/**
|
|
463
|
+
* @private
|
|
464
|
+
* This field is private and should not be used, use `tag` instead.
|
|
465
|
+
*/
|
|
466
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
Smootherstep: {
|
|
470
|
+
new (): {
|
|
471
|
+
readonly tag: CursorEase_Tags.Smootherstep;
|
|
472
|
+
/**
|
|
473
|
+
* @private
|
|
474
|
+
* This field is private and should not be used, use `tag` instead.
|
|
475
|
+
*/
|
|
476
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
477
|
+
};
|
|
478
|
+
"new"(): {
|
|
479
|
+
readonly tag: CursorEase_Tags.Smootherstep;
|
|
480
|
+
/**
|
|
481
|
+
* @private
|
|
482
|
+
* This field is private and should not be used, use `tag` instead.
|
|
483
|
+
*/
|
|
484
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
485
|
+
};
|
|
486
|
+
instanceOf(obj: any): obj is {
|
|
487
|
+
readonly tag: CursorEase_Tags.Smootherstep;
|
|
488
|
+
/**
|
|
489
|
+
* @private
|
|
490
|
+
* This field is private and should not be used, use `tag` instead.
|
|
491
|
+
*/
|
|
492
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
InOutCubic: {
|
|
496
|
+
new (): {
|
|
497
|
+
readonly tag: CursorEase_Tags.InOutCubic;
|
|
498
|
+
/**
|
|
499
|
+
* @private
|
|
500
|
+
* This field is private and should not be used, use `tag` instead.
|
|
501
|
+
*/
|
|
502
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
503
|
+
};
|
|
504
|
+
"new"(): {
|
|
505
|
+
readonly tag: CursorEase_Tags.InOutCubic;
|
|
506
|
+
/**
|
|
507
|
+
* @private
|
|
508
|
+
* This field is private and should not be used, use `tag` instead.
|
|
509
|
+
*/
|
|
510
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
511
|
+
};
|
|
512
|
+
instanceOf(obj: any): obj is {
|
|
513
|
+
readonly tag: CursorEase_Tags.InOutCubic;
|
|
514
|
+
/**
|
|
515
|
+
* @private
|
|
516
|
+
* This field is private and should not be used, use `tag` instead.
|
|
517
|
+
*/
|
|
518
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
InOutSine: {
|
|
522
|
+
new (): {
|
|
523
|
+
readonly tag: CursorEase_Tags.InOutSine;
|
|
524
|
+
/**
|
|
525
|
+
* @private
|
|
526
|
+
* This field is private and should not be used, use `tag` instead.
|
|
527
|
+
*/
|
|
528
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
529
|
+
};
|
|
530
|
+
"new"(): {
|
|
531
|
+
readonly tag: CursorEase_Tags.InOutSine;
|
|
532
|
+
/**
|
|
533
|
+
* @private
|
|
534
|
+
* This field is private and should not be used, use `tag` instead.
|
|
535
|
+
*/
|
|
536
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
537
|
+
};
|
|
538
|
+
instanceOf(obj: any): obj is {
|
|
539
|
+
readonly tag: CursorEase_Tags.InOutSine;
|
|
540
|
+
/**
|
|
541
|
+
* @private
|
|
542
|
+
* This field is private and should not be used, use `tag` instead.
|
|
543
|
+
*/
|
|
544
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
OutCubic: {
|
|
548
|
+
new (): {
|
|
549
|
+
readonly tag: CursorEase_Tags.OutCubic;
|
|
550
|
+
/**
|
|
551
|
+
* @private
|
|
552
|
+
* This field is private and should not be used, use `tag` instead.
|
|
553
|
+
*/
|
|
554
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
555
|
+
};
|
|
556
|
+
"new"(): {
|
|
557
|
+
readonly tag: CursorEase_Tags.OutCubic;
|
|
558
|
+
/**
|
|
559
|
+
* @private
|
|
560
|
+
* This field is private and should not be used, use `tag` instead.
|
|
561
|
+
*/
|
|
562
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
563
|
+
};
|
|
564
|
+
instanceOf(obj: any): obj is {
|
|
565
|
+
readonly tag: CursorEase_Tags.OutCubic;
|
|
566
|
+
/**
|
|
567
|
+
* @private
|
|
568
|
+
* This field is private and should not be used, use `tag` instead.
|
|
569
|
+
*/
|
|
570
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
CubicBezier: {
|
|
574
|
+
new (inner: {
|
|
575
|
+
x1: number;
|
|
576
|
+
y1: number;
|
|
577
|
+
x2: number;
|
|
578
|
+
y2: number;
|
|
579
|
+
}): {
|
|
580
|
+
readonly tag: CursorEase_Tags.CubicBezier;
|
|
581
|
+
readonly inner: Readonly<{
|
|
582
|
+
x1: number;
|
|
583
|
+
y1: number;
|
|
584
|
+
x2: number;
|
|
585
|
+
y2: number;
|
|
586
|
+
}>;
|
|
587
|
+
/**
|
|
588
|
+
* @private
|
|
589
|
+
* This field is private and should not be used, use `tag` instead.
|
|
590
|
+
*/
|
|
591
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
592
|
+
};
|
|
593
|
+
"new"(inner: {
|
|
594
|
+
x1: number;
|
|
595
|
+
y1: number;
|
|
596
|
+
x2: number;
|
|
597
|
+
y2: number;
|
|
598
|
+
}): {
|
|
599
|
+
readonly tag: CursorEase_Tags.CubicBezier;
|
|
600
|
+
readonly inner: Readonly<{
|
|
601
|
+
x1: number;
|
|
602
|
+
y1: number;
|
|
603
|
+
x2: number;
|
|
604
|
+
y2: number;
|
|
605
|
+
}>;
|
|
606
|
+
/**
|
|
607
|
+
* @private
|
|
608
|
+
* This field is private and should not be used, use `tag` instead.
|
|
609
|
+
*/
|
|
610
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
611
|
+
};
|
|
612
|
+
instanceOf(obj: any): obj is {
|
|
613
|
+
readonly tag: CursorEase_Tags.CubicBezier;
|
|
614
|
+
readonly inner: Readonly<{
|
|
615
|
+
x1: number;
|
|
616
|
+
y1: number;
|
|
617
|
+
x2: number;
|
|
618
|
+
y2: number;
|
|
619
|
+
}>;
|
|
620
|
+
/**
|
|
621
|
+
* @private
|
|
622
|
+
* This field is private and should not be used, use `tag` instead.
|
|
623
|
+
*/
|
|
624
|
+
readonly [uniffiTypeNameSymbol]: "CursorEase";
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
}>;
|
|
628
|
+
/**
|
|
629
|
+
* Speed curve along the path.
|
|
630
|
+
*/
|
|
631
|
+
export type CursorEase = InstanceType<typeof CursorEase['Linear' | 'MinJerk' | 'Smootherstep' | 'InOutCubic' | 'InOutSine' | 'OutCubic' | 'CubicBezier']>;
|
|
632
|
+
export declare enum CursorSettle_Tags {
|
|
633
|
+
None = "None",
|
|
634
|
+
FollowThrough = "FollowThrough",
|
|
635
|
+
Spring = "Spring"
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* Overshoot or settle at the end of the glide.
|
|
639
|
+
*/
|
|
640
|
+
export declare const CursorSettle: Readonly<{
|
|
641
|
+
instanceOf: (obj: any) => obj is CursorSettle;
|
|
642
|
+
None: {
|
|
643
|
+
new (): {
|
|
644
|
+
readonly tag: CursorSettle_Tags.None;
|
|
645
|
+
/**
|
|
646
|
+
* @private
|
|
647
|
+
* This field is private and should not be used, use `tag` instead.
|
|
648
|
+
*/
|
|
649
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
650
|
+
};
|
|
651
|
+
"new"(): {
|
|
652
|
+
readonly tag: CursorSettle_Tags.None;
|
|
653
|
+
/**
|
|
654
|
+
* @private
|
|
655
|
+
* This field is private and should not be used, use `tag` instead.
|
|
656
|
+
*/
|
|
657
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
658
|
+
};
|
|
659
|
+
instanceOf(obj: any): obj is {
|
|
660
|
+
readonly tag: CursorSettle_Tags.None;
|
|
661
|
+
/**
|
|
662
|
+
* @private
|
|
663
|
+
* This field is private and should not be used, use `tag` instead.
|
|
664
|
+
*/
|
|
665
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
FollowThrough: {
|
|
669
|
+
new (inner: {
|
|
670
|
+
amount: number;
|
|
671
|
+
maxPt: number;
|
|
672
|
+
at: number;
|
|
673
|
+
}): {
|
|
674
|
+
readonly tag: CursorSettle_Tags.FollowThrough;
|
|
675
|
+
readonly inner: Readonly<{
|
|
676
|
+
amount: number;
|
|
677
|
+
maxPt: number;
|
|
678
|
+
at: number;
|
|
679
|
+
}>;
|
|
680
|
+
/**
|
|
681
|
+
* @private
|
|
682
|
+
* This field is private and should not be used, use `tag` instead.
|
|
683
|
+
*/
|
|
684
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
685
|
+
};
|
|
686
|
+
"new"(inner: {
|
|
687
|
+
amount: number;
|
|
688
|
+
maxPt: number;
|
|
689
|
+
at: number;
|
|
690
|
+
}): {
|
|
691
|
+
readonly tag: CursorSettle_Tags.FollowThrough;
|
|
692
|
+
readonly inner: Readonly<{
|
|
693
|
+
amount: number;
|
|
694
|
+
maxPt: number;
|
|
695
|
+
at: number;
|
|
696
|
+
}>;
|
|
697
|
+
/**
|
|
698
|
+
* @private
|
|
699
|
+
* This field is private and should not be used, use `tag` instead.
|
|
700
|
+
*/
|
|
701
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
702
|
+
};
|
|
703
|
+
instanceOf(obj: any): obj is {
|
|
704
|
+
readonly tag: CursorSettle_Tags.FollowThrough;
|
|
705
|
+
readonly inner: Readonly<{
|
|
706
|
+
amount: number;
|
|
707
|
+
maxPt: number;
|
|
708
|
+
at: number;
|
|
709
|
+
}>;
|
|
710
|
+
/**
|
|
711
|
+
* @private
|
|
712
|
+
* This field is private and should not be used, use `tag` instead.
|
|
713
|
+
*/
|
|
714
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
Spring: {
|
|
718
|
+
new (inner: {
|
|
719
|
+
amount: number;
|
|
720
|
+
maxPt: number;
|
|
721
|
+
cycles: number;
|
|
722
|
+
decay: number;
|
|
723
|
+
start: number;
|
|
724
|
+
glideEnd: number;
|
|
725
|
+
}): {
|
|
726
|
+
readonly tag: CursorSettle_Tags.Spring;
|
|
727
|
+
readonly inner: Readonly<{
|
|
728
|
+
amount: number;
|
|
729
|
+
maxPt: number;
|
|
730
|
+
cycles: number;
|
|
731
|
+
decay: number;
|
|
732
|
+
start: number;
|
|
733
|
+
glideEnd: number;
|
|
734
|
+
}>;
|
|
735
|
+
/**
|
|
736
|
+
* @private
|
|
737
|
+
* This field is private and should not be used, use `tag` instead.
|
|
738
|
+
*/
|
|
739
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
740
|
+
};
|
|
741
|
+
"new"(inner: {
|
|
742
|
+
amount: number;
|
|
743
|
+
maxPt: number;
|
|
744
|
+
cycles: number;
|
|
745
|
+
decay: number;
|
|
746
|
+
start: number;
|
|
747
|
+
glideEnd: number;
|
|
748
|
+
}): {
|
|
749
|
+
readonly tag: CursorSettle_Tags.Spring;
|
|
750
|
+
readonly inner: Readonly<{
|
|
751
|
+
amount: number;
|
|
752
|
+
maxPt: number;
|
|
753
|
+
cycles: number;
|
|
754
|
+
decay: number;
|
|
755
|
+
start: number;
|
|
756
|
+
glideEnd: number;
|
|
757
|
+
}>;
|
|
758
|
+
/**
|
|
759
|
+
* @private
|
|
760
|
+
* This field is private and should not be used, use `tag` instead.
|
|
761
|
+
*/
|
|
762
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
763
|
+
};
|
|
764
|
+
instanceOf(obj: any): obj is {
|
|
765
|
+
readonly tag: CursorSettle_Tags.Spring;
|
|
766
|
+
readonly inner: Readonly<{
|
|
767
|
+
amount: number;
|
|
768
|
+
maxPt: number;
|
|
769
|
+
cycles: number;
|
|
770
|
+
decay: number;
|
|
771
|
+
start: number;
|
|
772
|
+
glideEnd: number;
|
|
773
|
+
}>;
|
|
774
|
+
/**
|
|
775
|
+
* @private
|
|
776
|
+
* This field is private and should not be used, use `tag` instead.
|
|
777
|
+
*/
|
|
778
|
+
readonly [uniffiTypeNameSymbol]: "CursorSettle";
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
}>;
|
|
782
|
+
/**
|
|
783
|
+
* Overshoot or settle at the end of the glide.
|
|
25
784
|
*/
|
|
26
|
-
export
|
|
27
|
-
export declare
|
|
785
|
+
export type CursorSettle = InstanceType<typeof CursorSettle['None' | 'FollowThrough' | 'Spring']>;
|
|
786
|
+
export declare enum CursorMotionDuration_Tags {
|
|
787
|
+
Fixed = "Fixed",
|
|
788
|
+
Fitts = "Fitts",
|
|
789
|
+
Distance = "Distance"
|
|
790
|
+
}
|
|
28
791
|
/**
|
|
29
|
-
*
|
|
792
|
+
* Duration model of a custom motion.
|
|
30
793
|
*/
|
|
31
|
-
export declare
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
794
|
+
export declare const CursorMotionDuration: Readonly<{
|
|
795
|
+
instanceOf: (obj: any) => obj is CursorMotionDuration;
|
|
796
|
+
Fixed: {
|
|
797
|
+
new (inner: {
|
|
798
|
+
ms: number;
|
|
799
|
+
}): {
|
|
800
|
+
readonly tag: CursorMotionDuration_Tags.Fixed;
|
|
801
|
+
readonly inner: Readonly<{
|
|
802
|
+
ms: number;
|
|
803
|
+
}>;
|
|
804
|
+
/**
|
|
805
|
+
* @private
|
|
806
|
+
* This field is private and should not be used, use `tag` instead.
|
|
807
|
+
*/
|
|
808
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
809
|
+
};
|
|
810
|
+
"new"(inner: {
|
|
811
|
+
ms: number;
|
|
812
|
+
}): {
|
|
813
|
+
readonly tag: CursorMotionDuration_Tags.Fixed;
|
|
814
|
+
readonly inner: Readonly<{
|
|
815
|
+
ms: number;
|
|
816
|
+
}>;
|
|
817
|
+
/**
|
|
818
|
+
* @private
|
|
819
|
+
* This field is private and should not be used, use `tag` instead.
|
|
820
|
+
*/
|
|
821
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
822
|
+
};
|
|
823
|
+
instanceOf(obj: any): obj is {
|
|
824
|
+
readonly tag: CursorMotionDuration_Tags.Fixed;
|
|
825
|
+
readonly inner: Readonly<{
|
|
826
|
+
ms: number;
|
|
827
|
+
}>;
|
|
828
|
+
/**
|
|
829
|
+
* @private
|
|
830
|
+
* This field is private and should not be used, use `tag` instead.
|
|
831
|
+
*/
|
|
832
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
Fitts: {
|
|
836
|
+
new (inner: {
|
|
837
|
+
a: number;
|
|
838
|
+
b: number;
|
|
839
|
+
minMs: number;
|
|
840
|
+
maxMs: number;
|
|
841
|
+
scale: number;
|
|
842
|
+
}): {
|
|
843
|
+
readonly tag: CursorMotionDuration_Tags.Fitts;
|
|
844
|
+
readonly inner: Readonly<{
|
|
845
|
+
a: number;
|
|
846
|
+
b: number;
|
|
847
|
+
minMs: number;
|
|
848
|
+
maxMs: number;
|
|
849
|
+
scale: number;
|
|
850
|
+
}>;
|
|
851
|
+
/**
|
|
852
|
+
* @private
|
|
853
|
+
* This field is private and should not be used, use `tag` instead.
|
|
854
|
+
*/
|
|
855
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
856
|
+
};
|
|
857
|
+
"new"(inner: {
|
|
858
|
+
a: number;
|
|
859
|
+
b: number;
|
|
860
|
+
minMs: number;
|
|
861
|
+
maxMs: number;
|
|
862
|
+
scale: number;
|
|
863
|
+
}): {
|
|
864
|
+
readonly tag: CursorMotionDuration_Tags.Fitts;
|
|
865
|
+
readonly inner: Readonly<{
|
|
866
|
+
a: number;
|
|
867
|
+
b: number;
|
|
868
|
+
minMs: number;
|
|
869
|
+
maxMs: number;
|
|
870
|
+
scale: number;
|
|
871
|
+
}>;
|
|
872
|
+
/**
|
|
873
|
+
* @private
|
|
874
|
+
* This field is private and should not be used, use `tag` instead.
|
|
875
|
+
*/
|
|
876
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
877
|
+
};
|
|
878
|
+
instanceOf(obj: any): obj is {
|
|
879
|
+
readonly tag: CursorMotionDuration_Tags.Fitts;
|
|
880
|
+
readonly inner: Readonly<{
|
|
881
|
+
a: number;
|
|
882
|
+
b: number;
|
|
883
|
+
minMs: number;
|
|
884
|
+
maxMs: number;
|
|
885
|
+
scale: number;
|
|
886
|
+
}>;
|
|
887
|
+
/**
|
|
888
|
+
* @private
|
|
889
|
+
* This field is private and should not be used, use `tag` instead.
|
|
890
|
+
*/
|
|
891
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
Distance: {
|
|
895
|
+
new (inner: {
|
|
896
|
+
baseMs: number;
|
|
897
|
+
msPerPt: number;
|
|
898
|
+
minMs: number;
|
|
899
|
+
maxMs: number;
|
|
900
|
+
}): {
|
|
901
|
+
readonly tag: CursorMotionDuration_Tags.Distance;
|
|
902
|
+
readonly inner: Readonly<{
|
|
903
|
+
baseMs: number;
|
|
904
|
+
msPerPt: number;
|
|
905
|
+
minMs: number;
|
|
906
|
+
maxMs: number;
|
|
907
|
+
}>;
|
|
908
|
+
/**
|
|
909
|
+
* @private
|
|
910
|
+
* This field is private and should not be used, use `tag` instead.
|
|
911
|
+
*/
|
|
912
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
913
|
+
};
|
|
914
|
+
"new"(inner: {
|
|
915
|
+
baseMs: number;
|
|
916
|
+
msPerPt: number;
|
|
917
|
+
minMs: number;
|
|
918
|
+
maxMs: number;
|
|
919
|
+
}): {
|
|
920
|
+
readonly tag: CursorMotionDuration_Tags.Distance;
|
|
921
|
+
readonly inner: Readonly<{
|
|
922
|
+
baseMs: number;
|
|
923
|
+
msPerPt: number;
|
|
924
|
+
minMs: number;
|
|
925
|
+
maxMs: number;
|
|
926
|
+
}>;
|
|
927
|
+
/**
|
|
928
|
+
* @private
|
|
929
|
+
* This field is private and should not be used, use `tag` instead.
|
|
930
|
+
*/
|
|
931
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
932
|
+
};
|
|
933
|
+
instanceOf(obj: any): obj is {
|
|
934
|
+
readonly tag: CursorMotionDuration_Tags.Distance;
|
|
935
|
+
readonly inner: Readonly<{
|
|
936
|
+
baseMs: number;
|
|
937
|
+
msPerPt: number;
|
|
938
|
+
minMs: number;
|
|
939
|
+
maxMs: number;
|
|
940
|
+
}>;
|
|
941
|
+
/**
|
|
942
|
+
* @private
|
|
943
|
+
* This field is private and should not be used, use `tag` instead.
|
|
944
|
+
*/
|
|
945
|
+
readonly [uniffiTypeNameSymbol]: "CursorMotionDuration";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
}>;
|
|
949
|
+
/**
|
|
950
|
+
* Duration model of a custom motion.
|
|
951
|
+
*/
|
|
952
|
+
export type CursorMotionDuration = InstanceType<typeof CursorMotionDuration['Fixed' | 'Fitts' | 'Distance']>;
|
|
953
|
+
/**
|
|
954
|
+
* `Tangent`: the tip leads the motion. `Fixed`: the rest pose.
|
|
955
|
+
*/
|
|
956
|
+
export declare enum CursorHeading {
|
|
957
|
+
Tangent = 0,
|
|
958
|
+
Fixed = 1
|
|
35
959
|
}
|
|
36
960
|
/**
|
|
37
|
-
*
|
|
961
|
+
* The comet trail.
|
|
38
962
|
*/
|
|
39
|
-
export type
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
* Optional in standard and unrestricted; required when compatibility mode is bounded.
|
|
48
|
-
*/
|
|
49
|
-
compatibilityCapabilityManifestPath?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Deprecated alias for `compatibility_capability_manifest_path`.
|
|
52
|
-
*/
|
|
53
|
-
compatibilityBoundedManifestPath?: string;
|
|
54
|
-
unrestrictedAcknowledged: boolean;
|
|
55
|
-
maxSessionTtlSeconds: bigint;
|
|
56
|
-
maxIdleTtlSeconds: bigint;
|
|
963
|
+
export type CursorTrailSpec = {
|
|
964
|
+
secs: number;
|
|
965
|
+
fadeLen: number;
|
|
966
|
+
steps: number;
|
|
967
|
+
tailWidth: number;
|
|
968
|
+
headWidth: number;
|
|
969
|
+
alpha: number;
|
|
970
|
+
anchorOffset: number;
|
|
57
971
|
};
|
|
58
972
|
/**
|
|
59
|
-
* Generated factory for {@link
|
|
973
|
+
* Generated factory for {@link CursorTrailSpec} record objects.
|
|
60
974
|
*/
|
|
61
|
-
export declare const
|
|
62
|
-
create: (partial: Partial<
|
|
63
|
-
new: (partial: Partial<
|
|
64
|
-
defaults: () => Partial<
|
|
975
|
+
export declare const CursorTrailSpec: Readonly<{
|
|
976
|
+
create: (partial: Partial<CursorTrailSpec> & Required<Omit<CursorTrailSpec, never>>) => CursorTrailSpec;
|
|
977
|
+
new: (partial: Partial<CursorTrailSpec> & Required<Omit<CursorTrailSpec, never>>) => CursorTrailSpec;
|
|
978
|
+
defaults: () => Partial<CursorTrailSpec>;
|
|
65
979
|
}>;
|
|
66
980
|
/**
|
|
67
|
-
*
|
|
68
|
-
* to use [`DriverOptions`] and inherit the compatibility session.
|
|
981
|
+
* A complete custom motion.
|
|
69
982
|
*/
|
|
70
|
-
export type
|
|
71
|
-
|
|
72
|
-
|
|
983
|
+
export type CursorMotionSpec = {
|
|
984
|
+
path: CursorPathShape;
|
|
985
|
+
ease: CursorEase;
|
|
986
|
+
settle: CursorSettle;
|
|
987
|
+
duration: CursorMotionDuration;
|
|
988
|
+
heading: CursorHeading;
|
|
989
|
+
effects: CursorMotionEffectsOutput;
|
|
990
|
+
trail: CursorTrailSpec;
|
|
73
991
|
};
|
|
74
992
|
/**
|
|
75
|
-
* Generated factory for {@link
|
|
993
|
+
* Generated factory for {@link CursorMotionSpec} record objects.
|
|
76
994
|
*/
|
|
77
|
-
export declare const
|
|
78
|
-
create: (partial: Partial<
|
|
79
|
-
new: (partial: Partial<
|
|
80
|
-
defaults: () => Partial<
|
|
995
|
+
export declare const CursorMotionSpec: Readonly<{
|
|
996
|
+
create: (partial: Partial<CursorMotionSpec> & Required<Omit<CursorMotionSpec, never>>) => CursorMotionSpec;
|
|
997
|
+
new: (partial: Partial<CursorMotionSpec> & Required<Omit<CursorMotionSpec, never>>) => CursorMotionSpec;
|
|
998
|
+
defaults: () => Partial<CursorMotionSpec>;
|
|
999
|
+
}>;
|
|
1000
|
+
/**
|
|
1001
|
+
* One move to plan.
|
|
1002
|
+
*/
|
|
1003
|
+
export type CursorMoveRequest = {
|
|
1004
|
+
/**
|
|
1005
|
+
* Current hotspot.
|
|
1006
|
+
*/
|
|
1007
|
+
fromPoint: CursorMotionPoint;
|
|
1008
|
+
/**
|
|
1009
|
+
* Requested hotspot.
|
|
1010
|
+
*/
|
|
1011
|
+
toPoint: CursorMotionPoint;
|
|
1012
|
+
/**
|
|
1013
|
+
* Current heading; the rest heading (pi/4) when unset.
|
|
1014
|
+
*/
|
|
1015
|
+
fromHeading?: number;
|
|
1016
|
+
/**
|
|
1017
|
+
* Heading on arrival; the rest heading when unset.
|
|
1018
|
+
*/
|
|
1019
|
+
endHeading?: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* The target element's rect; it sets the Fitts width.
|
|
1022
|
+
*/
|
|
1023
|
+
target?: CursorMotionRect;
|
|
1024
|
+
/**
|
|
1025
|
+
* Same seed, same motion.
|
|
1026
|
+
*/
|
|
1027
|
+
seed: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* A short straight glide without effects.
|
|
1030
|
+
*/
|
|
1031
|
+
reducedMotion: boolean;
|
|
1032
|
+
};
|
|
1033
|
+
/**
|
|
1034
|
+
* Generated factory for {@link CursorMoveRequest} record objects.
|
|
1035
|
+
*/
|
|
1036
|
+
export declare const CursorMoveRequest: Readonly<{
|
|
1037
|
+
create: (partial: Partial<CursorMoveRequest> & Required<Omit<CursorMoveRequest, "target" | "fromHeading" | "endHeading">>) => CursorMoveRequest;
|
|
1038
|
+
new: (partial: Partial<CursorMoveRequest> & Required<Omit<CursorMoveRequest, "target" | "fromHeading" | "endHeading">>) => CursorMoveRequest;
|
|
1039
|
+
defaults: () => Partial<CursorMoveRequest>;
|
|
81
1040
|
}>;
|
|
82
1041
|
export declare enum DriverActivityKind {
|
|
83
1042
|
AuthorizedAction = 0,
|
|
@@ -2939,6 +3898,96 @@ export declare class CuaDriverSession extends UniffiAbstractObject implements Cu
|
|
|
2939
3898
|
uniffiDestroy(): void;
|
|
2940
3899
|
static instanceOf(obj_: any): obj_ is CuaDriverSession;
|
|
2941
3900
|
}
|
|
3901
|
+
/**
|
|
3902
|
+
* A planned move, played back by time.
|
|
3903
|
+
*/
|
|
3904
|
+
export interface CursorTrajectoryLike {
|
|
3905
|
+
/**
|
|
3906
|
+
* When the tip first reaches the target, seconds.
|
|
3907
|
+
*/
|
|
3908
|
+
arrivalT(): number;
|
|
3909
|
+
/**
|
|
3910
|
+
* Seconds until the last sample (any settle included).
|
|
3911
|
+
*/
|
|
3912
|
+
duration(): number;
|
|
3913
|
+
/**
|
|
3914
|
+
* The move's effects (glow, trail, magnet) at `t`, around the arrow's
|
|
3915
|
+
* body. `blend` is whether the surface can draw translucency.
|
|
3916
|
+
*/
|
|
3917
|
+
effectFrame(t: number, blend: boolean): CursorEffectFrame;
|
|
3918
|
+
effects(): CursorMotionEffectsOutput;
|
|
3919
|
+
/**
|
|
3920
|
+
* When the move and its trail or magnet glow have finished, seconds.
|
|
3921
|
+
*/
|
|
3922
|
+
linger(): number;
|
|
3923
|
+
/**
|
|
3924
|
+
* Interpolated sample at `t` seconds, clamped to the ends.
|
|
3925
|
+
*/
|
|
3926
|
+
sampleAt(t: number): CursorMotionSample;
|
|
3927
|
+
/**
|
|
3928
|
+
* Every sample at 120 Hz. Read once; interpolate locally per frame.
|
|
3929
|
+
*/
|
|
3930
|
+
samples(): Array<CursorMotionSample>;
|
|
3931
|
+
/**
|
|
3932
|
+
* Magnetic lock-on time, seconds.
|
|
3933
|
+
*/
|
|
3934
|
+
snapT(): number | undefined;
|
|
3935
|
+
/**
|
|
3936
|
+
* The target used for timing (the request's, or a 24 pt box).
|
|
3937
|
+
*/
|
|
3938
|
+
target(): CursorMotionRect;
|
|
3939
|
+
targetKnown(): boolean;
|
|
3940
|
+
}
|
|
3941
|
+
/**
|
|
3942
|
+
* @deprecated Use `CursorTrajectoryLike` instead.
|
|
3943
|
+
*/
|
|
3944
|
+
export type CursorTrajectoryInterface = CursorTrajectoryLike;
|
|
3945
|
+
/**
|
|
3946
|
+
* A planned move, played back by time.
|
|
3947
|
+
*/
|
|
3948
|
+
export declare class CursorTrajectory extends UniffiAbstractObject implements CursorTrajectoryLike {
|
|
3949
|
+
readonly [uniffiTypeNameSymbol] = "CursorTrajectory";
|
|
3950
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3951
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3952
|
+
private constructor();
|
|
3953
|
+
/**
|
|
3954
|
+
* When the tip first reaches the target, seconds.
|
|
3955
|
+
*/
|
|
3956
|
+
arrivalT(): number;
|
|
3957
|
+
/**
|
|
3958
|
+
* Seconds until the last sample (any settle included).
|
|
3959
|
+
*/
|
|
3960
|
+
duration(): number;
|
|
3961
|
+
/**
|
|
3962
|
+
* The move's effects (glow, trail, magnet) at `t`, around the arrow's
|
|
3963
|
+
* body. `blend` is whether the surface can draw translucency.
|
|
3964
|
+
*/
|
|
3965
|
+
effectFrame(t: number, blend: boolean): CursorEffectFrame;
|
|
3966
|
+
effects(): CursorMotionEffectsOutput;
|
|
3967
|
+
/**
|
|
3968
|
+
* When the move and its trail or magnet glow have finished, seconds.
|
|
3969
|
+
*/
|
|
3970
|
+
linger(): number;
|
|
3971
|
+
/**
|
|
3972
|
+
* Interpolated sample at `t` seconds, clamped to the ends.
|
|
3973
|
+
*/
|
|
3974
|
+
sampleAt(t: number): CursorMotionSample;
|
|
3975
|
+
/**
|
|
3976
|
+
* Every sample at 120 Hz. Read once; interpolate locally per frame.
|
|
3977
|
+
*/
|
|
3978
|
+
samples(): Array<CursorMotionSample>;
|
|
3979
|
+
/**
|
|
3980
|
+
* Magnetic lock-on time, seconds.
|
|
3981
|
+
*/
|
|
3982
|
+
snapT(): number | undefined;
|
|
3983
|
+
/**
|
|
3984
|
+
* The target used for timing (the request's, or a 24 pt box).
|
|
3985
|
+
*/
|
|
3986
|
+
target(): CursorMotionRect;
|
|
3987
|
+
targetKnown(): boolean;
|
|
3988
|
+
uniffiDestroy(): void;
|
|
3989
|
+
static instanceOf(obj_: any): obj_ is CursorTrajectory;
|
|
3990
|
+
}
|
|
2942
3991
|
/**
|
|
2943
3992
|
* Optional observer implemented by trusted embedding-host code.
|
|
2944
3993
|
*
|
|
@@ -3124,6 +4173,126 @@ declare const _default: Readonly<{
|
|
|
3124
4173
|
};
|
|
3125
4174
|
FfiConverterTypeCuaDriver: FfiConverterObject<CuaDriverLike>;
|
|
3126
4175
|
FfiConverterTypeCuaDriverSession: FfiConverterObject<CuaDriverSessionLike>;
|
|
4176
|
+
FfiConverterTypeCursorEase: {
|
|
4177
|
+
read(from: RustBuffer): CursorEase;
|
|
4178
|
+
write(value: CursorEase, into: RustBuffer): void;
|
|
4179
|
+
allocationSize(value: CursorEase): number;
|
|
4180
|
+
lift(value: UniffiByteArray): CursorEase;
|
|
4181
|
+
lower(value: CursorEase, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4182
|
+
};
|
|
4183
|
+
FfiConverterTypeCursorEffectFrame: {
|
|
4184
|
+
read(from: RustBuffer): CursorEffectFrame;
|
|
4185
|
+
write(value: CursorEffectFrame, into: RustBuffer): void;
|
|
4186
|
+
allocationSize(value: CursorEffectFrame): number;
|
|
4187
|
+
lift(value: UniffiByteArray): CursorEffectFrame;
|
|
4188
|
+
lower(value: CursorEffectFrame, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4189
|
+
};
|
|
4190
|
+
FfiConverterTypeCursorGlow: {
|
|
4191
|
+
read(from: RustBuffer): CursorGlow;
|
|
4192
|
+
write(value: CursorGlow, into: RustBuffer): void;
|
|
4193
|
+
allocationSize(value: CursorGlow): number;
|
|
4194
|
+
lift(value: UniffiByteArray): CursorGlow;
|
|
4195
|
+
lower(value: CursorGlow, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4196
|
+
};
|
|
4197
|
+
FfiConverterTypeCursorHeading: {
|
|
4198
|
+
read(from: RustBuffer): CursorHeading;
|
|
4199
|
+
write(value: CursorHeading, into: RustBuffer): void;
|
|
4200
|
+
allocationSize(value: CursorHeading): number;
|
|
4201
|
+
lift(value: UniffiByteArray): CursorHeading;
|
|
4202
|
+
lower(value: CursorHeading, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4203
|
+
};
|
|
4204
|
+
FfiConverterTypeCursorMagnet: {
|
|
4205
|
+
read(from: RustBuffer): CursorMagnet;
|
|
4206
|
+
write(value: CursorMagnet, into: RustBuffer): void;
|
|
4207
|
+
allocationSize(value: CursorMagnet): number;
|
|
4208
|
+
lift(value: UniffiByteArray): CursorMagnet;
|
|
4209
|
+
lower(value: CursorMagnet, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4210
|
+
};
|
|
4211
|
+
FfiConverterTypeCursorMotionDuration: {
|
|
4212
|
+
read(from: RustBuffer): CursorMotionDuration;
|
|
4213
|
+
write(value: CursorMotionDuration, into: RustBuffer): void;
|
|
4214
|
+
allocationSize(value: CursorMotionDuration): number;
|
|
4215
|
+
lift(value: UniffiByteArray): CursorMotionDuration;
|
|
4216
|
+
lower(value: CursorMotionDuration, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4217
|
+
};
|
|
4218
|
+
FfiConverterTypeCursorMotionParams: {
|
|
4219
|
+
read(from: RustBuffer): CursorMotionParams;
|
|
4220
|
+
write(value: CursorMotionParams, into: RustBuffer): void;
|
|
4221
|
+
allocationSize(value: CursorMotionParams): number;
|
|
4222
|
+
lift(value: UniffiByteArray): CursorMotionParams;
|
|
4223
|
+
lower(value: CursorMotionParams, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4224
|
+
};
|
|
4225
|
+
FfiConverterTypeCursorMotionPoint: {
|
|
4226
|
+
read(from: RustBuffer): CursorMotionPoint;
|
|
4227
|
+
write(value: CursorMotionPoint, into: RustBuffer): void;
|
|
4228
|
+
allocationSize(value: CursorMotionPoint): number;
|
|
4229
|
+
lift(value: UniffiByteArray): CursorMotionPoint;
|
|
4230
|
+
lower(value: CursorMotionPoint, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4231
|
+
};
|
|
4232
|
+
FfiConverterTypeCursorMotionRect: {
|
|
4233
|
+
read(from: RustBuffer): CursorMotionRect;
|
|
4234
|
+
write(value: CursorMotionRect, into: RustBuffer): void;
|
|
4235
|
+
allocationSize(value: CursorMotionRect): number;
|
|
4236
|
+
lift(value: UniffiByteArray): CursorMotionRect;
|
|
4237
|
+
lower(value: CursorMotionRect, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4238
|
+
};
|
|
4239
|
+
FfiConverterTypeCursorMotionSample: {
|
|
4240
|
+
read(from: RustBuffer): CursorMotionSample;
|
|
4241
|
+
write(value: CursorMotionSample, into: RustBuffer): void;
|
|
4242
|
+
allocationSize(value: CursorMotionSample): number;
|
|
4243
|
+
lift(value: UniffiByteArray): CursorMotionSample;
|
|
4244
|
+
lower(value: CursorMotionSample, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4245
|
+
};
|
|
4246
|
+
FfiConverterTypeCursorMotionSpec: {
|
|
4247
|
+
read(from: RustBuffer): CursorMotionSpec;
|
|
4248
|
+
write(value: CursorMotionSpec, into: RustBuffer): void;
|
|
4249
|
+
allocationSize(value: CursorMotionSpec): number;
|
|
4250
|
+
lift(value: UniffiByteArray): CursorMotionSpec;
|
|
4251
|
+
lower(value: CursorMotionSpec, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4252
|
+
};
|
|
4253
|
+
FfiConverterTypeCursorMoveRequest: {
|
|
4254
|
+
read(from: RustBuffer): CursorMoveRequest;
|
|
4255
|
+
write(value: CursorMoveRequest, into: RustBuffer): void;
|
|
4256
|
+
allocationSize(value: CursorMoveRequest): number;
|
|
4257
|
+
lift(value: UniffiByteArray): CursorMoveRequest;
|
|
4258
|
+
lower(value: CursorMoveRequest, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4259
|
+
};
|
|
4260
|
+
FfiConverterTypeCursorPathShape: {
|
|
4261
|
+
read(from: RustBuffer): CursorPathShape;
|
|
4262
|
+
write(value: CursorPathShape, into: RustBuffer): void;
|
|
4263
|
+
allocationSize(value: CursorPathShape): number;
|
|
4264
|
+
lift(value: UniffiByteArray): CursorPathShape;
|
|
4265
|
+
lower(value: CursorPathShape, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4266
|
+
};
|
|
4267
|
+
FfiConverterTypeCursorRipple: {
|
|
4268
|
+
read(from: RustBuffer): CursorRipple;
|
|
4269
|
+
write(value: CursorRipple, into: RustBuffer): void;
|
|
4270
|
+
allocationSize(value: CursorRipple): number;
|
|
4271
|
+
lift(value: UniffiByteArray): CursorRipple;
|
|
4272
|
+
lower(value: CursorRipple, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4273
|
+
};
|
|
4274
|
+
FfiConverterTypeCursorSettle: {
|
|
4275
|
+
read(from: RustBuffer): CursorSettle;
|
|
4276
|
+
write(value: CursorSettle, into: RustBuffer): void;
|
|
4277
|
+
allocationSize(value: CursorSettle): number;
|
|
4278
|
+
lift(value: UniffiByteArray): CursorSettle;
|
|
4279
|
+
lower(value: CursorSettle, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4280
|
+
};
|
|
4281
|
+
FfiConverterTypeCursorTrailSegment: {
|
|
4282
|
+
read(from: RustBuffer): CursorTrailSegment;
|
|
4283
|
+
write(value: CursorTrailSegment, into: RustBuffer): void;
|
|
4284
|
+
allocationSize(value: CursorTrailSegment): number;
|
|
4285
|
+
lift(value: UniffiByteArray): CursorTrailSegment;
|
|
4286
|
+
lower(value: CursorTrailSegment, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4287
|
+
};
|
|
4288
|
+
FfiConverterTypeCursorTrailSpec: {
|
|
4289
|
+
read(from: RustBuffer): CursorTrailSpec;
|
|
4290
|
+
write(value: CursorTrailSpec, into: RustBuffer): void;
|
|
4291
|
+
allocationSize(value: CursorTrailSpec): number;
|
|
4292
|
+
lift(value: UniffiByteArray): CursorTrailSpec;
|
|
4293
|
+
lower(value: CursorTrailSpec, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
|
|
4294
|
+
};
|
|
4295
|
+
FfiConverterTypeCursorTrajectory: FfiConverterObject<CursorTrajectoryLike>;
|
|
3127
4296
|
FfiConverterTypeDriverActivityEvent: {
|
|
3128
4297
|
read(from: RustBuffer): DriverActivityEvent;
|
|
3129
4298
|
write(value: DriverActivityEvent, into: RustBuffer): void;
|