@trycua/cua-driver 0.14.2 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,107 @@
1
1
  import { type UniffiByteArray, RustBuffer } from "@ubjs/core";
2
+ export declare enum ActionDeliveryMode {
3
+ Background = 0,
4
+ Foreground = 1,
5
+ NotApplicable = 2,
6
+ Unknown = 3
7
+ }
8
+ export type ActionDelivery = {
9
+ mode: ActionDeliveryMode;
10
+ deliveredCount?: number;
11
+ };
12
+ /**
13
+ * Generated factory for {@link ActionDelivery} record objects.
14
+ */
15
+ export declare const ActionDelivery: Readonly<{
16
+ create: (partial: Partial<ActionDelivery> & Required<Omit<ActionDelivery, "deliveredCount">>) => ActionDelivery;
17
+ new: (partial: Partial<ActionDelivery> & Required<Omit<ActionDelivery, "deliveredCount">>) => ActionDelivery;
18
+ defaults: () => Partial<ActionDelivery>;
19
+ }>;
20
+ export declare enum ActionEscalationTarget {
21
+ Pixel = 0,
22
+ Foreground = 1,
23
+ Page = 2,
24
+ Session = 3
25
+ }
26
+ export declare enum ActionEscalationReason {
27
+ RouteUnavailable = 0,
28
+ DeliveryFailed = 1,
29
+ EffectUnconfirmed = 2,
30
+ SuspectedNoop = 3,
31
+ PermissionRequired = 4
32
+ }
33
+ export type ActionEscalation = {
34
+ target: ActionEscalationTarget;
35
+ reason: ActionEscalationReason;
36
+ };
37
+ /**
38
+ * Generated factory for {@link ActionEscalation} record objects.
39
+ */
40
+ export declare const ActionEscalation: Readonly<{
41
+ create: (partial: Partial<ActionEscalation> & Required<Omit<ActionEscalation, never>>) => ActionEscalation;
42
+ new: (partial: Partial<ActionEscalation> & Required<Omit<ActionEscalation, never>>) => ActionEscalation;
43
+ defaults: () => Partial<ActionEscalation>;
44
+ }>;
45
+ export declare enum ActionEvidenceKind {
46
+ ValueReadback = 0,
47
+ WindowChange = 1
48
+ }
49
+ export type ActionEvidence = {
50
+ kind: ActionEvidenceKind;
51
+ };
52
+ /**
53
+ * Generated factory for {@link ActionEvidence} record objects.
54
+ */
55
+ export declare const ActionEvidence: Readonly<{
56
+ create: (partial: Partial<ActionEvidence> & Required<Omit<ActionEvidence, never>>) => ActionEvidence;
57
+ new: (partial: Partial<ActionEvidence> & Required<Omit<ActionEvidence, never>>) => ActionEvidence;
58
+ defaults: () => Partial<ActionEvidence>;
59
+ }>;
60
+ export declare enum ActionEffect {
61
+ Confirmed = 0,
62
+ Partial = 1,
63
+ Unverifiable = 2,
64
+ SuspectedNoop = 3,
65
+ Refused = 4
66
+ }
67
+ export declare enum ActionRoute {
68
+ Accessibility = 0,
69
+ SyntheticEvents = 1,
70
+ GlobalInput = 2,
71
+ SystemApi = 3,
72
+ Dom = 4,
73
+ TrustedInput = 5
74
+ }
75
+ export type ActionResult = {
76
+ effect: ActionEffect;
77
+ route: ActionRoute;
78
+ delivery?: ActionDelivery;
79
+ evidence?: Array<ActionEvidence>;
80
+ escalation?: ActionEscalation;
81
+ };
82
+ /**
83
+ * Generated factory for {@link ActionResult} record objects.
84
+ */
85
+ export declare const ActionResult: Readonly<{
86
+ create: (partial: Partial<ActionResult> & Required<Omit<ActionResult, "delivery" | "evidence" | "escalation">>) => ActionResult;
87
+ new: (partial: Partial<ActionResult> & Required<Omit<ActionResult, "delivery" | "evidence" | "escalation">>) => ActionResult;
88
+ defaults: () => Partial<ActionResult>;
89
+ }>;
90
+ export type BoundsExpectation = {
91
+ x: number;
92
+ y: number;
93
+ width: number;
94
+ height: number;
95
+ tolerancePx?: number;
96
+ };
97
+ /**
98
+ * Generated factory for {@link BoundsExpectation} record objects.
99
+ */
100
+ export declare const BoundsExpectation: Readonly<{
101
+ create: (partial: Partial<BoundsExpectation> & Required<Omit<BoundsExpectation, "tolerancePx">>) => BoundsExpectation;
102
+ new: (partial: Partial<BoundsExpectation> & Required<Omit<BoundsExpectation, "tolerancePx">>) => BoundsExpectation;
103
+ defaults: () => Partial<BoundsExpectation>;
104
+ }>;
2
105
  export declare enum DesktopScope {
3
106
  Desktop = 0
4
107
  }
@@ -26,6 +129,81 @@ export declare const ClickInput: Readonly<{
26
129
  new: (partial: Partial<ClickInput> & Required<Omit<ClickInput, "session" | "button" | "count">>) => ClickInput;
27
130
  defaults: () => Partial<ClickInput>;
28
131
  }>;
132
+ export type ClipboardReadInput = {
133
+ /**
134
+ * Return plain-text clipboard content in addition to the available types.
135
+ * Clipboard content is privacy-sensitive and is never retained in telemetry.
136
+ */
137
+ includeText: boolean;
138
+ /**
139
+ * Optional session id.
140
+ */
141
+ session?: string;
142
+ };
143
+ /**
144
+ * Generated factory for {@link ClipboardReadInput} record objects.
145
+ */
146
+ export declare const ClipboardReadInput: Readonly<{
147
+ create: (partial: Partial<ClipboardReadInput> & Required<Omit<ClipboardReadInput, "session">>) => ClipboardReadInput;
148
+ new: (partial: Partial<ClipboardReadInput> & Required<Omit<ClipboardReadInput, "session">>) => ClipboardReadInput;
149
+ defaults: () => Partial<ClipboardReadInput>;
150
+ }>;
151
+ export type ClipboardReadOutput = {
152
+ supported: boolean;
153
+ types: Array<string>;
154
+ text?: string;
155
+ privacySensitive: boolean;
156
+ contentRedactedFromTelemetry: boolean;
157
+ };
158
+ /**
159
+ * Generated factory for {@link ClipboardReadOutput} record objects.
160
+ */
161
+ export declare const ClipboardReadOutput: Readonly<{
162
+ create: (partial: Partial<ClipboardReadOutput> & Required<Omit<ClipboardReadOutput, "text">>) => ClipboardReadOutput;
163
+ new: (partial: Partial<ClipboardReadOutput> & Required<Omit<ClipboardReadOutput, "text">>) => ClipboardReadOutput;
164
+ defaults: () => Partial<ClipboardReadOutput>;
165
+ }>;
166
+ export type ClipboardWriteInput = {
167
+ /**
168
+ * Plain text to place on the clipboard.
169
+ */
170
+ text?: string;
171
+ /**
172
+ * Absolute path to a local image to place on the clipboard.
173
+ */
174
+ imagePath?: string;
175
+ /**
176
+ * Absolute path to a local file to place on the clipboard as a file URL.
177
+ */
178
+ filePath?: string;
179
+ /**
180
+ * Optional session id.
181
+ */
182
+ session?: string;
183
+ };
184
+ /**
185
+ * Generated factory for {@link ClipboardWriteInput} record objects.
186
+ */
187
+ export declare const ClipboardWriteInput: Readonly<{
188
+ create: (partial: Partial<ClipboardWriteInput> & Required<Omit<ClipboardWriteInput, "session" | "text" | "imagePath" | "filePath">>) => ClipboardWriteInput;
189
+ new: (partial: Partial<ClipboardWriteInput> & Required<Omit<ClipboardWriteInput, "session" | "text" | "imagePath" | "filePath">>) => ClipboardWriteInput;
190
+ defaults: () => Partial<ClipboardWriteInput>;
191
+ }>;
192
+ export type ClipboardWriteOutput = {
193
+ supported: boolean;
194
+ writtenType: string;
195
+ types: Array<string>;
196
+ privacySensitive: boolean;
197
+ contentRedactedFromTelemetry: boolean;
198
+ };
199
+ /**
200
+ * Generated factory for {@link ClipboardWriteOutput} record objects.
201
+ */
202
+ export declare const ClipboardWriteOutput: Readonly<{
203
+ create: (partial: Partial<ClipboardWriteOutput> & Required<Omit<ClipboardWriteOutput, never>>) => ClipboardWriteOutput;
204
+ new: (partial: Partial<ClipboardWriteOutput> & Required<Omit<ClipboardWriteOutput, never>>) => ClipboardWriteOutput;
205
+ defaults: () => Partial<ClipboardWriteOutput>;
206
+ }>;
29
207
  export type CursorMotionOutput = {
30
208
  startHandle: number;
31
209
  endHandle: number;
@@ -142,6 +320,40 @@ export declare const DragInput: Readonly<{
142
320
  new: (partial: Partial<DragInput> & Required<Omit<DragInput, "session" | "button" | "durationMs" | "steps" | "modifier">>) => DragInput;
143
321
  defaults: () => Partial<DragInput>;
144
322
  }>;
323
+ export type ElementSelector = {
324
+ role?: string;
325
+ labelContains?: string;
326
+ };
327
+ /**
328
+ * Generated factory for {@link ElementSelector} record objects.
329
+ */
330
+ export declare const ElementSelector: Readonly<{
331
+ create: (partial: Partial<ElementSelector> & Required<Omit<ElementSelector, "role" | "labelContains">>) => ElementSelector;
332
+ new: (partial: Partial<ElementSelector> & Required<Omit<ElementSelector, "role" | "labelContains">>) => ElementSelector;
333
+ defaults: () => Partial<ElementSelector>;
334
+ }>;
335
+ export type ElementPredicate = {
336
+ selector: ElementSelector;
337
+ /**
338
+ * Assert that at least one trusted element matches the selector.
339
+ *
340
+ * Element walks are not yet exhaustive on every platform, so absence
341
+ * cannot be proven. `false` is rejected instead of returning an
342
+ * indefinitely-unknown predicate.
343
+ */
344
+ exists?: boolean;
345
+ valueEquals?: string;
346
+ enabled?: boolean;
347
+ selected?: boolean;
348
+ };
349
+ /**
350
+ * Generated factory for {@link ElementPredicate} record objects.
351
+ */
352
+ export declare const ElementPredicate: Readonly<{
353
+ create: (partial: Partial<ElementPredicate> & Required<Omit<ElementPredicate, "exists" | "valueEquals" | "enabled" | "selected">>) => ElementPredicate;
354
+ new: (partial: Partial<ElementPredicate> & Required<Omit<ElementPredicate, "exists" | "valueEquals" | "enabled" | "selected">>) => ElementPredicate;
355
+ defaults: () => Partial<ElementPredicate>;
356
+ }>;
145
357
  export type EndSessionInput = {
146
358
  /**
147
359
  * The session id to end.
@@ -294,6 +506,28 @@ export declare const HotkeyInput: Readonly<{
294
506
  new: (partial: Partial<HotkeyInput> & Required<Omit<HotkeyInput, "session">>) => HotkeyInput;
295
507
  defaults: () => Partial<HotkeyInput>;
296
508
  }>;
509
+ /**
510
+ * Exact, immediate-child application menu path to resolve and invoke through
511
+ * the operating system's accessibility API. Path labels are matched after
512
+ * trimming surrounding whitespace and otherwise remain case-sensitive.
513
+ */
514
+ export type InvokeMenuInput = {
515
+ pid: number;
516
+ windowId: bigint;
517
+ path: Array<string>;
518
+ /**
519
+ * Optional session id.
520
+ */
521
+ session?: string;
522
+ };
523
+ /**
524
+ * Generated factory for {@link InvokeMenuInput} record objects.
525
+ */
526
+ export declare const InvokeMenuInput: Readonly<{
527
+ create: (partial: Partial<InvokeMenuInput> & Required<Omit<InvokeMenuInput, "session">>) => InvokeMenuInput;
528
+ new: (partial: Partial<InvokeMenuInput> & Required<Omit<InvokeMenuInput, "session">>) => InvokeMenuInput;
529
+ defaults: () => Partial<InvokeMenuInput>;
530
+ }>;
297
531
  export type MoveCursorInput = {
298
532
  x: number;
299
533
  y: number;
@@ -311,6 +545,37 @@ export declare const MoveCursorInput: Readonly<{
311
545
  new: (partial: Partial<MoveCursorInput> & Required<Omit<MoveCursorInput, "session">>) => MoveCursorInput;
312
546
  defaults: () => Partial<MoveCursorInput>;
313
547
  }>;
548
+ export declare enum VerificationStatus {
549
+ Satisfied = 0,
550
+ Unsatisfied = 1,
551
+ Unknown = 2
552
+ }
553
+ export declare enum UnknownReason {
554
+ InvalidPredicate = 0,
555
+ UnsupportedPredicate = 1,
556
+ UntrustedSource = 2,
557
+ MultiMatch = 3,
558
+ TargetMissing = 4,
559
+ ObservationUnavailable = 5,
560
+ StabilityUnproven = 6
561
+ }
562
+ export type PredicateOutcome = {
563
+ index: bigint;
564
+ status: VerificationStatus;
565
+ unknownReason?: UnknownReason;
566
+ /**
567
+ * Normalized, bounded JSON projection of the matched state.
568
+ */
569
+ observedJson?: string;
570
+ };
571
+ /**
572
+ * Generated factory for {@link PredicateOutcome} record objects.
573
+ */
574
+ export declare const PredicateOutcome: Readonly<{
575
+ create: (partial: Partial<PredicateOutcome> & Required<Omit<PredicateOutcome, "unknownReason" | "observedJson">>) => PredicateOutcome;
576
+ new: (partial: Partial<PredicateOutcome> & Required<Omit<PredicateOutcome, "unknownReason" | "observedJson">>) => PredicateOutcome;
577
+ defaults: () => Partial<PredicateOutcome>;
578
+ }>;
314
579
  export type PressKeyInput = {
315
580
  key: string;
316
581
  scope: DesktopScope;
@@ -467,6 +732,26 @@ export declare const SetAgentCursorThemeOutput: Readonly<{
467
732
  new: (partial: Partial<SetAgentCursorThemeOutput> & Required<Omit<SetAgentCursorThemeOutput, never>>) => SetAgentCursorThemeOutput;
468
733
  defaults: () => Partial<SetAgentCursorThemeOutput>;
469
734
  }>;
735
+ export type SetWindowFrameInput = {
736
+ pid: number;
737
+ windowId: bigint;
738
+ x: number;
739
+ y: number;
740
+ width: number;
741
+ height: number;
742
+ /**
743
+ * Optional session id.
744
+ */
745
+ session?: string;
746
+ };
747
+ /**
748
+ * Generated factory for {@link SetWindowFrameInput} record objects.
749
+ */
750
+ export declare const SetWindowFrameInput: Readonly<{
751
+ create: (partial: Partial<SetWindowFrameInput> & Required<Omit<SetWindowFrameInput, "session">>) => SetWindowFrameInput;
752
+ new: (partial: Partial<SetWindowFrameInput> & Required<Omit<SetWindowFrameInput, "session">>) => SetWindowFrameInput;
753
+ defaults: () => Partial<SetWindowFrameInput>;
754
+ }>;
470
755
  export type StartSessionInput = {
471
756
  /**
472
757
  * Stable session id for this run (e.g. "research-run-1").
@@ -506,6 +791,30 @@ export declare const StartSessionOutput: Readonly<{
506
791
  new: (partial: Partial<StartSessionOutput> & Required<Omit<StartSessionOutput, never>>) => StartSessionOutput;
507
792
  defaults: () => Partial<StartSessionOutput>;
508
793
  }>;
794
+ export type WindowPredicate = {
795
+ exists?: boolean;
796
+ bounds?: BoundsExpectation;
797
+ };
798
+ /**
799
+ * Generated factory for {@link WindowPredicate} record objects.
800
+ */
801
+ export declare const WindowPredicate: Readonly<{
802
+ create: (partial: Partial<WindowPredicate> & Required<Omit<WindowPredicate, "exists" | "bounds">>) => WindowPredicate;
803
+ new: (partial: Partial<WindowPredicate> & Required<Omit<WindowPredicate, "exists" | "bounds">>) => WindowPredicate;
804
+ defaults: () => Partial<WindowPredicate>;
805
+ }>;
806
+ export type StatePredicate = {
807
+ window?: WindowPredicate;
808
+ element?: ElementPredicate;
809
+ };
810
+ /**
811
+ * Generated factory for {@link StatePredicate} record objects.
812
+ */
813
+ export declare const StatePredicate: Readonly<{
814
+ create: (partial: Partial<StatePredicate> & Required<Omit<StatePredicate, "window" | "element">>) => StatePredicate;
815
+ new: (partial: Partial<StatePredicate> & Required<Omit<StatePredicate, "window" | "element">>) => StatePredicate;
816
+ defaults: () => Partial<StatePredicate>;
817
+ }>;
509
818
  export type TypeTextInput = {
510
819
  text: string;
511
820
  scope: DesktopScope;
@@ -522,6 +831,60 @@ export declare const TypeTextInput: Readonly<{
522
831
  new: (partial: Partial<TypeTextInput> & Required<Omit<TypeTextInput, "session">>) => TypeTextInput;
523
832
  defaults: () => Partial<TypeTextInput>;
524
833
  }>;
834
+ export type VerifyStateInput = {
835
+ /**
836
+ * Exact process whose window may be observed.
837
+ */
838
+ pid: bigint;
839
+ /**
840
+ * Exact native window identifier.
841
+ */
842
+ windowId: bigint;
843
+ /**
844
+ * One to eight predicates, combined with logical AND.
845
+ */
846
+ expect: Array<StatePredicate>;
847
+ /**
848
+ * Optional session id for capture-scope and authorization continuity.
849
+ */
850
+ session?: string;
851
+ /**
852
+ * Bounded wait. Zero performs one sample.
853
+ */
854
+ timeoutMs?: bigint;
855
+ /**
856
+ * Consecutive satisfied samples required before returning success.
857
+ */
858
+ stableSamples?: bigint;
859
+ /**
860
+ * Return the final window screenshot as image content for a multimodal
861
+ * caller. The driver does not interpret that image.
862
+ */
863
+ includeScreenshot?: boolean;
864
+ };
865
+ /**
866
+ * Generated factory for {@link VerifyStateInput} record objects.
867
+ */
868
+ export declare const VerifyStateInput: Readonly<{
869
+ create: (partial: Partial<VerifyStateInput> & Required<Omit<VerifyStateInput, "session" | "timeoutMs" | "stableSamples" | "includeScreenshot">>) => VerifyStateInput;
870
+ new: (partial: Partial<VerifyStateInput> & Required<Omit<VerifyStateInput, "session" | "timeoutMs" | "stableSamples" | "includeScreenshot">>) => VerifyStateInput;
871
+ defaults: () => Partial<VerifyStateInput>;
872
+ }>;
873
+ export type VerifyStateOutput = {
874
+ status: VerificationStatus;
875
+ stable: boolean;
876
+ elapsedMs: bigint;
877
+ samples: bigint;
878
+ predicates: Array<PredicateOutcome>;
879
+ };
880
+ /**
881
+ * Generated factory for {@link VerifyStateOutput} record objects.
882
+ */
883
+ export declare const VerifyStateOutput: Readonly<{
884
+ create: (partial: Partial<VerifyStateOutput> & Required<Omit<VerifyStateOutput, never>>) => VerifyStateOutput;
885
+ new: (partial: Partial<VerifyStateOutput> & Required<Omit<VerifyStateOutput, never>>) => VerifyStateOutput;
886
+ defaults: () => Partial<VerifyStateOutput>;
887
+ }>;
525
888
  export declare enum Platform {
526
889
  Macos = 0,
527
890
  Windows = 1,
@@ -541,6 +904,83 @@ declare function uniffiEnsureInitialized(): void;
541
904
  declare const _default: Readonly<{
542
905
  initialize: typeof uniffiEnsureInitialized;
543
906
  converters: {
907
+ FfiConverterTypeActionDelivery: {
908
+ read(from: RustBuffer): ActionDelivery;
909
+ write(value: ActionDelivery, into: RustBuffer): void;
910
+ allocationSize(value: ActionDelivery): number;
911
+ lift(value: UniffiByteArray): ActionDelivery;
912
+ lower(value: ActionDelivery, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
913
+ };
914
+ FfiConverterTypeActionDeliveryMode: {
915
+ read(from: RustBuffer): ActionDeliveryMode;
916
+ write(value: ActionDeliveryMode, into: RustBuffer): void;
917
+ allocationSize(value: ActionDeliveryMode): number;
918
+ lift(value: UniffiByteArray): ActionDeliveryMode;
919
+ lower(value: ActionDeliveryMode, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
920
+ };
921
+ FfiConverterTypeActionEffect: {
922
+ read(from: RustBuffer): ActionEffect;
923
+ write(value: ActionEffect, into: RustBuffer): void;
924
+ allocationSize(value: ActionEffect): number;
925
+ lift(value: UniffiByteArray): ActionEffect;
926
+ lower(value: ActionEffect, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
927
+ };
928
+ FfiConverterTypeActionEscalation: {
929
+ read(from: RustBuffer): ActionEscalation;
930
+ write(value: ActionEscalation, into: RustBuffer): void;
931
+ allocationSize(value: ActionEscalation): number;
932
+ lift(value: UniffiByteArray): ActionEscalation;
933
+ lower(value: ActionEscalation, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
934
+ };
935
+ FfiConverterTypeActionEscalationReason: {
936
+ read(from: RustBuffer): ActionEscalationReason;
937
+ write(value: ActionEscalationReason, into: RustBuffer): void;
938
+ allocationSize(value: ActionEscalationReason): number;
939
+ lift(value: UniffiByteArray): ActionEscalationReason;
940
+ lower(value: ActionEscalationReason, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
941
+ };
942
+ FfiConverterTypeActionEscalationTarget: {
943
+ read(from: RustBuffer): ActionEscalationTarget;
944
+ write(value: ActionEscalationTarget, into: RustBuffer): void;
945
+ allocationSize(value: ActionEscalationTarget): number;
946
+ lift(value: UniffiByteArray): ActionEscalationTarget;
947
+ lower(value: ActionEscalationTarget, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
948
+ };
949
+ FfiConverterTypeActionEvidence: {
950
+ read(from: RustBuffer): ActionEvidence;
951
+ write(value: ActionEvidence, into: RustBuffer): void;
952
+ allocationSize(value: ActionEvidence): number;
953
+ lift(value: UniffiByteArray): ActionEvidence;
954
+ lower(value: ActionEvidence, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
955
+ };
956
+ FfiConverterTypeActionEvidenceKind: {
957
+ read(from: RustBuffer): ActionEvidenceKind;
958
+ write(value: ActionEvidenceKind, into: RustBuffer): void;
959
+ allocationSize(value: ActionEvidenceKind): number;
960
+ lift(value: UniffiByteArray): ActionEvidenceKind;
961
+ lower(value: ActionEvidenceKind, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
962
+ };
963
+ FfiConverterTypeActionResult: {
964
+ read(from: RustBuffer): ActionResult;
965
+ write(value: ActionResult, into: RustBuffer): void;
966
+ allocationSize(value: ActionResult): number;
967
+ lift(value: UniffiByteArray): ActionResult;
968
+ lower(value: ActionResult, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
969
+ };
970
+ FfiConverterTypeActionRoute: {
971
+ read(from: RustBuffer): ActionRoute;
972
+ write(value: ActionRoute, into: RustBuffer): void;
973
+ allocationSize(value: ActionRoute): number;
974
+ lift(value: UniffiByteArray): ActionRoute;
975
+ lower(value: ActionRoute, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
976
+ };
977
+ FfiConverterTypeBoundsExpectation: {
978
+ read(from: RustBuffer): BoundsExpectation;
979
+ write(value: BoundsExpectation, into: RustBuffer): void;
980
+ allocationSize(value: BoundsExpectation): number;
981
+ lift(value: UniffiByteArray): BoundsExpectation;
982
+ lower(value: BoundsExpectation, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
983
+ };
544
984
  FfiConverterTypeCaptureScope: {
545
985
  read(from: RustBuffer): CaptureScope;
546
986
  write(value: CaptureScope, into: RustBuffer): void;
@@ -562,6 +1002,34 @@ declare const _default: Readonly<{
562
1002
  lift(value: UniffiByteArray): ClickInput;
563
1003
  lower(value: ClickInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
564
1004
  };
1005
+ FfiConverterTypeClipboardReadInput: {
1006
+ read(from: RustBuffer): ClipboardReadInput;
1007
+ write(value: ClipboardReadInput, into: RustBuffer): void;
1008
+ allocationSize(value: ClipboardReadInput): number;
1009
+ lift(value: UniffiByteArray): ClipboardReadInput;
1010
+ lower(value: ClipboardReadInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1011
+ };
1012
+ FfiConverterTypeClipboardReadOutput: {
1013
+ read(from: RustBuffer): ClipboardReadOutput;
1014
+ write(value: ClipboardReadOutput, into: RustBuffer): void;
1015
+ allocationSize(value: ClipboardReadOutput): number;
1016
+ lift(value: UniffiByteArray): ClipboardReadOutput;
1017
+ lower(value: ClipboardReadOutput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1018
+ };
1019
+ FfiConverterTypeClipboardWriteInput: {
1020
+ read(from: RustBuffer): ClipboardWriteInput;
1021
+ write(value: ClipboardWriteInput, into: RustBuffer): void;
1022
+ allocationSize(value: ClipboardWriteInput): number;
1023
+ lift(value: UniffiByteArray): ClipboardWriteInput;
1024
+ lower(value: ClipboardWriteInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1025
+ };
1026
+ FfiConverterTypeClipboardWriteOutput: {
1027
+ read(from: RustBuffer): ClipboardWriteOutput;
1028
+ write(value: ClipboardWriteOutput, into: RustBuffer): void;
1029
+ allocationSize(value: ClipboardWriteOutput): number;
1030
+ lift(value: UniffiByteArray): ClipboardWriteOutput;
1031
+ lower(value: ClipboardWriteOutput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1032
+ };
565
1033
  FfiConverterTypeCursorAction: {
566
1034
  read(from: RustBuffer): CursorAction;
567
1035
  write(value: CursorAction, into: RustBuffer): void;
@@ -632,6 +1100,20 @@ declare const _default: Readonly<{
632
1100
  lift(value: UniffiByteArray): EffectiveScope;
633
1101
  lower(value: EffectiveScope, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
634
1102
  };
1103
+ FfiConverterTypeElementPredicate: {
1104
+ read(from: RustBuffer): ElementPredicate;
1105
+ write(value: ElementPredicate, into: RustBuffer): void;
1106
+ allocationSize(value: ElementPredicate): number;
1107
+ lift(value: UniffiByteArray): ElementPredicate;
1108
+ lower(value: ElementPredicate, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1109
+ };
1110
+ FfiConverterTypeElementSelector: {
1111
+ read(from: RustBuffer): ElementSelector;
1112
+ write(value: ElementSelector, into: RustBuffer): void;
1113
+ allocationSize(value: ElementSelector): number;
1114
+ lift(value: UniffiByteArray): ElementSelector;
1115
+ lower(value: ElementSelector, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1116
+ };
635
1117
  FfiConverterTypeEndSessionInput: {
636
1118
  read(from: RustBuffer): EndSessionInput;
637
1119
  write(value: EndSessionInput, into: RustBuffer): void;
@@ -709,6 +1191,13 @@ declare const _default: Readonly<{
709
1191
  lift(value: UniffiByteArray): HotkeyInput;
710
1192
  lower(value: HotkeyInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
711
1193
  };
1194
+ FfiConverterTypeInvokeMenuInput: {
1195
+ read(from: RustBuffer): InvokeMenuInput;
1196
+ write(value: InvokeMenuInput, into: RustBuffer): void;
1197
+ allocationSize(value: InvokeMenuInput): number;
1198
+ lift(value: UniffiByteArray): InvokeMenuInput;
1199
+ lower(value: InvokeMenuInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1200
+ };
712
1201
  FfiConverterTypeMoveCursorInput: {
713
1202
  read(from: RustBuffer): MoveCursorInput;
714
1203
  write(value: MoveCursorInput, into: RustBuffer): void;
@@ -723,6 +1212,13 @@ declare const _default: Readonly<{
723
1212
  lift(value: UniffiByteArray): Platform;
724
1213
  lower(value: Platform, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
725
1214
  };
1215
+ FfiConverterTypePredicateOutcome: {
1216
+ read(from: RustBuffer): PredicateOutcome;
1217
+ write(value: PredicateOutcome, into: RustBuffer): void;
1218
+ allocationSize(value: PredicateOutcome): number;
1219
+ lift(value: UniffiByteArray): PredicateOutcome;
1220
+ lower(value: PredicateOutcome, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1221
+ };
726
1222
  FfiConverterTypePressKeyInput: {
727
1223
  read(from: RustBuffer): PressKeyInput;
728
1224
  write(value: PressKeyInput, into: RustBuffer): void;
@@ -800,6 +1296,13 @@ declare const _default: Readonly<{
800
1296
  lift(value: UniffiByteArray): SetAgentCursorThemeOutput;
801
1297
  lower(value: SetAgentCursorThemeOutput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
802
1298
  };
1299
+ FfiConverterTypeSetWindowFrameInput: {
1300
+ read(from: RustBuffer): SetWindowFrameInput;
1301
+ write(value: SetWindowFrameInput, into: RustBuffer): void;
1302
+ allocationSize(value: SetWindowFrameInput): number;
1303
+ lift(value: UniffiByteArray): SetWindowFrameInput;
1304
+ lower(value: SetWindowFrameInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1305
+ };
803
1306
  FfiConverterTypeStartSessionInput: {
804
1307
  read(from: RustBuffer): StartSessionInput;
805
1308
  write(value: StartSessionInput, into: RustBuffer): void;
@@ -814,6 +1317,13 @@ declare const _default: Readonly<{
814
1317
  lift(value: UniffiByteArray): StartSessionOutput;
815
1318
  lower(value: StartSessionOutput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
816
1319
  };
1320
+ FfiConverterTypeStatePredicate: {
1321
+ read(from: RustBuffer): StatePredicate;
1322
+ write(value: StatePredicate, into: RustBuffer): void;
1323
+ allocationSize(value: StatePredicate): number;
1324
+ lift(value: UniffiByteArray): StatePredicate;
1325
+ lower(value: StatePredicate, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1326
+ };
817
1327
  FfiConverterTypeTypeTextInput: {
818
1328
  read(from: RustBuffer): TypeTextInput;
819
1329
  write(value: TypeTextInput, into: RustBuffer): void;
@@ -821,6 +1331,41 @@ declare const _default: Readonly<{
821
1331
  lift(value: UniffiByteArray): TypeTextInput;
822
1332
  lower(value: TypeTextInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
823
1333
  };
1334
+ FfiConverterTypeUnknownReason: {
1335
+ read(from: RustBuffer): UnknownReason;
1336
+ write(value: UnknownReason, into: RustBuffer): void;
1337
+ allocationSize(value: UnknownReason): number;
1338
+ lift(value: UniffiByteArray): UnknownReason;
1339
+ lower(value: UnknownReason, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1340
+ };
1341
+ FfiConverterTypeVerificationStatus: {
1342
+ read(from: RustBuffer): VerificationStatus;
1343
+ write(value: VerificationStatus, into: RustBuffer): void;
1344
+ allocationSize(value: VerificationStatus): number;
1345
+ lift(value: UniffiByteArray): VerificationStatus;
1346
+ lower(value: VerificationStatus, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1347
+ };
1348
+ FfiConverterTypeVerifyStateInput: {
1349
+ read(from: RustBuffer): VerifyStateInput;
1350
+ write(value: VerifyStateInput, into: RustBuffer): void;
1351
+ allocationSize(value: VerifyStateInput): number;
1352
+ lift(value: UniffiByteArray): VerifyStateInput;
1353
+ lower(value: VerifyStateInput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1354
+ };
1355
+ FfiConverterTypeVerifyStateOutput: {
1356
+ read(from: RustBuffer): VerifyStateOutput;
1357
+ write(value: VerifyStateOutput, into: RustBuffer): void;
1358
+ allocationSize(value: VerifyStateOutput): number;
1359
+ lift(value: UniffiByteArray): VerifyStateOutput;
1360
+ lower(value: VerifyStateOutput, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1361
+ };
1362
+ FfiConverterTypeWindowPredicate: {
1363
+ read(from: RustBuffer): WindowPredicate;
1364
+ write(value: WindowPredicate, into: RustBuffer): void;
1365
+ allocationSize(value: WindowPredicate): number;
1366
+ lift(value: UniffiByteArray): WindowPredicate;
1367
+ lower(value: WindowPredicate, alloc: import("@ubjs/core").RustBufferAllocator): UniffiByteArray;
1368
+ };
824
1369
  };
825
1370
  }>;
826
1371
  export default _default;