@qontinui/ui-bridge-native 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/control/{index.d.mts → action-executor.d.ts} +6 -10
  2. package/dist/control/action-executor.d.ts.map +1 -0
  3. package/dist/control/index.d.ts +5 -91
  4. package/dist/control/index.d.ts.map +1 -0
  5. package/dist/control/index.js +1 -1
  6. package/dist/control/index.js.map +1 -1
  7. package/dist/control/index.mjs +1 -1
  8. package/dist/control/index.mjs.map +1 -1
  9. package/dist/{types-BCYWwyVy.d.ts → control/types.d.ts} +17 -18
  10. package/dist/control/types.d.ts.map +1 -0
  11. package/dist/core/element-identifier.d.ts +41 -0
  12. package/dist/core/element-identifier.d.ts.map +1 -0
  13. package/dist/core/index.d.ts +6 -43
  14. package/dist/core/index.d.ts.map +1 -0
  15. package/dist/{registry-B8A_EoxS.d.ts → core/registry.d.ts} +10 -13
  16. package/dist/core/registry.d.ts.map +1 -0
  17. package/dist/{types-BPNuYxDx.d.ts → core/types.d.ts} +30 -30
  18. package/dist/core/types.d.ts.map +1 -0
  19. package/dist/debug/index.d.ts +4 -44
  20. package/dist/debug/index.d.ts.map +1 -0
  21. package/dist/debug/index.js.map +1 -1
  22. package/dist/debug/index.mjs.map +1 -1
  23. package/dist/debug/{index.d.mts → inspector.d.ts} +3 -6
  24. package/dist/debug/inspector.d.ts.map +1 -0
  25. package/dist/design/{index.d.mts → design-inspector-native.d.ts} +7 -11
  26. package/dist/design/design-inspector-native.d.ts.map +1 -0
  27. package/dist/{design-types-BHr6Q1FX.d.ts → design/design-types.d.ts} +10 -11
  28. package/dist/design/design-types.d.ts.map +1 -0
  29. package/dist/design/index.d.ts +5 -60
  30. package/dist/design/index.d.ts.map +1 -0
  31. package/dist/index.d.ts +28 -86
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +107 -4
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +107 -4
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/react/UIBridgeNativeProvider.d.ts +147 -0
  38. package/dist/react/UIBridgeNativeProvider.d.ts.map +1 -0
  39. package/dist/react/index.d.ts +8 -69
  40. package/dist/react/index.d.ts.map +1 -0
  41. package/dist/react/index.js +116 -4
  42. package/dist/react/index.js.map +1 -1
  43. package/dist/react/index.mjs +116 -4
  44. package/dist/react/index.mjs.map +1 -1
  45. package/dist/react/{index.d.mts → useAutoRegister.d.ts} +7 -15
  46. package/dist/react/useAutoRegister.d.ts.map +1 -0
  47. package/dist/react/useUIBridge.d.ts +103 -0
  48. package/dist/react/useUIBridge.d.ts.map +1 -0
  49. package/dist/react/useUIComponent.d.ts +112 -0
  50. package/dist/react/useUIComponent.d.ts.map +1 -0
  51. package/dist/react/useUIElement.d.ts +162 -0
  52. package/dist/react/useUIElement.d.ts.map +1 -0
  53. package/dist/server/design-handlers.d.ts +47 -0
  54. package/dist/server/design-handlers.d.ts.map +1 -0
  55. package/dist/server/handlers.d.ts +20 -0
  56. package/dist/server/handlers.d.ts.map +1 -0
  57. package/dist/server/http-server.d.ts +247 -0
  58. package/dist/server/http-server.d.ts.map +1 -0
  59. package/dist/server/index.d.ts +13 -117
  60. package/dist/server/index.d.ts.map +1 -0
  61. package/dist/server/index.js +102 -1
  62. package/dist/server/index.js.map +1 -1
  63. package/dist/server/index.mjs +102 -1
  64. package/dist/server/index.mjs.map +1 -1
  65. package/dist/server/types.d.ts +200 -0
  66. package/dist/server/types.d.ts.map +1 -0
  67. package/dist/server/ws-connection.d.ts +48 -0
  68. package/dist/server/ws-connection.d.ts.map +1 -0
  69. package/dist/server/ws-event-bridge.d.ts +113 -0
  70. package/dist/server/ws-event-bridge.d.ts.map +1 -0
  71. package/dist/server/ws-protocol.d.ts +48 -0
  72. package/dist/server/ws-protocol.d.ts.map +1 -0
  73. package/dist/server/ws-types.d.ts +65 -0
  74. package/dist/server/ws-types.d.ts.map +1 -0
  75. package/dist/transport/CloudRelayClient.d.ts +51 -0
  76. package/dist/transport/CloudRelayClient.d.ts.map +1 -0
  77. package/dist/transport/DeviceAnnouncer.d.ts +75 -0
  78. package/dist/transport/DeviceAnnouncer.d.ts.map +1 -0
  79. package/dist/transport/index.d.ts +3 -0
  80. package/dist/transport/index.d.ts.map +1 -0
  81. package/package.json +1 -1
  82. package/dist/core/index.d.mts +0 -46
  83. package/dist/design-types-BHr6Q1FX.d.mts +0 -205
  84. package/dist/http-server-B7KudcYJ.d.ts +0 -622
  85. package/dist/http-server-D7uVANBU.d.mts +0 -622
  86. package/dist/index.d.mts +0 -89
  87. package/dist/registry-DhbGbl9c.d.mts +0 -215
  88. package/dist/server/index.d.mts +0 -119
  89. package/dist/types-BPNuYxDx.d.mts +0 -383
  90. package/dist/types-Bcj7ji97.d.mts +0 -177
  91. package/dist/useUIBridge-CDZbWxII.d.ts +0 -571
  92. package/dist/useUIBridge-DfIEq9EQ.d.mts +0 -571
@@ -1,383 +0,0 @@
1
- /**
2
- * UI Bridge Native Core Types
3
- *
4
- * Defines the fundamental types used throughout the UI Bridge Native framework.
5
- * Adapted from ui-bridge for React Native environments.
6
- */
7
- type AnyNativeElement = any;
8
- interface WaitOptions {
9
- /** Wait for element to be visible */
10
- visible?: boolean;
11
- /** Wait for element to be enabled */
12
- enabled?: boolean;
13
- /** Wait for element to have focus */
14
- focused?: boolean;
15
- /** Wait for element state to match */
16
- state?: Record<string, unknown>;
17
- /** Timeout in milliseconds */
18
- timeout?: number;
19
- /** Polling interval in milliseconds */
20
- interval?: number;
21
- }
22
- type ActionHandler<TParams = unknown, TResult = unknown> = (params?: TParams) => TResult | Promise<TResult>;
23
- interface CustomAction<TParams = unknown, TResult = unknown> {
24
- id: string;
25
- label?: string;
26
- description?: string;
27
- handler: ActionHandler<TParams, TResult>;
28
- }
29
- interface ComponentAction<TParams = unknown, TResult = unknown> {
30
- id: string;
31
- label?: string;
32
- description?: string;
33
- paramSchema?: Record<string, unknown>;
34
- handler: ActionHandler<TParams, TResult>;
35
- }
36
- type WorkflowStepType = 'element-action' | 'component-action' | 'wait' | 'assert' | 'navigate' | 'branch' | 'loop' | 'extract' | 'log' | 'custom';
37
- interface WorkflowStep {
38
- id: string;
39
- type: WorkflowStepType;
40
- target?: string;
41
- action?: string;
42
- params?: Record<string, unknown>;
43
- waitOptions?: WaitOptions;
44
- handler?: () => unknown | Promise<unknown>;
45
- }
46
- interface Workflow {
47
- id: string;
48
- name: string;
49
- description?: string;
50
- steps: WorkflowStep[];
51
- defaultParams?: Record<string, unknown>;
52
- }
53
- type BridgeEventType = 'element:registered' | 'element:unregistered' | 'element:stateChanged' | 'component:registered' | 'component:unregistered' | 'action:started' | 'action:completed' | 'action:failed' | 'workflow:started' | 'workflow:stepCompleted' | 'workflow:completed' | 'workflow:failed' | 'render:snapshot' | 'error';
54
- interface BridgeEvent<T = unknown> {
55
- type: BridgeEventType;
56
- timestamp: number;
57
- data: T;
58
- }
59
- type BridgeEventListener<T = unknown> = (event: BridgeEvent<T>) => void;
60
- /**
61
- * React Native element reference type.
62
- * Uses a generic type to avoid conflicts between different react-native versions.
63
- */
64
- type NativeElementRef = AnyNativeElement | null;
65
- /**
66
- * Element identification for React Native (replaces XPath/CSS selectors)
67
- */
68
- interface NativeElementIdentifier {
69
- /** Explicit UI Bridge identifier */
70
- uiId?: string;
71
- /** React Native testID prop */
72
- testId?: string;
73
- /** Accessibility label */
74
- accessibilityLabel?: string;
75
- /** Accessibility hint */
76
- accessibilityHint?: string;
77
- /** Tree path for element (e.g., "App/HomeScreen/Button[0]") */
78
- treePath: string;
79
- /** Native handle (platform-specific) */
80
- nativeHandle?: number;
81
- }
82
- /**
83
- * Layout information from onLayout callback
84
- */
85
- interface NativeLayout {
86
- /** X position relative to parent */
87
- x: number;
88
- /** Y position relative to parent */
89
- y: number;
90
- /** Element width */
91
- width: number;
92
- /** Element height */
93
- height: number;
94
- /** Absolute X position on screen (from measureInWindow) */
95
- pageX: number;
96
- /** Absolute Y position on screen (from measureInWindow) */
97
- pageY: number;
98
- }
99
- /**
100
- * Current state of a native UI element
101
- */
102
- interface NativeElementState {
103
- /** Whether the element is mounted in the tree */
104
- mounted: boolean;
105
- /** Whether the element is visible on screen */
106
- visible: boolean;
107
- /** Whether the element is enabled (not disabled) */
108
- enabled: boolean;
109
- /** Whether the element has focus */
110
- focused: boolean;
111
- /** Layout information */
112
- layout: NativeLayout | null;
113
- /** Current value for text inputs */
114
- value?: string;
115
- /** Selected state for toggles/checkboxes */
116
- selected?: boolean;
117
- /** Checked state for checkboxes/radios */
118
- checked?: boolean;
119
- /** Text content of the element */
120
- textContent?: string;
121
- /** Additional accessibility state */
122
- accessibilityState?: {
123
- disabled?: boolean;
124
- selected?: boolean;
125
- checked?: boolean | 'mixed';
126
- busy?: boolean;
127
- expanded?: boolean;
128
- };
129
- }
130
- /**
131
- * Types of native UI elements that can be registered
132
- */
133
- type NativeElementType = 'button' | 'input' | 'text' | 'view' | 'scroll' | 'list' | 'listItem' | 'switch' | 'checkbox' | 'radio' | 'image' | 'touchable' | 'pressable' | 'modal' | 'custom';
134
- /**
135
- * Standard actions available on native elements
136
- */
137
- type NativeStandardAction = 'press' | 'click' | 'longPress' | 'doubleTap' | 'type' | 'clear' | 'focus' | 'blur' | 'scroll' | 'swipe' | 'toggle';
138
- /**
139
- * Custom action definition for native elements
140
- */
141
- interface NativeCustomAction<TParams = unknown, TResult = unknown> {
142
- /** Action identifier */
143
- id: string;
144
- /** Human-readable label */
145
- label?: string;
146
- /** Description of what the action does */
147
- description?: string;
148
- /** Action handler function */
149
- handler: (params?: TParams) => TResult | Promise<TResult>;
150
- }
151
- /**
152
- * A native UI element registered with the bridge
153
- */
154
- interface RegisteredNativeElement {
155
- /** Unique identifier for this element */
156
- id: string;
157
- /** Reference to the native element */
158
- ref: React.RefObject<NativeElementRef>;
159
- /** Type of UI element */
160
- type: NativeElementType;
161
- /** Human-readable label */
162
- label?: string;
163
- /** Available standard actions for this element */
164
- actions: NativeStandardAction[];
165
- /** Custom actions specific to this element */
166
- customActions?: Record<string, NativeCustomAction>;
167
- /** Props passed to the element (for action execution) */
168
- props?: Record<string, unknown>;
169
- /** Function to get the current state */
170
- getState: () => NativeElementState;
171
- /** Function to get the element identifier */
172
- getIdentifier: () => NativeElementIdentifier;
173
- /** Timestamp when the element was registered */
174
- registeredAt: number;
175
- /** Whether this element is currently mounted */
176
- mounted: boolean;
177
- /** Route path where this element was registered (for page-scoped filtering) */
178
- registrationRoute?: string | null;
179
- /** Flattened RN style for design review */
180
- flatStyle?: Record<string, unknown>;
181
- /** State-specific style overrides (pressed, focused, disabled) */
182
- stateStyles?: {
183
- pressed?: Record<string, unknown>;
184
- focused?: Record<string, unknown>;
185
- disabled?: Record<string, unknown>;
186
- };
187
- }
188
- /**
189
- * Component action definition for native components
190
- */
191
- interface NativeComponentAction<TParams = unknown, TResult = unknown> {
192
- /** Action identifier */
193
- id: string;
194
- /** Human-readable label */
195
- label?: string;
196
- /** Description of what the action does */
197
- description?: string;
198
- /** Parameter schema (for documentation/validation) */
199
- paramSchema?: Record<string, unknown>;
200
- /** Action handler function */
201
- handler: (params?: TParams) => TResult | Promise<TResult>;
202
- }
203
- /**
204
- * A native component registered with the bridge (higher-level than elements)
205
- */
206
- interface RegisteredNativeComponent {
207
- /** Unique identifier for this component */
208
- id: string;
209
- /** Human-readable name */
210
- name: string;
211
- /** Description of the component's purpose */
212
- description?: string;
213
- /** Available actions on this component */
214
- actions: NativeComponentAction[];
215
- /** Child element IDs owned by this component */
216
- elementIds?: string[];
217
- /** Timestamp when the component was registered */
218
- registeredAt: number;
219
- /** Whether this component is currently mounted */
220
- mounted: boolean;
221
- }
222
- /**
223
- * Action request for native elements
224
- */
225
- interface NativeActionRequest {
226
- /** Action to execute */
227
- action: NativeStandardAction | string;
228
- /** Action parameters */
229
- params?: {
230
- /** Text to type */
231
- text?: string;
232
- /** Scroll offset */
233
- offset?: {
234
- x: number;
235
- y: number;
236
- };
237
- /** Swipe direction */
238
- direction?: 'up' | 'down' | 'left' | 'right';
239
- /** Duration in milliseconds */
240
- duration?: number;
241
- /** Additional custom parameters */
242
- [key: string]: unknown;
243
- };
244
- /** Wait options before executing */
245
- waitOptions?: WaitOptions;
246
- }
247
- /**
248
- * Response from a native action execution
249
- */
250
- interface NativeActionResponse {
251
- /** Whether the action succeeded */
252
- success: boolean;
253
- /** Element state after the action */
254
- elementState?: NativeElementState;
255
- /** Result of the action (for custom actions) */
256
- result?: unknown;
257
- /** Error message if failed */
258
- error?: string;
259
- /** Stack trace if failed */
260
- stack?: string;
261
- /** Duration of the action in milliseconds */
262
- durationMs: number;
263
- /** Timestamp when the action completed */
264
- timestamp: number;
265
- /** Request ID for correlation */
266
- requestId?: string;
267
- /** Time spent waiting for conditions */
268
- waitDurationMs?: number;
269
- }
270
- /**
271
- * Snapshot of the entire native UI bridge state
272
- */
273
- interface NativeBridgeSnapshot {
274
- /** Timestamp of the snapshot */
275
- timestamp: number;
276
- /** All registered elements */
277
- elements: Array<{
278
- id: string;
279
- type: NativeElementType;
280
- label?: string;
281
- identifier: NativeElementIdentifier;
282
- state: NativeElementState;
283
- actions: NativeStandardAction[];
284
- customActions?: string[];
285
- /** Handler names actually registered via updateElementProps (e.g. ['onPress', 'onChangeText']) */
286
- registeredHandlers?: string[];
287
- /** Route path where this element was registered (for page-scoped filtering) */
288
- registrationRoute?: string | null;
289
- }>;
290
- /** All registered components */
291
- components: Array<{
292
- id: string;
293
- name: string;
294
- description?: string;
295
- actions: string[];
296
- elementIds?: string[];
297
- }>;
298
- /** Available workflows */
299
- workflows: Array<{
300
- id: string;
301
- name: string;
302
- description?: string;
303
- stepCount: number;
304
- }>;
305
- /** Current navigation route path (if a RouteProvider is configured) */
306
- currentRoute?: string | null;
307
- /** Current route segments (if a RouteProvider is configured) */
308
- segments?: string[];
309
- }
310
- /**
311
- * UI Bridge Native feature flags
312
- */
313
- interface NativeUIBridgeFeatures {
314
- /** Enable HTTP control server */
315
- server?: boolean;
316
- /** Enable debug tools (inspector overlay) */
317
- debug?: boolean;
318
- }
319
- /**
320
- * UI Bridge Native configuration
321
- */
322
- interface NativeUIBridgeConfig {
323
- /** Port for HTTP server */
324
- serverPort?: number;
325
- /** Enable verbose logging */
326
- verbose?: boolean;
327
- /** Path prefix for parent components (for treePath generation) */
328
- parentPath?: string;
329
- /** Application info for discovery */
330
- appInfo?: {
331
- appId: string;
332
- appName: string;
333
- appType: 'web' | 'desktop' | 'mobile' | 'other';
334
- framework?: string;
335
- };
336
- }
337
- /**
338
- * Find request for discovering native elements
339
- */
340
- interface NativeFindRequest {
341
- /** Filter by element type */
342
- types?: NativeElementType[];
343
- /** Filter by testID pattern (supports wildcards) */
344
- testIdPattern?: string;
345
- /** Filter by accessibility label pattern */
346
- accessibilityLabelPattern?: string;
347
- /** Include only visible elements */
348
- visibleOnly?: boolean;
349
- /** Maximum number of results */
350
- limit?: number;
351
- }
352
- /**
353
- * Discovered native element
354
- */
355
- interface DiscoveredNativeElement {
356
- /** Element ID */
357
- id: string;
358
- /** Element type */
359
- type: NativeElementType;
360
- /** Element identifier */
361
- identifier: NativeElementIdentifier;
362
- /** Current state */
363
- state: NativeElementState;
364
- /** Available actions */
365
- actions: NativeStandardAction[];
366
- /** Label */
367
- label?: string;
368
- }
369
- /**
370
- * Find response
371
- */
372
- interface NativeFindResponse {
373
- /** Discovered elements */
374
- elements: DiscoveredNativeElement[];
375
- /** Total count */
376
- total: number;
377
- /** Duration in milliseconds */
378
- durationMs: number;
379
- /** Timestamp */
380
- timestamp: number;
381
- }
382
-
383
- export type { ActionHandler as A, BridgeEvent as B, ComponentAction as C, DiscoveredNativeElement as D, NativeActionRequest as N, RegisteredNativeComponent as R, WaitOptions as W, BridgeEventListener as a, BridgeEventType as b, CustomAction as c, NativeActionResponse as d, NativeBridgeSnapshot as e, NativeComponentAction as f, NativeCustomAction as g, NativeElementIdentifier as h, NativeElementRef as i, NativeElementState as j, NativeElementType as k, NativeFindRequest as l, NativeFindResponse as m, NativeLayout as n, NativeStandardAction as o, NativeUIBridgeConfig as p, NativeUIBridgeFeatures as q, RegisteredNativeElement as r, Workflow as s, WorkflowStep as t, WorkflowStepType as u };
@@ -1,177 +0,0 @@
1
- import { W as WaitOptions, N as NativeActionRequest, d as NativeActionResponse, l as NativeFindRequest, m as NativeFindResponse, j as NativeElementState } from './types-BPNuYxDx.mjs';
2
-
3
- /**
4
- * UI Bridge Native Control Types
5
- *
6
- * Types for action execution and control operations.
7
- */
8
-
9
- /**
10
- * Extended action request with control-specific options
11
- */
12
- interface ControlActionRequest extends NativeActionRequest {
13
- /** Request ID for correlation */
14
- requestId?: string;
15
- /** Capture snapshot after action */
16
- captureAfter?: boolean;
17
- /** Retry options */
18
- retryOptions?: {
19
- maxRetries?: number;
20
- retryDelay?: number;
21
- };
22
- }
23
- /**
24
- * Extended action response with control-specific data
25
- */
26
- interface ControlActionResponse extends NativeActionResponse {
27
- /** Request ID for correlation */
28
- requestId?: string;
29
- /** Retry count */
30
- retryCount?: number;
31
- }
32
- /**
33
- * Component action request
34
- */
35
- interface ComponentActionRequest {
36
- /** Action to execute */
37
- action: string;
38
- /** Action parameters */
39
- params?: Record<string, unknown>;
40
- /** Request ID for correlation */
41
- requestId?: string;
42
- }
43
- /**
44
- * Component action response
45
- */
46
- interface ComponentActionResponse {
47
- /** Whether the action succeeded */
48
- success: boolean;
49
- /** Result of the action */
50
- result?: unknown;
51
- /** Error message if failed */
52
- error?: string;
53
- /** Stack trace if failed */
54
- stack?: string;
55
- /** Duration in milliseconds */
56
- durationMs: number;
57
- /** Timestamp */
58
- timestamp: number;
59
- /** Request ID for correlation */
60
- requestId?: string;
61
- }
62
- /**
63
- * Wait result
64
- */
65
- interface WaitResult {
66
- /** Whether conditions were met */
67
- met: boolean;
68
- /** Time spent waiting in milliseconds */
69
- waitedMs: number;
70
- /** Final element state */
71
- state?: NativeElementState;
72
- /** Error message if failed */
73
- error?: string;
74
- }
75
- /**
76
- * Native action executor interface
77
- */
78
- interface NativeActionExecutor {
79
- /**
80
- * Execute an action on an element
81
- */
82
- executeAction(elementId: string, request: ControlActionRequest): Promise<ControlActionResponse>;
83
- /**
84
- * Execute a component action
85
- */
86
- executeComponentAction(componentId: string, request: ComponentActionRequest): Promise<ComponentActionResponse>;
87
- /**
88
- * Find elements
89
- */
90
- find(request: NativeFindRequest): Promise<NativeFindResponse>;
91
- /**
92
- * Wait for element conditions
93
- */
94
- waitForElement(elementId: string, options: WaitOptions): Promise<WaitResult>;
95
- }
96
- /**
97
- * Page navigation request
98
- */
99
- interface PageNavigateRequest {
100
- /** URL to navigate to */
101
- url: string;
102
- }
103
- /**
104
- * Page navigation response
105
- */
106
- interface PageNavigationResponse {
107
- /** Whether the navigation succeeded */
108
- success: boolean;
109
- /** Current URL after navigation */
110
- url?: string;
111
- /** Timestamp */
112
- timestamp: number;
113
- }
114
- /**
115
- * Action execution options
116
- */
117
- interface ActionExecutionOptions {
118
- /** Timeout in milliseconds */
119
- timeout?: number;
120
- /** Whether to wait for element to be ready */
121
- waitForReady?: boolean;
122
- /** Custom wait conditions */
123
- waitOptions?: WaitOptions;
124
- }
125
- /**
126
- * Type action params
127
- */
128
- interface TypeActionParams {
129
- /** Text to type */
130
- text: string;
131
- /** Typing delay between characters (ms) */
132
- delay?: number;
133
- /** Clear existing text first */
134
- clearFirst?: boolean;
135
- }
136
- /**
137
- * Scroll action params
138
- */
139
- interface ScrollActionParams {
140
- /** Scroll offset */
141
- offset?: {
142
- x: number;
143
- y: number;
144
- };
145
- /** Scroll to specific position */
146
- position?: {
147
- x: number;
148
- y: number;
149
- };
150
- /** Animate the scroll */
151
- animated?: boolean;
152
- }
153
- /**
154
- * Swipe action params
155
- */
156
- interface SwipeActionParams {
157
- /** Swipe direction */
158
- direction: 'up' | 'down' | 'left' | 'right';
159
- /** Swipe distance (in points) */
160
- distance?: number;
161
- /** Swipe duration (ms) */
162
- duration?: number;
163
- }
164
- /**
165
- * Press action params
166
- */
167
- interface PressActionParams {
168
- /** Position relative to element */
169
- position?: {
170
- x: number;
171
- y: number;
172
- };
173
- /** Press duration (ms) for long press */
174
- duration?: number;
175
- }
176
-
177
- export type { ActionExecutionOptions as A, ControlActionRequest as C, NativeActionExecutor as N, PressActionParams as P, ScrollActionParams as S, TypeActionParams as T, WaitResult as W, ControlActionResponse as a, ComponentActionRequest as b, ComponentActionResponse as c, SwipeActionParams as d, PageNavigationResponse as e, PageNavigateRequest as f };