@trail-cli/guide-schema 0.1.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.
@@ -0,0 +1,4361 @@
1
+ import { z, ZodError } from 'zod';
2
+
3
+ /**
4
+ * Priority order used by the SDK's target resolver, highest priority first.
5
+ * A single target may carry more than one hint (e.g. a `testId` with a `selector`
6
+ * fallback); the resolver tries them in this order until one matches.
7
+ */
8
+ declare const TARGET_STRATEGY_ORDER: readonly ["testId", "role", "label", "text", "selector"];
9
+ declare const TargetSchema: z.ZodEffects<z.ZodObject<{
10
+ testId: z.ZodOptional<z.ZodString>;
11
+ role: z.ZodOptional<z.ZodString>;
12
+ name: z.ZodOptional<z.ZodString>;
13
+ label: z.ZodOptional<z.ZodString>;
14
+ text: z.ZodOptional<z.ZodString>;
15
+ selector: z.ZodOptional<z.ZodString>;
16
+ }, "strict", z.ZodTypeAny, {
17
+ testId?: string | undefined;
18
+ role?: string | undefined;
19
+ label?: string | undefined;
20
+ text?: string | undefined;
21
+ selector?: string | undefined;
22
+ name?: string | undefined;
23
+ }, {
24
+ testId?: string | undefined;
25
+ role?: string | undefined;
26
+ label?: string | undefined;
27
+ text?: string | undefined;
28
+ selector?: string | undefined;
29
+ name?: string | undefined;
30
+ }>, {
31
+ testId?: string | undefined;
32
+ role?: string | undefined;
33
+ label?: string | undefined;
34
+ text?: string | undefined;
35
+ selector?: string | undefined;
36
+ name?: string | undefined;
37
+ }, {
38
+ testId?: string | undefined;
39
+ role?: string | undefined;
40
+ label?: string | undefined;
41
+ text?: string | undefined;
42
+ selector?: string | undefined;
43
+ name?: string | undefined;
44
+ }>;
45
+ type Target = z.infer<typeof TargetSchema>;
46
+
47
+ declare const ClickStepSchema: z.ZodObject<{
48
+ id: z.ZodString;
49
+ action: z.ZodLiteral<"click">;
50
+ target: z.ZodEffects<z.ZodObject<{
51
+ testId: z.ZodOptional<z.ZodString>;
52
+ role: z.ZodOptional<z.ZodString>;
53
+ name: z.ZodOptional<z.ZodString>;
54
+ label: z.ZodOptional<z.ZodString>;
55
+ text: z.ZodOptional<z.ZodString>;
56
+ selector: z.ZodOptional<z.ZodString>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ testId?: string | undefined;
59
+ role?: string | undefined;
60
+ label?: string | undefined;
61
+ text?: string | undefined;
62
+ selector?: string | undefined;
63
+ name?: string | undefined;
64
+ }, {
65
+ testId?: string | undefined;
66
+ role?: string | undefined;
67
+ label?: string | undefined;
68
+ text?: string | undefined;
69
+ selector?: string | undefined;
70
+ name?: string | undefined;
71
+ }>, {
72
+ testId?: string | undefined;
73
+ role?: string | undefined;
74
+ label?: string | undefined;
75
+ text?: string | undefined;
76
+ selector?: string | undefined;
77
+ name?: string | undefined;
78
+ }, {
79
+ testId?: string | undefined;
80
+ role?: string | undefined;
81
+ label?: string | undefined;
82
+ text?: string | undefined;
83
+ selector?: string | undefined;
84
+ name?: string | undefined;
85
+ }>;
86
+ instruction: z.ZodString;
87
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
88
+ }, "strict", z.ZodTypeAny, {
89
+ id: string;
90
+ action: "click";
91
+ target: {
92
+ testId?: string | undefined;
93
+ role?: string | undefined;
94
+ label?: string | undefined;
95
+ text?: string | undefined;
96
+ selector?: string | undefined;
97
+ name?: string | undefined;
98
+ };
99
+ instruction: string;
100
+ autoAdvance?: boolean | undefined;
101
+ }, {
102
+ id: string;
103
+ action: "click";
104
+ target: {
105
+ testId?: string | undefined;
106
+ role?: string | undefined;
107
+ label?: string | undefined;
108
+ text?: string | undefined;
109
+ selector?: string | undefined;
110
+ name?: string | undefined;
111
+ };
112
+ instruction: string;
113
+ autoAdvance?: boolean | undefined;
114
+ }>;
115
+ declare const InputStepSchema: z.ZodObject<{
116
+ id: z.ZodString;
117
+ action: z.ZodLiteral<"input">;
118
+ target: z.ZodEffects<z.ZodObject<{
119
+ testId: z.ZodOptional<z.ZodString>;
120
+ role: z.ZodOptional<z.ZodString>;
121
+ name: z.ZodOptional<z.ZodString>;
122
+ label: z.ZodOptional<z.ZodString>;
123
+ text: z.ZodOptional<z.ZodString>;
124
+ selector: z.ZodOptional<z.ZodString>;
125
+ }, "strict", z.ZodTypeAny, {
126
+ testId?: string | undefined;
127
+ role?: string | undefined;
128
+ label?: string | undefined;
129
+ text?: string | undefined;
130
+ selector?: string | undefined;
131
+ name?: string | undefined;
132
+ }, {
133
+ testId?: string | undefined;
134
+ role?: string | undefined;
135
+ label?: string | undefined;
136
+ text?: string | undefined;
137
+ selector?: string | undefined;
138
+ name?: string | undefined;
139
+ }>, {
140
+ testId?: string | undefined;
141
+ role?: string | undefined;
142
+ label?: string | undefined;
143
+ text?: string | undefined;
144
+ selector?: string | undefined;
145
+ name?: string | undefined;
146
+ }, {
147
+ testId?: string | undefined;
148
+ role?: string | undefined;
149
+ label?: string | undefined;
150
+ text?: string | undefined;
151
+ selector?: string | undefined;
152
+ name?: string | undefined;
153
+ }>;
154
+ value: z.ZodString;
155
+ instruction: z.ZodString;
156
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
157
+ }, "strict", z.ZodTypeAny, {
158
+ value: string;
159
+ id: string;
160
+ action: "input";
161
+ target: {
162
+ testId?: string | undefined;
163
+ role?: string | undefined;
164
+ label?: string | undefined;
165
+ text?: string | undefined;
166
+ selector?: string | undefined;
167
+ name?: string | undefined;
168
+ };
169
+ instruction: string;
170
+ autoAdvance?: boolean | undefined;
171
+ }, {
172
+ value: string;
173
+ id: string;
174
+ action: "input";
175
+ target: {
176
+ testId?: string | undefined;
177
+ role?: string | undefined;
178
+ label?: string | undefined;
179
+ text?: string | undefined;
180
+ selector?: string | undefined;
181
+ name?: string | undefined;
182
+ };
183
+ instruction: string;
184
+ autoAdvance?: boolean | undefined;
185
+ }>;
186
+ declare const SelectStepSchema: z.ZodObject<{
187
+ id: z.ZodString;
188
+ action: z.ZodLiteral<"select">;
189
+ target: z.ZodEffects<z.ZodObject<{
190
+ testId: z.ZodOptional<z.ZodString>;
191
+ role: z.ZodOptional<z.ZodString>;
192
+ name: z.ZodOptional<z.ZodString>;
193
+ label: z.ZodOptional<z.ZodString>;
194
+ text: z.ZodOptional<z.ZodString>;
195
+ selector: z.ZodOptional<z.ZodString>;
196
+ }, "strict", z.ZodTypeAny, {
197
+ testId?: string | undefined;
198
+ role?: string | undefined;
199
+ label?: string | undefined;
200
+ text?: string | undefined;
201
+ selector?: string | undefined;
202
+ name?: string | undefined;
203
+ }, {
204
+ testId?: string | undefined;
205
+ role?: string | undefined;
206
+ label?: string | undefined;
207
+ text?: string | undefined;
208
+ selector?: string | undefined;
209
+ name?: string | undefined;
210
+ }>, {
211
+ testId?: string | undefined;
212
+ role?: string | undefined;
213
+ label?: string | undefined;
214
+ text?: string | undefined;
215
+ selector?: string | undefined;
216
+ name?: string | undefined;
217
+ }, {
218
+ testId?: string | undefined;
219
+ role?: string | undefined;
220
+ label?: string | undefined;
221
+ text?: string | undefined;
222
+ selector?: string | undefined;
223
+ name?: string | undefined;
224
+ }>;
225
+ value: z.ZodString;
226
+ instruction: z.ZodString;
227
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
228
+ }, "strict", z.ZodTypeAny, {
229
+ value: string;
230
+ id: string;
231
+ action: "select";
232
+ target: {
233
+ testId?: string | undefined;
234
+ role?: string | undefined;
235
+ label?: string | undefined;
236
+ text?: string | undefined;
237
+ selector?: string | undefined;
238
+ name?: string | undefined;
239
+ };
240
+ instruction: string;
241
+ autoAdvance?: boolean | undefined;
242
+ }, {
243
+ value: string;
244
+ id: string;
245
+ action: "select";
246
+ target: {
247
+ testId?: string | undefined;
248
+ role?: string | undefined;
249
+ label?: string | undefined;
250
+ text?: string | undefined;
251
+ selector?: string | undefined;
252
+ name?: string | undefined;
253
+ };
254
+ instruction: string;
255
+ autoAdvance?: boolean | undefined;
256
+ }>;
257
+ declare const VerifyStepSchema: z.ZodObject<{
258
+ id: z.ZodString;
259
+ action: z.ZodLiteral<"verify">;
260
+ target: z.ZodEffects<z.ZodObject<{
261
+ testId: z.ZodOptional<z.ZodString>;
262
+ role: z.ZodOptional<z.ZodString>;
263
+ name: z.ZodOptional<z.ZodString>;
264
+ label: z.ZodOptional<z.ZodString>;
265
+ text: z.ZodOptional<z.ZodString>;
266
+ selector: z.ZodOptional<z.ZodString>;
267
+ }, "strict", z.ZodTypeAny, {
268
+ testId?: string | undefined;
269
+ role?: string | undefined;
270
+ label?: string | undefined;
271
+ text?: string | undefined;
272
+ selector?: string | undefined;
273
+ name?: string | undefined;
274
+ }, {
275
+ testId?: string | undefined;
276
+ role?: string | undefined;
277
+ label?: string | undefined;
278
+ text?: string | undefined;
279
+ selector?: string | undefined;
280
+ name?: string | undefined;
281
+ }>, {
282
+ testId?: string | undefined;
283
+ role?: string | undefined;
284
+ label?: string | undefined;
285
+ text?: string | undefined;
286
+ selector?: string | undefined;
287
+ name?: string | undefined;
288
+ }, {
289
+ testId?: string | undefined;
290
+ role?: string | undefined;
291
+ label?: string | undefined;
292
+ text?: string | undefined;
293
+ selector?: string | undefined;
294
+ name?: string | undefined;
295
+ }>;
296
+ instruction: z.ZodString;
297
+ }, "strict", z.ZodTypeAny, {
298
+ id: string;
299
+ action: "verify";
300
+ target: {
301
+ testId?: string | undefined;
302
+ role?: string | undefined;
303
+ label?: string | undefined;
304
+ text?: string | undefined;
305
+ selector?: string | undefined;
306
+ name?: string | undefined;
307
+ };
308
+ instruction: string;
309
+ }, {
310
+ id: string;
311
+ action: "verify";
312
+ target: {
313
+ testId?: string | undefined;
314
+ role?: string | undefined;
315
+ label?: string | undefined;
316
+ text?: string | undefined;
317
+ selector?: string | undefined;
318
+ name?: string | undefined;
319
+ };
320
+ instruction: string;
321
+ }>;
322
+ declare const NavigateStepSchema: z.ZodObject<{
323
+ id: z.ZodString;
324
+ action: z.ZodLiteral<"navigate">;
325
+ url: z.ZodString;
326
+ instruction: z.ZodString;
327
+ }, "strict", z.ZodTypeAny, {
328
+ id: string;
329
+ action: "navigate";
330
+ instruction: string;
331
+ url: string;
332
+ }, {
333
+ id: string;
334
+ action: "navigate";
335
+ instruction: string;
336
+ url: string;
337
+ }>;
338
+ declare const WaitStepSchema: z.ZodObject<{
339
+ id: z.ZodString;
340
+ action: z.ZodLiteral<"wait">;
341
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
342
+ testId: z.ZodOptional<z.ZodString>;
343
+ role: z.ZodOptional<z.ZodString>;
344
+ name: z.ZodOptional<z.ZodString>;
345
+ label: z.ZodOptional<z.ZodString>;
346
+ text: z.ZodOptional<z.ZodString>;
347
+ selector: z.ZodOptional<z.ZodString>;
348
+ }, "strict", z.ZodTypeAny, {
349
+ testId?: string | undefined;
350
+ role?: string | undefined;
351
+ label?: string | undefined;
352
+ text?: string | undefined;
353
+ selector?: string | undefined;
354
+ name?: string | undefined;
355
+ }, {
356
+ testId?: string | undefined;
357
+ role?: string | undefined;
358
+ label?: string | undefined;
359
+ text?: string | undefined;
360
+ selector?: string | undefined;
361
+ name?: string | undefined;
362
+ }>, {
363
+ testId?: string | undefined;
364
+ role?: string | undefined;
365
+ label?: string | undefined;
366
+ text?: string | undefined;
367
+ selector?: string | undefined;
368
+ name?: string | undefined;
369
+ }, {
370
+ testId?: string | undefined;
371
+ role?: string | undefined;
372
+ label?: string | undefined;
373
+ text?: string | undefined;
374
+ selector?: string | undefined;
375
+ name?: string | undefined;
376
+ }>>;
377
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
378
+ instruction: z.ZodString;
379
+ }, "strict", z.ZodTypeAny, {
380
+ id: string;
381
+ action: "wait";
382
+ instruction: string;
383
+ target?: {
384
+ testId?: string | undefined;
385
+ role?: string | undefined;
386
+ label?: string | undefined;
387
+ text?: string | undefined;
388
+ selector?: string | undefined;
389
+ name?: string | undefined;
390
+ } | undefined;
391
+ timeoutMs?: number | undefined;
392
+ }, {
393
+ id: string;
394
+ action: "wait";
395
+ instruction: string;
396
+ target?: {
397
+ testId?: string | undefined;
398
+ role?: string | undefined;
399
+ label?: string | undefined;
400
+ text?: string | undefined;
401
+ selector?: string | undefined;
402
+ name?: string | undefined;
403
+ } | undefined;
404
+ timeoutMs?: number | undefined;
405
+ }>;
406
+ /** Discriminated union keyed on `action`, so each step carries only the fields it needs. */
407
+ declare const GuideStepSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
408
+ id: z.ZodString;
409
+ action: z.ZodLiteral<"click">;
410
+ target: z.ZodEffects<z.ZodObject<{
411
+ testId: z.ZodOptional<z.ZodString>;
412
+ role: z.ZodOptional<z.ZodString>;
413
+ name: z.ZodOptional<z.ZodString>;
414
+ label: z.ZodOptional<z.ZodString>;
415
+ text: z.ZodOptional<z.ZodString>;
416
+ selector: z.ZodOptional<z.ZodString>;
417
+ }, "strict", z.ZodTypeAny, {
418
+ testId?: string | undefined;
419
+ role?: string | undefined;
420
+ label?: string | undefined;
421
+ text?: string | undefined;
422
+ selector?: string | undefined;
423
+ name?: string | undefined;
424
+ }, {
425
+ testId?: string | undefined;
426
+ role?: string | undefined;
427
+ label?: string | undefined;
428
+ text?: string | undefined;
429
+ selector?: string | undefined;
430
+ name?: string | undefined;
431
+ }>, {
432
+ testId?: string | undefined;
433
+ role?: string | undefined;
434
+ label?: string | undefined;
435
+ text?: string | undefined;
436
+ selector?: string | undefined;
437
+ name?: string | undefined;
438
+ }, {
439
+ testId?: string | undefined;
440
+ role?: string | undefined;
441
+ label?: string | undefined;
442
+ text?: string | undefined;
443
+ selector?: string | undefined;
444
+ name?: string | undefined;
445
+ }>;
446
+ instruction: z.ZodString;
447
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
448
+ }, "strict", z.ZodTypeAny, {
449
+ id: string;
450
+ action: "click";
451
+ target: {
452
+ testId?: string | undefined;
453
+ role?: string | undefined;
454
+ label?: string | undefined;
455
+ text?: string | undefined;
456
+ selector?: string | undefined;
457
+ name?: string | undefined;
458
+ };
459
+ instruction: string;
460
+ autoAdvance?: boolean | undefined;
461
+ }, {
462
+ id: string;
463
+ action: "click";
464
+ target: {
465
+ testId?: string | undefined;
466
+ role?: string | undefined;
467
+ label?: string | undefined;
468
+ text?: string | undefined;
469
+ selector?: string | undefined;
470
+ name?: string | undefined;
471
+ };
472
+ instruction: string;
473
+ autoAdvance?: boolean | undefined;
474
+ }>, z.ZodObject<{
475
+ id: z.ZodString;
476
+ action: z.ZodLiteral<"input">;
477
+ target: z.ZodEffects<z.ZodObject<{
478
+ testId: z.ZodOptional<z.ZodString>;
479
+ role: z.ZodOptional<z.ZodString>;
480
+ name: z.ZodOptional<z.ZodString>;
481
+ label: z.ZodOptional<z.ZodString>;
482
+ text: z.ZodOptional<z.ZodString>;
483
+ selector: z.ZodOptional<z.ZodString>;
484
+ }, "strict", z.ZodTypeAny, {
485
+ testId?: string | undefined;
486
+ role?: string | undefined;
487
+ label?: string | undefined;
488
+ text?: string | undefined;
489
+ selector?: string | undefined;
490
+ name?: string | undefined;
491
+ }, {
492
+ testId?: string | undefined;
493
+ role?: string | undefined;
494
+ label?: string | undefined;
495
+ text?: string | undefined;
496
+ selector?: string | undefined;
497
+ name?: string | undefined;
498
+ }>, {
499
+ testId?: string | undefined;
500
+ role?: string | undefined;
501
+ label?: string | undefined;
502
+ text?: string | undefined;
503
+ selector?: string | undefined;
504
+ name?: string | undefined;
505
+ }, {
506
+ testId?: string | undefined;
507
+ role?: string | undefined;
508
+ label?: string | undefined;
509
+ text?: string | undefined;
510
+ selector?: string | undefined;
511
+ name?: string | undefined;
512
+ }>;
513
+ value: z.ZodString;
514
+ instruction: z.ZodString;
515
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
516
+ }, "strict", z.ZodTypeAny, {
517
+ value: string;
518
+ id: string;
519
+ action: "input";
520
+ target: {
521
+ testId?: string | undefined;
522
+ role?: string | undefined;
523
+ label?: string | undefined;
524
+ text?: string | undefined;
525
+ selector?: string | undefined;
526
+ name?: string | undefined;
527
+ };
528
+ instruction: string;
529
+ autoAdvance?: boolean | undefined;
530
+ }, {
531
+ value: string;
532
+ id: string;
533
+ action: "input";
534
+ target: {
535
+ testId?: string | undefined;
536
+ role?: string | undefined;
537
+ label?: string | undefined;
538
+ text?: string | undefined;
539
+ selector?: string | undefined;
540
+ name?: string | undefined;
541
+ };
542
+ instruction: string;
543
+ autoAdvance?: boolean | undefined;
544
+ }>, z.ZodObject<{
545
+ id: z.ZodString;
546
+ action: z.ZodLiteral<"select">;
547
+ target: z.ZodEffects<z.ZodObject<{
548
+ testId: z.ZodOptional<z.ZodString>;
549
+ role: z.ZodOptional<z.ZodString>;
550
+ name: z.ZodOptional<z.ZodString>;
551
+ label: z.ZodOptional<z.ZodString>;
552
+ text: z.ZodOptional<z.ZodString>;
553
+ selector: z.ZodOptional<z.ZodString>;
554
+ }, "strict", z.ZodTypeAny, {
555
+ testId?: string | undefined;
556
+ role?: string | undefined;
557
+ label?: string | undefined;
558
+ text?: string | undefined;
559
+ selector?: string | undefined;
560
+ name?: string | undefined;
561
+ }, {
562
+ testId?: string | undefined;
563
+ role?: string | undefined;
564
+ label?: string | undefined;
565
+ text?: string | undefined;
566
+ selector?: string | undefined;
567
+ name?: string | undefined;
568
+ }>, {
569
+ testId?: string | undefined;
570
+ role?: string | undefined;
571
+ label?: string | undefined;
572
+ text?: string | undefined;
573
+ selector?: string | undefined;
574
+ name?: string | undefined;
575
+ }, {
576
+ testId?: string | undefined;
577
+ role?: string | undefined;
578
+ label?: string | undefined;
579
+ text?: string | undefined;
580
+ selector?: string | undefined;
581
+ name?: string | undefined;
582
+ }>;
583
+ value: z.ZodString;
584
+ instruction: z.ZodString;
585
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
586
+ }, "strict", z.ZodTypeAny, {
587
+ value: string;
588
+ id: string;
589
+ action: "select";
590
+ target: {
591
+ testId?: string | undefined;
592
+ role?: string | undefined;
593
+ label?: string | undefined;
594
+ text?: string | undefined;
595
+ selector?: string | undefined;
596
+ name?: string | undefined;
597
+ };
598
+ instruction: string;
599
+ autoAdvance?: boolean | undefined;
600
+ }, {
601
+ value: string;
602
+ id: string;
603
+ action: "select";
604
+ target: {
605
+ testId?: string | undefined;
606
+ role?: string | undefined;
607
+ label?: string | undefined;
608
+ text?: string | undefined;
609
+ selector?: string | undefined;
610
+ name?: string | undefined;
611
+ };
612
+ instruction: string;
613
+ autoAdvance?: boolean | undefined;
614
+ }>, z.ZodObject<{
615
+ id: z.ZodString;
616
+ action: z.ZodLiteral<"verify">;
617
+ target: z.ZodEffects<z.ZodObject<{
618
+ testId: z.ZodOptional<z.ZodString>;
619
+ role: z.ZodOptional<z.ZodString>;
620
+ name: z.ZodOptional<z.ZodString>;
621
+ label: z.ZodOptional<z.ZodString>;
622
+ text: z.ZodOptional<z.ZodString>;
623
+ selector: z.ZodOptional<z.ZodString>;
624
+ }, "strict", z.ZodTypeAny, {
625
+ testId?: string | undefined;
626
+ role?: string | undefined;
627
+ label?: string | undefined;
628
+ text?: string | undefined;
629
+ selector?: string | undefined;
630
+ name?: string | undefined;
631
+ }, {
632
+ testId?: string | undefined;
633
+ role?: string | undefined;
634
+ label?: string | undefined;
635
+ text?: string | undefined;
636
+ selector?: string | undefined;
637
+ name?: string | undefined;
638
+ }>, {
639
+ testId?: string | undefined;
640
+ role?: string | undefined;
641
+ label?: string | undefined;
642
+ text?: string | undefined;
643
+ selector?: string | undefined;
644
+ name?: string | undefined;
645
+ }, {
646
+ testId?: string | undefined;
647
+ role?: string | undefined;
648
+ label?: string | undefined;
649
+ text?: string | undefined;
650
+ selector?: string | undefined;
651
+ name?: string | undefined;
652
+ }>;
653
+ instruction: z.ZodString;
654
+ }, "strict", z.ZodTypeAny, {
655
+ id: string;
656
+ action: "verify";
657
+ target: {
658
+ testId?: string | undefined;
659
+ role?: string | undefined;
660
+ label?: string | undefined;
661
+ text?: string | undefined;
662
+ selector?: string | undefined;
663
+ name?: string | undefined;
664
+ };
665
+ instruction: string;
666
+ }, {
667
+ id: string;
668
+ action: "verify";
669
+ target: {
670
+ testId?: string | undefined;
671
+ role?: string | undefined;
672
+ label?: string | undefined;
673
+ text?: string | undefined;
674
+ selector?: string | undefined;
675
+ name?: string | undefined;
676
+ };
677
+ instruction: string;
678
+ }>, z.ZodObject<{
679
+ id: z.ZodString;
680
+ action: z.ZodLiteral<"navigate">;
681
+ url: z.ZodString;
682
+ instruction: z.ZodString;
683
+ }, "strict", z.ZodTypeAny, {
684
+ id: string;
685
+ action: "navigate";
686
+ instruction: string;
687
+ url: string;
688
+ }, {
689
+ id: string;
690
+ action: "navigate";
691
+ instruction: string;
692
+ url: string;
693
+ }>, z.ZodObject<{
694
+ id: z.ZodString;
695
+ action: z.ZodLiteral<"wait">;
696
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
697
+ testId: z.ZodOptional<z.ZodString>;
698
+ role: z.ZodOptional<z.ZodString>;
699
+ name: z.ZodOptional<z.ZodString>;
700
+ label: z.ZodOptional<z.ZodString>;
701
+ text: z.ZodOptional<z.ZodString>;
702
+ selector: z.ZodOptional<z.ZodString>;
703
+ }, "strict", z.ZodTypeAny, {
704
+ testId?: string | undefined;
705
+ role?: string | undefined;
706
+ label?: string | undefined;
707
+ text?: string | undefined;
708
+ selector?: string | undefined;
709
+ name?: string | undefined;
710
+ }, {
711
+ testId?: string | undefined;
712
+ role?: string | undefined;
713
+ label?: string | undefined;
714
+ text?: string | undefined;
715
+ selector?: string | undefined;
716
+ name?: string | undefined;
717
+ }>, {
718
+ testId?: string | undefined;
719
+ role?: string | undefined;
720
+ label?: string | undefined;
721
+ text?: string | undefined;
722
+ selector?: string | undefined;
723
+ name?: string | undefined;
724
+ }, {
725
+ testId?: string | undefined;
726
+ role?: string | undefined;
727
+ label?: string | undefined;
728
+ text?: string | undefined;
729
+ selector?: string | undefined;
730
+ name?: string | undefined;
731
+ }>>;
732
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
733
+ instruction: z.ZodString;
734
+ }, "strict", z.ZodTypeAny, {
735
+ id: string;
736
+ action: "wait";
737
+ instruction: string;
738
+ target?: {
739
+ testId?: string | undefined;
740
+ role?: string | undefined;
741
+ label?: string | undefined;
742
+ text?: string | undefined;
743
+ selector?: string | undefined;
744
+ name?: string | undefined;
745
+ } | undefined;
746
+ timeoutMs?: number | undefined;
747
+ }, {
748
+ id: string;
749
+ action: "wait";
750
+ instruction: string;
751
+ target?: {
752
+ testId?: string | undefined;
753
+ role?: string | undefined;
754
+ label?: string | undefined;
755
+ text?: string | undefined;
756
+ selector?: string | undefined;
757
+ name?: string | undefined;
758
+ } | undefined;
759
+ timeoutMs?: number | undefined;
760
+ }>]>;
761
+ type ClickStep = z.infer<typeof ClickStepSchema>;
762
+ type InputStep = z.infer<typeof InputStepSchema>;
763
+ type SelectStep = z.infer<typeof SelectStepSchema>;
764
+ type VerifyStep = z.infer<typeof VerifyStepSchema>;
765
+ type NavigateStep = z.infer<typeof NavigateStepSchema>;
766
+ type WaitStep = z.infer<typeof WaitStepSchema>;
767
+ type GuideStep = z.infer<typeof GuideStepSchema>;
768
+ type GuideActionType = GuideStep["action"];
769
+ /** A source-only step that is inserted relative to a step inherited from a base guide. */
770
+ declare const AuthorGuideStepSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
771
+ id: z.ZodString;
772
+ action: z.ZodLiteral<"click">;
773
+ target: z.ZodEffects<z.ZodObject<{
774
+ testId: z.ZodOptional<z.ZodString>;
775
+ role: z.ZodOptional<z.ZodString>;
776
+ name: z.ZodOptional<z.ZodString>;
777
+ label: z.ZodOptional<z.ZodString>;
778
+ text: z.ZodOptional<z.ZodString>;
779
+ selector: z.ZodOptional<z.ZodString>;
780
+ }, "strict", z.ZodTypeAny, {
781
+ testId?: string | undefined;
782
+ role?: string | undefined;
783
+ label?: string | undefined;
784
+ text?: string | undefined;
785
+ selector?: string | undefined;
786
+ name?: string | undefined;
787
+ }, {
788
+ testId?: string | undefined;
789
+ role?: string | undefined;
790
+ label?: string | undefined;
791
+ text?: string | undefined;
792
+ selector?: string | undefined;
793
+ name?: string | undefined;
794
+ }>, {
795
+ testId?: string | undefined;
796
+ role?: string | undefined;
797
+ label?: string | undefined;
798
+ text?: string | undefined;
799
+ selector?: string | undefined;
800
+ name?: string | undefined;
801
+ }, {
802
+ testId?: string | undefined;
803
+ role?: string | undefined;
804
+ label?: string | undefined;
805
+ text?: string | undefined;
806
+ selector?: string | undefined;
807
+ name?: string | undefined;
808
+ }>;
809
+ instruction: z.ZodString;
810
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
811
+ } & {
812
+ before: z.ZodOptional<z.ZodString>;
813
+ after: z.ZodOptional<z.ZodString>;
814
+ }, "strict", z.ZodTypeAny, {
815
+ id: string;
816
+ action: "click";
817
+ target: {
818
+ testId?: string | undefined;
819
+ role?: string | undefined;
820
+ label?: string | undefined;
821
+ text?: string | undefined;
822
+ selector?: string | undefined;
823
+ name?: string | undefined;
824
+ };
825
+ instruction: string;
826
+ autoAdvance?: boolean | undefined;
827
+ before?: string | undefined;
828
+ after?: string | undefined;
829
+ }, {
830
+ id: string;
831
+ action: "click";
832
+ target: {
833
+ testId?: string | undefined;
834
+ role?: string | undefined;
835
+ label?: string | undefined;
836
+ text?: string | undefined;
837
+ selector?: string | undefined;
838
+ name?: string | undefined;
839
+ };
840
+ instruction: string;
841
+ autoAdvance?: boolean | undefined;
842
+ before?: string | undefined;
843
+ after?: string | undefined;
844
+ }>, z.ZodObject<{
845
+ id: z.ZodString;
846
+ action: z.ZodLiteral<"input">;
847
+ target: z.ZodEffects<z.ZodObject<{
848
+ testId: z.ZodOptional<z.ZodString>;
849
+ role: z.ZodOptional<z.ZodString>;
850
+ name: z.ZodOptional<z.ZodString>;
851
+ label: z.ZodOptional<z.ZodString>;
852
+ text: z.ZodOptional<z.ZodString>;
853
+ selector: z.ZodOptional<z.ZodString>;
854
+ }, "strict", z.ZodTypeAny, {
855
+ testId?: string | undefined;
856
+ role?: string | undefined;
857
+ label?: string | undefined;
858
+ text?: string | undefined;
859
+ selector?: string | undefined;
860
+ name?: string | undefined;
861
+ }, {
862
+ testId?: string | undefined;
863
+ role?: string | undefined;
864
+ label?: string | undefined;
865
+ text?: string | undefined;
866
+ selector?: string | undefined;
867
+ name?: string | undefined;
868
+ }>, {
869
+ testId?: string | undefined;
870
+ role?: string | undefined;
871
+ label?: string | undefined;
872
+ text?: string | undefined;
873
+ selector?: string | undefined;
874
+ name?: string | undefined;
875
+ }, {
876
+ testId?: string | undefined;
877
+ role?: string | undefined;
878
+ label?: string | undefined;
879
+ text?: string | undefined;
880
+ selector?: string | undefined;
881
+ name?: string | undefined;
882
+ }>;
883
+ value: z.ZodString;
884
+ instruction: z.ZodString;
885
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
886
+ } & {
887
+ before: z.ZodOptional<z.ZodString>;
888
+ after: z.ZodOptional<z.ZodString>;
889
+ }, "strict", z.ZodTypeAny, {
890
+ value: string;
891
+ id: string;
892
+ action: "input";
893
+ target: {
894
+ testId?: string | undefined;
895
+ role?: string | undefined;
896
+ label?: string | undefined;
897
+ text?: string | undefined;
898
+ selector?: string | undefined;
899
+ name?: string | undefined;
900
+ };
901
+ instruction: string;
902
+ autoAdvance?: boolean | undefined;
903
+ before?: string | undefined;
904
+ after?: string | undefined;
905
+ }, {
906
+ value: string;
907
+ id: string;
908
+ action: "input";
909
+ target: {
910
+ testId?: string | undefined;
911
+ role?: string | undefined;
912
+ label?: string | undefined;
913
+ text?: string | undefined;
914
+ selector?: string | undefined;
915
+ name?: string | undefined;
916
+ };
917
+ instruction: string;
918
+ autoAdvance?: boolean | undefined;
919
+ before?: string | undefined;
920
+ after?: string | undefined;
921
+ }>, z.ZodObject<{
922
+ id: z.ZodString;
923
+ action: z.ZodLiteral<"select">;
924
+ target: z.ZodEffects<z.ZodObject<{
925
+ testId: z.ZodOptional<z.ZodString>;
926
+ role: z.ZodOptional<z.ZodString>;
927
+ name: z.ZodOptional<z.ZodString>;
928
+ label: z.ZodOptional<z.ZodString>;
929
+ text: z.ZodOptional<z.ZodString>;
930
+ selector: z.ZodOptional<z.ZodString>;
931
+ }, "strict", z.ZodTypeAny, {
932
+ testId?: string | undefined;
933
+ role?: string | undefined;
934
+ label?: string | undefined;
935
+ text?: string | undefined;
936
+ selector?: string | undefined;
937
+ name?: string | undefined;
938
+ }, {
939
+ testId?: string | undefined;
940
+ role?: string | undefined;
941
+ label?: string | undefined;
942
+ text?: string | undefined;
943
+ selector?: string | undefined;
944
+ name?: string | undefined;
945
+ }>, {
946
+ testId?: string | undefined;
947
+ role?: string | undefined;
948
+ label?: string | undefined;
949
+ text?: string | undefined;
950
+ selector?: string | undefined;
951
+ name?: string | undefined;
952
+ }, {
953
+ testId?: string | undefined;
954
+ role?: string | undefined;
955
+ label?: string | undefined;
956
+ text?: string | undefined;
957
+ selector?: string | undefined;
958
+ name?: string | undefined;
959
+ }>;
960
+ value: z.ZodString;
961
+ instruction: z.ZodString;
962
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
963
+ } & {
964
+ before: z.ZodOptional<z.ZodString>;
965
+ after: z.ZodOptional<z.ZodString>;
966
+ }, "strict", z.ZodTypeAny, {
967
+ value: string;
968
+ id: string;
969
+ action: "select";
970
+ target: {
971
+ testId?: string | undefined;
972
+ role?: string | undefined;
973
+ label?: string | undefined;
974
+ text?: string | undefined;
975
+ selector?: string | undefined;
976
+ name?: string | undefined;
977
+ };
978
+ instruction: string;
979
+ autoAdvance?: boolean | undefined;
980
+ before?: string | undefined;
981
+ after?: string | undefined;
982
+ }, {
983
+ value: string;
984
+ id: string;
985
+ action: "select";
986
+ target: {
987
+ testId?: string | undefined;
988
+ role?: string | undefined;
989
+ label?: string | undefined;
990
+ text?: string | undefined;
991
+ selector?: string | undefined;
992
+ name?: string | undefined;
993
+ };
994
+ instruction: string;
995
+ autoAdvance?: boolean | undefined;
996
+ before?: string | undefined;
997
+ after?: string | undefined;
998
+ }>, z.ZodObject<{
999
+ id: z.ZodString;
1000
+ action: z.ZodLiteral<"verify">;
1001
+ target: z.ZodEffects<z.ZodObject<{
1002
+ testId: z.ZodOptional<z.ZodString>;
1003
+ role: z.ZodOptional<z.ZodString>;
1004
+ name: z.ZodOptional<z.ZodString>;
1005
+ label: z.ZodOptional<z.ZodString>;
1006
+ text: z.ZodOptional<z.ZodString>;
1007
+ selector: z.ZodOptional<z.ZodString>;
1008
+ }, "strict", z.ZodTypeAny, {
1009
+ testId?: string | undefined;
1010
+ role?: string | undefined;
1011
+ label?: string | undefined;
1012
+ text?: string | undefined;
1013
+ selector?: string | undefined;
1014
+ name?: string | undefined;
1015
+ }, {
1016
+ testId?: string | undefined;
1017
+ role?: string | undefined;
1018
+ label?: string | undefined;
1019
+ text?: string | undefined;
1020
+ selector?: string | undefined;
1021
+ name?: string | undefined;
1022
+ }>, {
1023
+ testId?: string | undefined;
1024
+ role?: string | undefined;
1025
+ label?: string | undefined;
1026
+ text?: string | undefined;
1027
+ selector?: string | undefined;
1028
+ name?: string | undefined;
1029
+ }, {
1030
+ testId?: string | undefined;
1031
+ role?: string | undefined;
1032
+ label?: string | undefined;
1033
+ text?: string | undefined;
1034
+ selector?: string | undefined;
1035
+ name?: string | undefined;
1036
+ }>;
1037
+ instruction: z.ZodString;
1038
+ } & {
1039
+ before: z.ZodOptional<z.ZodString>;
1040
+ after: z.ZodOptional<z.ZodString>;
1041
+ }, "strict", z.ZodTypeAny, {
1042
+ id: string;
1043
+ action: "verify";
1044
+ target: {
1045
+ testId?: string | undefined;
1046
+ role?: string | undefined;
1047
+ label?: string | undefined;
1048
+ text?: string | undefined;
1049
+ selector?: string | undefined;
1050
+ name?: string | undefined;
1051
+ };
1052
+ instruction: string;
1053
+ before?: string | undefined;
1054
+ after?: string | undefined;
1055
+ }, {
1056
+ id: string;
1057
+ action: "verify";
1058
+ target: {
1059
+ testId?: string | undefined;
1060
+ role?: string | undefined;
1061
+ label?: string | undefined;
1062
+ text?: string | undefined;
1063
+ selector?: string | undefined;
1064
+ name?: string | undefined;
1065
+ };
1066
+ instruction: string;
1067
+ before?: string | undefined;
1068
+ after?: string | undefined;
1069
+ }>, z.ZodObject<{
1070
+ id: z.ZodString;
1071
+ action: z.ZodLiteral<"navigate">;
1072
+ url: z.ZodString;
1073
+ instruction: z.ZodString;
1074
+ } & {
1075
+ before: z.ZodOptional<z.ZodString>;
1076
+ after: z.ZodOptional<z.ZodString>;
1077
+ }, "strict", z.ZodTypeAny, {
1078
+ id: string;
1079
+ action: "navigate";
1080
+ instruction: string;
1081
+ url: string;
1082
+ before?: string | undefined;
1083
+ after?: string | undefined;
1084
+ }, {
1085
+ id: string;
1086
+ action: "navigate";
1087
+ instruction: string;
1088
+ url: string;
1089
+ before?: string | undefined;
1090
+ after?: string | undefined;
1091
+ }>, z.ZodObject<{
1092
+ id: z.ZodString;
1093
+ action: z.ZodLiteral<"wait">;
1094
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1095
+ testId: z.ZodOptional<z.ZodString>;
1096
+ role: z.ZodOptional<z.ZodString>;
1097
+ name: z.ZodOptional<z.ZodString>;
1098
+ label: z.ZodOptional<z.ZodString>;
1099
+ text: z.ZodOptional<z.ZodString>;
1100
+ selector: z.ZodOptional<z.ZodString>;
1101
+ }, "strict", z.ZodTypeAny, {
1102
+ testId?: string | undefined;
1103
+ role?: string | undefined;
1104
+ label?: string | undefined;
1105
+ text?: string | undefined;
1106
+ selector?: string | undefined;
1107
+ name?: string | undefined;
1108
+ }, {
1109
+ testId?: string | undefined;
1110
+ role?: string | undefined;
1111
+ label?: string | undefined;
1112
+ text?: string | undefined;
1113
+ selector?: string | undefined;
1114
+ name?: string | undefined;
1115
+ }>, {
1116
+ testId?: string | undefined;
1117
+ role?: string | undefined;
1118
+ label?: string | undefined;
1119
+ text?: string | undefined;
1120
+ selector?: string | undefined;
1121
+ name?: string | undefined;
1122
+ }, {
1123
+ testId?: string | undefined;
1124
+ role?: string | undefined;
1125
+ label?: string | undefined;
1126
+ text?: string | undefined;
1127
+ selector?: string | undefined;
1128
+ name?: string | undefined;
1129
+ }>>;
1130
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1131
+ instruction: z.ZodString;
1132
+ } & {
1133
+ before: z.ZodOptional<z.ZodString>;
1134
+ after: z.ZodOptional<z.ZodString>;
1135
+ }, "strict", z.ZodTypeAny, {
1136
+ id: string;
1137
+ action: "wait";
1138
+ instruction: string;
1139
+ target?: {
1140
+ testId?: string | undefined;
1141
+ role?: string | undefined;
1142
+ label?: string | undefined;
1143
+ text?: string | undefined;
1144
+ selector?: string | undefined;
1145
+ name?: string | undefined;
1146
+ } | undefined;
1147
+ timeoutMs?: number | undefined;
1148
+ before?: string | undefined;
1149
+ after?: string | undefined;
1150
+ }, {
1151
+ id: string;
1152
+ action: "wait";
1153
+ instruction: string;
1154
+ target?: {
1155
+ testId?: string | undefined;
1156
+ role?: string | undefined;
1157
+ label?: string | undefined;
1158
+ text?: string | undefined;
1159
+ selector?: string | undefined;
1160
+ name?: string | undefined;
1161
+ } | undefined;
1162
+ timeoutMs?: number | undefined;
1163
+ before?: string | undefined;
1164
+ after?: string | undefined;
1165
+ }>]>;
1166
+ type AuthorGuideStep = z.infer<typeof AuthorGuideStepSchema>;
1167
+
1168
+ /**
1169
+ * `.passthrough()` keeps unknown top-level keys (e.g. future `meta` blocks used by
1170
+ * a browser recorder) so older guides stay forward-compatible without a schema bump.
1171
+ */
1172
+ declare const GuideSchema: z.ZodObject<{
1173
+ id: z.ZodString;
1174
+ title: z.ZodString;
1175
+ application: z.ZodString;
1176
+ release: z.ZodString;
1177
+ start: z.ZodObject<{
1178
+ url: z.ZodString;
1179
+ }, "strict", z.ZodTypeAny, {
1180
+ url: string;
1181
+ }, {
1182
+ url: string;
1183
+ }>;
1184
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1185
+ id: z.ZodString;
1186
+ action: z.ZodLiteral<"click">;
1187
+ target: z.ZodEffects<z.ZodObject<{
1188
+ testId: z.ZodOptional<z.ZodString>;
1189
+ role: z.ZodOptional<z.ZodString>;
1190
+ name: z.ZodOptional<z.ZodString>;
1191
+ label: z.ZodOptional<z.ZodString>;
1192
+ text: z.ZodOptional<z.ZodString>;
1193
+ selector: z.ZodOptional<z.ZodString>;
1194
+ }, "strict", z.ZodTypeAny, {
1195
+ testId?: string | undefined;
1196
+ role?: string | undefined;
1197
+ label?: string | undefined;
1198
+ text?: string | undefined;
1199
+ selector?: string | undefined;
1200
+ name?: string | undefined;
1201
+ }, {
1202
+ testId?: string | undefined;
1203
+ role?: string | undefined;
1204
+ label?: string | undefined;
1205
+ text?: string | undefined;
1206
+ selector?: string | undefined;
1207
+ name?: string | undefined;
1208
+ }>, {
1209
+ testId?: string | undefined;
1210
+ role?: string | undefined;
1211
+ label?: string | undefined;
1212
+ text?: string | undefined;
1213
+ selector?: string | undefined;
1214
+ name?: string | undefined;
1215
+ }, {
1216
+ testId?: string | undefined;
1217
+ role?: string | undefined;
1218
+ label?: string | undefined;
1219
+ text?: string | undefined;
1220
+ selector?: string | undefined;
1221
+ name?: string | undefined;
1222
+ }>;
1223
+ instruction: z.ZodString;
1224
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1225
+ }, "strict", z.ZodTypeAny, {
1226
+ id: string;
1227
+ action: "click";
1228
+ target: {
1229
+ testId?: string | undefined;
1230
+ role?: string | undefined;
1231
+ label?: string | undefined;
1232
+ text?: string | undefined;
1233
+ selector?: string | undefined;
1234
+ name?: string | undefined;
1235
+ };
1236
+ instruction: string;
1237
+ autoAdvance?: boolean | undefined;
1238
+ }, {
1239
+ id: string;
1240
+ action: "click";
1241
+ target: {
1242
+ testId?: string | undefined;
1243
+ role?: string | undefined;
1244
+ label?: string | undefined;
1245
+ text?: string | undefined;
1246
+ selector?: string | undefined;
1247
+ name?: string | undefined;
1248
+ };
1249
+ instruction: string;
1250
+ autoAdvance?: boolean | undefined;
1251
+ }>, z.ZodObject<{
1252
+ id: z.ZodString;
1253
+ action: z.ZodLiteral<"input">;
1254
+ target: z.ZodEffects<z.ZodObject<{
1255
+ testId: z.ZodOptional<z.ZodString>;
1256
+ role: z.ZodOptional<z.ZodString>;
1257
+ name: z.ZodOptional<z.ZodString>;
1258
+ label: z.ZodOptional<z.ZodString>;
1259
+ text: z.ZodOptional<z.ZodString>;
1260
+ selector: z.ZodOptional<z.ZodString>;
1261
+ }, "strict", z.ZodTypeAny, {
1262
+ testId?: string | undefined;
1263
+ role?: string | undefined;
1264
+ label?: string | undefined;
1265
+ text?: string | undefined;
1266
+ selector?: string | undefined;
1267
+ name?: string | undefined;
1268
+ }, {
1269
+ testId?: string | undefined;
1270
+ role?: string | undefined;
1271
+ label?: string | undefined;
1272
+ text?: string | undefined;
1273
+ selector?: string | undefined;
1274
+ name?: string | undefined;
1275
+ }>, {
1276
+ testId?: string | undefined;
1277
+ role?: string | undefined;
1278
+ label?: string | undefined;
1279
+ text?: string | undefined;
1280
+ selector?: string | undefined;
1281
+ name?: string | undefined;
1282
+ }, {
1283
+ testId?: string | undefined;
1284
+ role?: string | undefined;
1285
+ label?: string | undefined;
1286
+ text?: string | undefined;
1287
+ selector?: string | undefined;
1288
+ name?: string | undefined;
1289
+ }>;
1290
+ value: z.ZodString;
1291
+ instruction: z.ZodString;
1292
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1293
+ }, "strict", z.ZodTypeAny, {
1294
+ value: string;
1295
+ id: string;
1296
+ action: "input";
1297
+ target: {
1298
+ testId?: string | undefined;
1299
+ role?: string | undefined;
1300
+ label?: string | undefined;
1301
+ text?: string | undefined;
1302
+ selector?: string | undefined;
1303
+ name?: string | undefined;
1304
+ };
1305
+ instruction: string;
1306
+ autoAdvance?: boolean | undefined;
1307
+ }, {
1308
+ value: string;
1309
+ id: string;
1310
+ action: "input";
1311
+ target: {
1312
+ testId?: string | undefined;
1313
+ role?: string | undefined;
1314
+ label?: string | undefined;
1315
+ text?: string | undefined;
1316
+ selector?: string | undefined;
1317
+ name?: string | undefined;
1318
+ };
1319
+ instruction: string;
1320
+ autoAdvance?: boolean | undefined;
1321
+ }>, z.ZodObject<{
1322
+ id: z.ZodString;
1323
+ action: z.ZodLiteral<"select">;
1324
+ target: z.ZodEffects<z.ZodObject<{
1325
+ testId: z.ZodOptional<z.ZodString>;
1326
+ role: z.ZodOptional<z.ZodString>;
1327
+ name: z.ZodOptional<z.ZodString>;
1328
+ label: z.ZodOptional<z.ZodString>;
1329
+ text: z.ZodOptional<z.ZodString>;
1330
+ selector: z.ZodOptional<z.ZodString>;
1331
+ }, "strict", z.ZodTypeAny, {
1332
+ testId?: string | undefined;
1333
+ role?: string | undefined;
1334
+ label?: string | undefined;
1335
+ text?: string | undefined;
1336
+ selector?: string | undefined;
1337
+ name?: string | undefined;
1338
+ }, {
1339
+ testId?: string | undefined;
1340
+ role?: string | undefined;
1341
+ label?: string | undefined;
1342
+ text?: string | undefined;
1343
+ selector?: string | undefined;
1344
+ name?: string | undefined;
1345
+ }>, {
1346
+ testId?: string | undefined;
1347
+ role?: string | undefined;
1348
+ label?: string | undefined;
1349
+ text?: string | undefined;
1350
+ selector?: string | undefined;
1351
+ name?: string | undefined;
1352
+ }, {
1353
+ testId?: string | undefined;
1354
+ role?: string | undefined;
1355
+ label?: string | undefined;
1356
+ text?: string | undefined;
1357
+ selector?: string | undefined;
1358
+ name?: string | undefined;
1359
+ }>;
1360
+ value: z.ZodString;
1361
+ instruction: z.ZodString;
1362
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1363
+ }, "strict", z.ZodTypeAny, {
1364
+ value: string;
1365
+ id: string;
1366
+ action: "select";
1367
+ target: {
1368
+ testId?: string | undefined;
1369
+ role?: string | undefined;
1370
+ label?: string | undefined;
1371
+ text?: string | undefined;
1372
+ selector?: string | undefined;
1373
+ name?: string | undefined;
1374
+ };
1375
+ instruction: string;
1376
+ autoAdvance?: boolean | undefined;
1377
+ }, {
1378
+ value: string;
1379
+ id: string;
1380
+ action: "select";
1381
+ target: {
1382
+ testId?: string | undefined;
1383
+ role?: string | undefined;
1384
+ label?: string | undefined;
1385
+ text?: string | undefined;
1386
+ selector?: string | undefined;
1387
+ name?: string | undefined;
1388
+ };
1389
+ instruction: string;
1390
+ autoAdvance?: boolean | undefined;
1391
+ }>, z.ZodObject<{
1392
+ id: z.ZodString;
1393
+ action: z.ZodLiteral<"verify">;
1394
+ target: z.ZodEffects<z.ZodObject<{
1395
+ testId: z.ZodOptional<z.ZodString>;
1396
+ role: z.ZodOptional<z.ZodString>;
1397
+ name: z.ZodOptional<z.ZodString>;
1398
+ label: z.ZodOptional<z.ZodString>;
1399
+ text: z.ZodOptional<z.ZodString>;
1400
+ selector: z.ZodOptional<z.ZodString>;
1401
+ }, "strict", z.ZodTypeAny, {
1402
+ testId?: string | undefined;
1403
+ role?: string | undefined;
1404
+ label?: string | undefined;
1405
+ text?: string | undefined;
1406
+ selector?: string | undefined;
1407
+ name?: string | undefined;
1408
+ }, {
1409
+ testId?: string | undefined;
1410
+ role?: string | undefined;
1411
+ label?: string | undefined;
1412
+ text?: string | undefined;
1413
+ selector?: string | undefined;
1414
+ name?: string | undefined;
1415
+ }>, {
1416
+ testId?: string | undefined;
1417
+ role?: string | undefined;
1418
+ label?: string | undefined;
1419
+ text?: string | undefined;
1420
+ selector?: string | undefined;
1421
+ name?: string | undefined;
1422
+ }, {
1423
+ testId?: string | undefined;
1424
+ role?: string | undefined;
1425
+ label?: string | undefined;
1426
+ text?: string | undefined;
1427
+ selector?: string | undefined;
1428
+ name?: string | undefined;
1429
+ }>;
1430
+ instruction: z.ZodString;
1431
+ }, "strict", z.ZodTypeAny, {
1432
+ id: string;
1433
+ action: "verify";
1434
+ target: {
1435
+ testId?: string | undefined;
1436
+ role?: string | undefined;
1437
+ label?: string | undefined;
1438
+ text?: string | undefined;
1439
+ selector?: string | undefined;
1440
+ name?: string | undefined;
1441
+ };
1442
+ instruction: string;
1443
+ }, {
1444
+ id: string;
1445
+ action: "verify";
1446
+ target: {
1447
+ testId?: string | undefined;
1448
+ role?: string | undefined;
1449
+ label?: string | undefined;
1450
+ text?: string | undefined;
1451
+ selector?: string | undefined;
1452
+ name?: string | undefined;
1453
+ };
1454
+ instruction: string;
1455
+ }>, z.ZodObject<{
1456
+ id: z.ZodString;
1457
+ action: z.ZodLiteral<"navigate">;
1458
+ url: z.ZodString;
1459
+ instruction: z.ZodString;
1460
+ }, "strict", z.ZodTypeAny, {
1461
+ id: string;
1462
+ action: "navigate";
1463
+ instruction: string;
1464
+ url: string;
1465
+ }, {
1466
+ id: string;
1467
+ action: "navigate";
1468
+ instruction: string;
1469
+ url: string;
1470
+ }>, z.ZodObject<{
1471
+ id: z.ZodString;
1472
+ action: z.ZodLiteral<"wait">;
1473
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1474
+ testId: z.ZodOptional<z.ZodString>;
1475
+ role: z.ZodOptional<z.ZodString>;
1476
+ name: z.ZodOptional<z.ZodString>;
1477
+ label: z.ZodOptional<z.ZodString>;
1478
+ text: z.ZodOptional<z.ZodString>;
1479
+ selector: z.ZodOptional<z.ZodString>;
1480
+ }, "strict", z.ZodTypeAny, {
1481
+ testId?: string | undefined;
1482
+ role?: string | undefined;
1483
+ label?: string | undefined;
1484
+ text?: string | undefined;
1485
+ selector?: string | undefined;
1486
+ name?: string | undefined;
1487
+ }, {
1488
+ testId?: string | undefined;
1489
+ role?: string | undefined;
1490
+ label?: string | undefined;
1491
+ text?: string | undefined;
1492
+ selector?: string | undefined;
1493
+ name?: string | undefined;
1494
+ }>, {
1495
+ testId?: string | undefined;
1496
+ role?: string | undefined;
1497
+ label?: string | undefined;
1498
+ text?: string | undefined;
1499
+ selector?: string | undefined;
1500
+ name?: string | undefined;
1501
+ }, {
1502
+ testId?: string | undefined;
1503
+ role?: string | undefined;
1504
+ label?: string | undefined;
1505
+ text?: string | undefined;
1506
+ selector?: string | undefined;
1507
+ name?: string | undefined;
1508
+ }>>;
1509
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1510
+ instruction: z.ZodString;
1511
+ }, "strict", z.ZodTypeAny, {
1512
+ id: string;
1513
+ action: "wait";
1514
+ instruction: string;
1515
+ target?: {
1516
+ testId?: string | undefined;
1517
+ role?: string | undefined;
1518
+ label?: string | undefined;
1519
+ text?: string | undefined;
1520
+ selector?: string | undefined;
1521
+ name?: string | undefined;
1522
+ } | undefined;
1523
+ timeoutMs?: number | undefined;
1524
+ }, {
1525
+ id: string;
1526
+ action: "wait";
1527
+ instruction: string;
1528
+ target?: {
1529
+ testId?: string | undefined;
1530
+ role?: string | undefined;
1531
+ label?: string | undefined;
1532
+ text?: string | undefined;
1533
+ selector?: string | undefined;
1534
+ name?: string | undefined;
1535
+ } | undefined;
1536
+ timeoutMs?: number | undefined;
1537
+ }>]>, "many">;
1538
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1539
+ id: z.ZodString;
1540
+ title: z.ZodString;
1541
+ application: z.ZodString;
1542
+ release: z.ZodString;
1543
+ start: z.ZodObject<{
1544
+ url: z.ZodString;
1545
+ }, "strict", z.ZodTypeAny, {
1546
+ url: string;
1547
+ }, {
1548
+ url: string;
1549
+ }>;
1550
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1551
+ id: z.ZodString;
1552
+ action: z.ZodLiteral<"click">;
1553
+ target: z.ZodEffects<z.ZodObject<{
1554
+ testId: z.ZodOptional<z.ZodString>;
1555
+ role: z.ZodOptional<z.ZodString>;
1556
+ name: z.ZodOptional<z.ZodString>;
1557
+ label: z.ZodOptional<z.ZodString>;
1558
+ text: z.ZodOptional<z.ZodString>;
1559
+ selector: z.ZodOptional<z.ZodString>;
1560
+ }, "strict", z.ZodTypeAny, {
1561
+ testId?: string | undefined;
1562
+ role?: string | undefined;
1563
+ label?: string | undefined;
1564
+ text?: string | undefined;
1565
+ selector?: string | undefined;
1566
+ name?: string | undefined;
1567
+ }, {
1568
+ testId?: string | undefined;
1569
+ role?: string | undefined;
1570
+ label?: string | undefined;
1571
+ text?: string | undefined;
1572
+ selector?: string | undefined;
1573
+ name?: string | undefined;
1574
+ }>, {
1575
+ testId?: string | undefined;
1576
+ role?: string | undefined;
1577
+ label?: string | undefined;
1578
+ text?: string | undefined;
1579
+ selector?: string | undefined;
1580
+ name?: string | undefined;
1581
+ }, {
1582
+ testId?: string | undefined;
1583
+ role?: string | undefined;
1584
+ label?: string | undefined;
1585
+ text?: string | undefined;
1586
+ selector?: string | undefined;
1587
+ name?: string | undefined;
1588
+ }>;
1589
+ instruction: z.ZodString;
1590
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1591
+ }, "strict", z.ZodTypeAny, {
1592
+ id: string;
1593
+ action: "click";
1594
+ target: {
1595
+ testId?: string | undefined;
1596
+ role?: string | undefined;
1597
+ label?: string | undefined;
1598
+ text?: string | undefined;
1599
+ selector?: string | undefined;
1600
+ name?: string | undefined;
1601
+ };
1602
+ instruction: string;
1603
+ autoAdvance?: boolean | undefined;
1604
+ }, {
1605
+ id: string;
1606
+ action: "click";
1607
+ target: {
1608
+ testId?: string | undefined;
1609
+ role?: string | undefined;
1610
+ label?: string | undefined;
1611
+ text?: string | undefined;
1612
+ selector?: string | undefined;
1613
+ name?: string | undefined;
1614
+ };
1615
+ instruction: string;
1616
+ autoAdvance?: boolean | undefined;
1617
+ }>, z.ZodObject<{
1618
+ id: z.ZodString;
1619
+ action: z.ZodLiteral<"input">;
1620
+ target: z.ZodEffects<z.ZodObject<{
1621
+ testId: z.ZodOptional<z.ZodString>;
1622
+ role: z.ZodOptional<z.ZodString>;
1623
+ name: z.ZodOptional<z.ZodString>;
1624
+ label: z.ZodOptional<z.ZodString>;
1625
+ text: z.ZodOptional<z.ZodString>;
1626
+ selector: z.ZodOptional<z.ZodString>;
1627
+ }, "strict", z.ZodTypeAny, {
1628
+ testId?: string | undefined;
1629
+ role?: string | undefined;
1630
+ label?: string | undefined;
1631
+ text?: string | undefined;
1632
+ selector?: string | undefined;
1633
+ name?: string | undefined;
1634
+ }, {
1635
+ testId?: string | undefined;
1636
+ role?: string | undefined;
1637
+ label?: string | undefined;
1638
+ text?: string | undefined;
1639
+ selector?: string | undefined;
1640
+ name?: string | undefined;
1641
+ }>, {
1642
+ testId?: string | undefined;
1643
+ role?: string | undefined;
1644
+ label?: string | undefined;
1645
+ text?: string | undefined;
1646
+ selector?: string | undefined;
1647
+ name?: string | undefined;
1648
+ }, {
1649
+ testId?: string | undefined;
1650
+ role?: string | undefined;
1651
+ label?: string | undefined;
1652
+ text?: string | undefined;
1653
+ selector?: string | undefined;
1654
+ name?: string | undefined;
1655
+ }>;
1656
+ value: z.ZodString;
1657
+ instruction: z.ZodString;
1658
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1659
+ }, "strict", z.ZodTypeAny, {
1660
+ value: string;
1661
+ id: string;
1662
+ action: "input";
1663
+ target: {
1664
+ testId?: string | undefined;
1665
+ role?: string | undefined;
1666
+ label?: string | undefined;
1667
+ text?: string | undefined;
1668
+ selector?: string | undefined;
1669
+ name?: string | undefined;
1670
+ };
1671
+ instruction: string;
1672
+ autoAdvance?: boolean | undefined;
1673
+ }, {
1674
+ value: string;
1675
+ id: string;
1676
+ action: "input";
1677
+ target: {
1678
+ testId?: string | undefined;
1679
+ role?: string | undefined;
1680
+ label?: string | undefined;
1681
+ text?: string | undefined;
1682
+ selector?: string | undefined;
1683
+ name?: string | undefined;
1684
+ };
1685
+ instruction: string;
1686
+ autoAdvance?: boolean | undefined;
1687
+ }>, z.ZodObject<{
1688
+ id: z.ZodString;
1689
+ action: z.ZodLiteral<"select">;
1690
+ target: z.ZodEffects<z.ZodObject<{
1691
+ testId: z.ZodOptional<z.ZodString>;
1692
+ role: z.ZodOptional<z.ZodString>;
1693
+ name: z.ZodOptional<z.ZodString>;
1694
+ label: z.ZodOptional<z.ZodString>;
1695
+ text: z.ZodOptional<z.ZodString>;
1696
+ selector: z.ZodOptional<z.ZodString>;
1697
+ }, "strict", z.ZodTypeAny, {
1698
+ testId?: string | undefined;
1699
+ role?: string | undefined;
1700
+ label?: string | undefined;
1701
+ text?: string | undefined;
1702
+ selector?: string | undefined;
1703
+ name?: string | undefined;
1704
+ }, {
1705
+ testId?: string | undefined;
1706
+ role?: string | undefined;
1707
+ label?: string | undefined;
1708
+ text?: string | undefined;
1709
+ selector?: string | undefined;
1710
+ name?: string | undefined;
1711
+ }>, {
1712
+ testId?: string | undefined;
1713
+ role?: string | undefined;
1714
+ label?: string | undefined;
1715
+ text?: string | undefined;
1716
+ selector?: string | undefined;
1717
+ name?: string | undefined;
1718
+ }, {
1719
+ testId?: string | undefined;
1720
+ role?: string | undefined;
1721
+ label?: string | undefined;
1722
+ text?: string | undefined;
1723
+ selector?: string | undefined;
1724
+ name?: string | undefined;
1725
+ }>;
1726
+ value: z.ZodString;
1727
+ instruction: z.ZodString;
1728
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1729
+ }, "strict", z.ZodTypeAny, {
1730
+ value: string;
1731
+ id: string;
1732
+ action: "select";
1733
+ target: {
1734
+ testId?: string | undefined;
1735
+ role?: string | undefined;
1736
+ label?: string | undefined;
1737
+ text?: string | undefined;
1738
+ selector?: string | undefined;
1739
+ name?: string | undefined;
1740
+ };
1741
+ instruction: string;
1742
+ autoAdvance?: boolean | undefined;
1743
+ }, {
1744
+ value: string;
1745
+ id: string;
1746
+ action: "select";
1747
+ target: {
1748
+ testId?: string | undefined;
1749
+ role?: string | undefined;
1750
+ label?: string | undefined;
1751
+ text?: string | undefined;
1752
+ selector?: string | undefined;
1753
+ name?: string | undefined;
1754
+ };
1755
+ instruction: string;
1756
+ autoAdvance?: boolean | undefined;
1757
+ }>, z.ZodObject<{
1758
+ id: z.ZodString;
1759
+ action: z.ZodLiteral<"verify">;
1760
+ target: z.ZodEffects<z.ZodObject<{
1761
+ testId: z.ZodOptional<z.ZodString>;
1762
+ role: z.ZodOptional<z.ZodString>;
1763
+ name: z.ZodOptional<z.ZodString>;
1764
+ label: z.ZodOptional<z.ZodString>;
1765
+ text: z.ZodOptional<z.ZodString>;
1766
+ selector: z.ZodOptional<z.ZodString>;
1767
+ }, "strict", z.ZodTypeAny, {
1768
+ testId?: string | undefined;
1769
+ role?: string | undefined;
1770
+ label?: string | undefined;
1771
+ text?: string | undefined;
1772
+ selector?: string | undefined;
1773
+ name?: string | undefined;
1774
+ }, {
1775
+ testId?: string | undefined;
1776
+ role?: string | undefined;
1777
+ label?: string | undefined;
1778
+ text?: string | undefined;
1779
+ selector?: string | undefined;
1780
+ name?: string | undefined;
1781
+ }>, {
1782
+ testId?: string | undefined;
1783
+ role?: string | undefined;
1784
+ label?: string | undefined;
1785
+ text?: string | undefined;
1786
+ selector?: string | undefined;
1787
+ name?: string | undefined;
1788
+ }, {
1789
+ testId?: string | undefined;
1790
+ role?: string | undefined;
1791
+ label?: string | undefined;
1792
+ text?: string | undefined;
1793
+ selector?: string | undefined;
1794
+ name?: string | undefined;
1795
+ }>;
1796
+ instruction: z.ZodString;
1797
+ }, "strict", z.ZodTypeAny, {
1798
+ id: string;
1799
+ action: "verify";
1800
+ target: {
1801
+ testId?: string | undefined;
1802
+ role?: string | undefined;
1803
+ label?: string | undefined;
1804
+ text?: string | undefined;
1805
+ selector?: string | undefined;
1806
+ name?: string | undefined;
1807
+ };
1808
+ instruction: string;
1809
+ }, {
1810
+ id: string;
1811
+ action: "verify";
1812
+ target: {
1813
+ testId?: string | undefined;
1814
+ role?: string | undefined;
1815
+ label?: string | undefined;
1816
+ text?: string | undefined;
1817
+ selector?: string | undefined;
1818
+ name?: string | undefined;
1819
+ };
1820
+ instruction: string;
1821
+ }>, z.ZodObject<{
1822
+ id: z.ZodString;
1823
+ action: z.ZodLiteral<"navigate">;
1824
+ url: z.ZodString;
1825
+ instruction: z.ZodString;
1826
+ }, "strict", z.ZodTypeAny, {
1827
+ id: string;
1828
+ action: "navigate";
1829
+ instruction: string;
1830
+ url: string;
1831
+ }, {
1832
+ id: string;
1833
+ action: "navigate";
1834
+ instruction: string;
1835
+ url: string;
1836
+ }>, z.ZodObject<{
1837
+ id: z.ZodString;
1838
+ action: z.ZodLiteral<"wait">;
1839
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1840
+ testId: z.ZodOptional<z.ZodString>;
1841
+ role: z.ZodOptional<z.ZodString>;
1842
+ name: z.ZodOptional<z.ZodString>;
1843
+ label: z.ZodOptional<z.ZodString>;
1844
+ text: z.ZodOptional<z.ZodString>;
1845
+ selector: z.ZodOptional<z.ZodString>;
1846
+ }, "strict", z.ZodTypeAny, {
1847
+ testId?: string | undefined;
1848
+ role?: string | undefined;
1849
+ label?: string | undefined;
1850
+ text?: string | undefined;
1851
+ selector?: string | undefined;
1852
+ name?: string | undefined;
1853
+ }, {
1854
+ testId?: string | undefined;
1855
+ role?: string | undefined;
1856
+ label?: string | undefined;
1857
+ text?: string | undefined;
1858
+ selector?: string | undefined;
1859
+ name?: string | undefined;
1860
+ }>, {
1861
+ testId?: string | undefined;
1862
+ role?: string | undefined;
1863
+ label?: string | undefined;
1864
+ text?: string | undefined;
1865
+ selector?: string | undefined;
1866
+ name?: string | undefined;
1867
+ }, {
1868
+ testId?: string | undefined;
1869
+ role?: string | undefined;
1870
+ label?: string | undefined;
1871
+ text?: string | undefined;
1872
+ selector?: string | undefined;
1873
+ name?: string | undefined;
1874
+ }>>;
1875
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1876
+ instruction: z.ZodString;
1877
+ }, "strict", z.ZodTypeAny, {
1878
+ id: string;
1879
+ action: "wait";
1880
+ instruction: string;
1881
+ target?: {
1882
+ testId?: string | undefined;
1883
+ role?: string | undefined;
1884
+ label?: string | undefined;
1885
+ text?: string | undefined;
1886
+ selector?: string | undefined;
1887
+ name?: string | undefined;
1888
+ } | undefined;
1889
+ timeoutMs?: number | undefined;
1890
+ }, {
1891
+ id: string;
1892
+ action: "wait";
1893
+ instruction: string;
1894
+ target?: {
1895
+ testId?: string | undefined;
1896
+ role?: string | undefined;
1897
+ label?: string | undefined;
1898
+ text?: string | undefined;
1899
+ selector?: string | undefined;
1900
+ name?: string | undefined;
1901
+ } | undefined;
1902
+ timeoutMs?: number | undefined;
1903
+ }>]>, "many">;
1904
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1905
+ id: z.ZodString;
1906
+ title: z.ZodString;
1907
+ application: z.ZodString;
1908
+ release: z.ZodString;
1909
+ start: z.ZodObject<{
1910
+ url: z.ZodString;
1911
+ }, "strict", z.ZodTypeAny, {
1912
+ url: string;
1913
+ }, {
1914
+ url: string;
1915
+ }>;
1916
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1917
+ id: z.ZodString;
1918
+ action: z.ZodLiteral<"click">;
1919
+ target: z.ZodEffects<z.ZodObject<{
1920
+ testId: z.ZodOptional<z.ZodString>;
1921
+ role: z.ZodOptional<z.ZodString>;
1922
+ name: z.ZodOptional<z.ZodString>;
1923
+ label: z.ZodOptional<z.ZodString>;
1924
+ text: z.ZodOptional<z.ZodString>;
1925
+ selector: z.ZodOptional<z.ZodString>;
1926
+ }, "strict", z.ZodTypeAny, {
1927
+ testId?: string | undefined;
1928
+ role?: string | undefined;
1929
+ label?: string | undefined;
1930
+ text?: string | undefined;
1931
+ selector?: string | undefined;
1932
+ name?: string | undefined;
1933
+ }, {
1934
+ testId?: string | undefined;
1935
+ role?: string | undefined;
1936
+ label?: string | undefined;
1937
+ text?: string | undefined;
1938
+ selector?: string | undefined;
1939
+ name?: string | undefined;
1940
+ }>, {
1941
+ testId?: string | undefined;
1942
+ role?: string | undefined;
1943
+ label?: string | undefined;
1944
+ text?: string | undefined;
1945
+ selector?: string | undefined;
1946
+ name?: string | undefined;
1947
+ }, {
1948
+ testId?: string | undefined;
1949
+ role?: string | undefined;
1950
+ label?: string | undefined;
1951
+ text?: string | undefined;
1952
+ selector?: string | undefined;
1953
+ name?: string | undefined;
1954
+ }>;
1955
+ instruction: z.ZodString;
1956
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
1957
+ }, "strict", z.ZodTypeAny, {
1958
+ id: string;
1959
+ action: "click";
1960
+ target: {
1961
+ testId?: string | undefined;
1962
+ role?: string | undefined;
1963
+ label?: string | undefined;
1964
+ text?: string | undefined;
1965
+ selector?: string | undefined;
1966
+ name?: string | undefined;
1967
+ };
1968
+ instruction: string;
1969
+ autoAdvance?: boolean | undefined;
1970
+ }, {
1971
+ id: string;
1972
+ action: "click";
1973
+ target: {
1974
+ testId?: string | undefined;
1975
+ role?: string | undefined;
1976
+ label?: string | undefined;
1977
+ text?: string | undefined;
1978
+ selector?: string | undefined;
1979
+ name?: string | undefined;
1980
+ };
1981
+ instruction: string;
1982
+ autoAdvance?: boolean | undefined;
1983
+ }>, z.ZodObject<{
1984
+ id: z.ZodString;
1985
+ action: z.ZodLiteral<"input">;
1986
+ target: z.ZodEffects<z.ZodObject<{
1987
+ testId: z.ZodOptional<z.ZodString>;
1988
+ role: z.ZodOptional<z.ZodString>;
1989
+ name: z.ZodOptional<z.ZodString>;
1990
+ label: z.ZodOptional<z.ZodString>;
1991
+ text: z.ZodOptional<z.ZodString>;
1992
+ selector: z.ZodOptional<z.ZodString>;
1993
+ }, "strict", z.ZodTypeAny, {
1994
+ testId?: string | undefined;
1995
+ role?: string | undefined;
1996
+ label?: string | undefined;
1997
+ text?: string | undefined;
1998
+ selector?: string | undefined;
1999
+ name?: string | undefined;
2000
+ }, {
2001
+ testId?: string | undefined;
2002
+ role?: string | undefined;
2003
+ label?: string | undefined;
2004
+ text?: string | undefined;
2005
+ selector?: string | undefined;
2006
+ name?: string | undefined;
2007
+ }>, {
2008
+ testId?: string | undefined;
2009
+ role?: string | undefined;
2010
+ label?: string | undefined;
2011
+ text?: string | undefined;
2012
+ selector?: string | undefined;
2013
+ name?: string | undefined;
2014
+ }, {
2015
+ testId?: string | undefined;
2016
+ role?: string | undefined;
2017
+ label?: string | undefined;
2018
+ text?: string | undefined;
2019
+ selector?: string | undefined;
2020
+ name?: string | undefined;
2021
+ }>;
2022
+ value: z.ZodString;
2023
+ instruction: z.ZodString;
2024
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2025
+ }, "strict", z.ZodTypeAny, {
2026
+ value: string;
2027
+ id: string;
2028
+ action: "input";
2029
+ target: {
2030
+ testId?: string | undefined;
2031
+ role?: string | undefined;
2032
+ label?: string | undefined;
2033
+ text?: string | undefined;
2034
+ selector?: string | undefined;
2035
+ name?: string | undefined;
2036
+ };
2037
+ instruction: string;
2038
+ autoAdvance?: boolean | undefined;
2039
+ }, {
2040
+ value: string;
2041
+ id: string;
2042
+ action: "input";
2043
+ target: {
2044
+ testId?: string | undefined;
2045
+ role?: string | undefined;
2046
+ label?: string | undefined;
2047
+ text?: string | undefined;
2048
+ selector?: string | undefined;
2049
+ name?: string | undefined;
2050
+ };
2051
+ instruction: string;
2052
+ autoAdvance?: boolean | undefined;
2053
+ }>, z.ZodObject<{
2054
+ id: z.ZodString;
2055
+ action: z.ZodLiteral<"select">;
2056
+ target: z.ZodEffects<z.ZodObject<{
2057
+ testId: z.ZodOptional<z.ZodString>;
2058
+ role: z.ZodOptional<z.ZodString>;
2059
+ name: z.ZodOptional<z.ZodString>;
2060
+ label: z.ZodOptional<z.ZodString>;
2061
+ text: z.ZodOptional<z.ZodString>;
2062
+ selector: z.ZodOptional<z.ZodString>;
2063
+ }, "strict", z.ZodTypeAny, {
2064
+ testId?: string | undefined;
2065
+ role?: string | undefined;
2066
+ label?: string | undefined;
2067
+ text?: string | undefined;
2068
+ selector?: string | undefined;
2069
+ name?: string | undefined;
2070
+ }, {
2071
+ testId?: string | undefined;
2072
+ role?: string | undefined;
2073
+ label?: string | undefined;
2074
+ text?: string | undefined;
2075
+ selector?: string | undefined;
2076
+ name?: string | undefined;
2077
+ }>, {
2078
+ testId?: string | undefined;
2079
+ role?: string | undefined;
2080
+ label?: string | undefined;
2081
+ text?: string | undefined;
2082
+ selector?: string | undefined;
2083
+ name?: string | undefined;
2084
+ }, {
2085
+ testId?: string | undefined;
2086
+ role?: string | undefined;
2087
+ label?: string | undefined;
2088
+ text?: string | undefined;
2089
+ selector?: string | undefined;
2090
+ name?: string | undefined;
2091
+ }>;
2092
+ value: z.ZodString;
2093
+ instruction: z.ZodString;
2094
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2095
+ }, "strict", z.ZodTypeAny, {
2096
+ value: string;
2097
+ id: string;
2098
+ action: "select";
2099
+ target: {
2100
+ testId?: string | undefined;
2101
+ role?: string | undefined;
2102
+ label?: string | undefined;
2103
+ text?: string | undefined;
2104
+ selector?: string | undefined;
2105
+ name?: string | undefined;
2106
+ };
2107
+ instruction: string;
2108
+ autoAdvance?: boolean | undefined;
2109
+ }, {
2110
+ value: string;
2111
+ id: string;
2112
+ action: "select";
2113
+ target: {
2114
+ testId?: string | undefined;
2115
+ role?: string | undefined;
2116
+ label?: string | undefined;
2117
+ text?: string | undefined;
2118
+ selector?: string | undefined;
2119
+ name?: string | undefined;
2120
+ };
2121
+ instruction: string;
2122
+ autoAdvance?: boolean | undefined;
2123
+ }>, z.ZodObject<{
2124
+ id: z.ZodString;
2125
+ action: z.ZodLiteral<"verify">;
2126
+ target: z.ZodEffects<z.ZodObject<{
2127
+ testId: z.ZodOptional<z.ZodString>;
2128
+ role: z.ZodOptional<z.ZodString>;
2129
+ name: z.ZodOptional<z.ZodString>;
2130
+ label: z.ZodOptional<z.ZodString>;
2131
+ text: z.ZodOptional<z.ZodString>;
2132
+ selector: z.ZodOptional<z.ZodString>;
2133
+ }, "strict", z.ZodTypeAny, {
2134
+ testId?: string | undefined;
2135
+ role?: string | undefined;
2136
+ label?: string | undefined;
2137
+ text?: string | undefined;
2138
+ selector?: string | undefined;
2139
+ name?: string | undefined;
2140
+ }, {
2141
+ testId?: string | undefined;
2142
+ role?: string | undefined;
2143
+ label?: string | undefined;
2144
+ text?: string | undefined;
2145
+ selector?: string | undefined;
2146
+ name?: string | undefined;
2147
+ }>, {
2148
+ testId?: string | undefined;
2149
+ role?: string | undefined;
2150
+ label?: string | undefined;
2151
+ text?: string | undefined;
2152
+ selector?: string | undefined;
2153
+ name?: string | undefined;
2154
+ }, {
2155
+ testId?: string | undefined;
2156
+ role?: string | undefined;
2157
+ label?: string | undefined;
2158
+ text?: string | undefined;
2159
+ selector?: string | undefined;
2160
+ name?: string | undefined;
2161
+ }>;
2162
+ instruction: z.ZodString;
2163
+ }, "strict", z.ZodTypeAny, {
2164
+ id: string;
2165
+ action: "verify";
2166
+ target: {
2167
+ testId?: string | undefined;
2168
+ role?: string | undefined;
2169
+ label?: string | undefined;
2170
+ text?: string | undefined;
2171
+ selector?: string | undefined;
2172
+ name?: string | undefined;
2173
+ };
2174
+ instruction: string;
2175
+ }, {
2176
+ id: string;
2177
+ action: "verify";
2178
+ target: {
2179
+ testId?: string | undefined;
2180
+ role?: string | undefined;
2181
+ label?: string | undefined;
2182
+ text?: string | undefined;
2183
+ selector?: string | undefined;
2184
+ name?: string | undefined;
2185
+ };
2186
+ instruction: string;
2187
+ }>, z.ZodObject<{
2188
+ id: z.ZodString;
2189
+ action: z.ZodLiteral<"navigate">;
2190
+ url: z.ZodString;
2191
+ instruction: z.ZodString;
2192
+ }, "strict", z.ZodTypeAny, {
2193
+ id: string;
2194
+ action: "navigate";
2195
+ instruction: string;
2196
+ url: string;
2197
+ }, {
2198
+ id: string;
2199
+ action: "navigate";
2200
+ instruction: string;
2201
+ url: string;
2202
+ }>, z.ZodObject<{
2203
+ id: z.ZodString;
2204
+ action: z.ZodLiteral<"wait">;
2205
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2206
+ testId: z.ZodOptional<z.ZodString>;
2207
+ role: z.ZodOptional<z.ZodString>;
2208
+ name: z.ZodOptional<z.ZodString>;
2209
+ label: z.ZodOptional<z.ZodString>;
2210
+ text: z.ZodOptional<z.ZodString>;
2211
+ selector: z.ZodOptional<z.ZodString>;
2212
+ }, "strict", z.ZodTypeAny, {
2213
+ testId?: string | undefined;
2214
+ role?: string | undefined;
2215
+ label?: string | undefined;
2216
+ text?: string | undefined;
2217
+ selector?: string | undefined;
2218
+ name?: string | undefined;
2219
+ }, {
2220
+ testId?: string | undefined;
2221
+ role?: string | undefined;
2222
+ label?: string | undefined;
2223
+ text?: string | undefined;
2224
+ selector?: string | undefined;
2225
+ name?: string | undefined;
2226
+ }>, {
2227
+ testId?: string | undefined;
2228
+ role?: string | undefined;
2229
+ label?: string | undefined;
2230
+ text?: string | undefined;
2231
+ selector?: string | undefined;
2232
+ name?: string | undefined;
2233
+ }, {
2234
+ testId?: string | undefined;
2235
+ role?: string | undefined;
2236
+ label?: string | undefined;
2237
+ text?: string | undefined;
2238
+ selector?: string | undefined;
2239
+ name?: string | undefined;
2240
+ }>>;
2241
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2242
+ instruction: z.ZodString;
2243
+ }, "strict", z.ZodTypeAny, {
2244
+ id: string;
2245
+ action: "wait";
2246
+ instruction: string;
2247
+ target?: {
2248
+ testId?: string | undefined;
2249
+ role?: string | undefined;
2250
+ label?: string | undefined;
2251
+ text?: string | undefined;
2252
+ selector?: string | undefined;
2253
+ name?: string | undefined;
2254
+ } | undefined;
2255
+ timeoutMs?: number | undefined;
2256
+ }, {
2257
+ id: string;
2258
+ action: "wait";
2259
+ instruction: string;
2260
+ target?: {
2261
+ testId?: string | undefined;
2262
+ role?: string | undefined;
2263
+ label?: string | undefined;
2264
+ text?: string | undefined;
2265
+ selector?: string | undefined;
2266
+ name?: string | undefined;
2267
+ } | undefined;
2268
+ timeoutMs?: number | undefined;
2269
+ }>]>, "many">;
2270
+ }, z.ZodTypeAny, "passthrough">>;
2271
+ type Guide = z.infer<typeof GuideSchema>;
2272
+ /**
2273
+ * Authoring guides may extend another guide from the same release. Extension steps
2274
+ * are additive and must declare one stable insertion anchor.
2275
+ */
2276
+ declare const AuthorGuideSchema: z.ZodEffects<z.ZodObject<{
2277
+ id: z.ZodString;
2278
+ title: z.ZodString;
2279
+ application: z.ZodString;
2280
+ release: z.ZodString;
2281
+ start: z.ZodObject<{
2282
+ url: z.ZodString;
2283
+ }, "strict", z.ZodTypeAny, {
2284
+ url: string;
2285
+ }, {
2286
+ url: string;
2287
+ }>;
2288
+ extends: z.ZodOptional<z.ZodString>;
2289
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
2290
+ id: z.ZodString;
2291
+ action: z.ZodLiteral<"click">;
2292
+ target: z.ZodEffects<z.ZodObject<{
2293
+ testId: z.ZodOptional<z.ZodString>;
2294
+ role: z.ZodOptional<z.ZodString>;
2295
+ name: z.ZodOptional<z.ZodString>;
2296
+ label: z.ZodOptional<z.ZodString>;
2297
+ text: z.ZodOptional<z.ZodString>;
2298
+ selector: z.ZodOptional<z.ZodString>;
2299
+ }, "strict", z.ZodTypeAny, {
2300
+ testId?: string | undefined;
2301
+ role?: string | undefined;
2302
+ label?: string | undefined;
2303
+ text?: string | undefined;
2304
+ selector?: string | undefined;
2305
+ name?: string | undefined;
2306
+ }, {
2307
+ testId?: string | undefined;
2308
+ role?: string | undefined;
2309
+ label?: string | undefined;
2310
+ text?: string | undefined;
2311
+ selector?: string | undefined;
2312
+ name?: string | undefined;
2313
+ }>, {
2314
+ testId?: string | undefined;
2315
+ role?: string | undefined;
2316
+ label?: string | undefined;
2317
+ text?: string | undefined;
2318
+ selector?: string | undefined;
2319
+ name?: string | undefined;
2320
+ }, {
2321
+ testId?: string | undefined;
2322
+ role?: string | undefined;
2323
+ label?: string | undefined;
2324
+ text?: string | undefined;
2325
+ selector?: string | undefined;
2326
+ name?: string | undefined;
2327
+ }>;
2328
+ instruction: z.ZodString;
2329
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2330
+ } & {
2331
+ before: z.ZodOptional<z.ZodString>;
2332
+ after: z.ZodOptional<z.ZodString>;
2333
+ }, "strict", z.ZodTypeAny, {
2334
+ id: string;
2335
+ action: "click";
2336
+ target: {
2337
+ testId?: string | undefined;
2338
+ role?: string | undefined;
2339
+ label?: string | undefined;
2340
+ text?: string | undefined;
2341
+ selector?: string | undefined;
2342
+ name?: string | undefined;
2343
+ };
2344
+ instruction: string;
2345
+ autoAdvance?: boolean | undefined;
2346
+ before?: string | undefined;
2347
+ after?: string | undefined;
2348
+ }, {
2349
+ id: string;
2350
+ action: "click";
2351
+ target: {
2352
+ testId?: string | undefined;
2353
+ role?: string | undefined;
2354
+ label?: string | undefined;
2355
+ text?: string | undefined;
2356
+ selector?: string | undefined;
2357
+ name?: string | undefined;
2358
+ };
2359
+ instruction: string;
2360
+ autoAdvance?: boolean | undefined;
2361
+ before?: string | undefined;
2362
+ after?: string | undefined;
2363
+ }>, z.ZodObject<{
2364
+ id: z.ZodString;
2365
+ action: z.ZodLiteral<"input">;
2366
+ target: z.ZodEffects<z.ZodObject<{
2367
+ testId: z.ZodOptional<z.ZodString>;
2368
+ role: z.ZodOptional<z.ZodString>;
2369
+ name: z.ZodOptional<z.ZodString>;
2370
+ label: z.ZodOptional<z.ZodString>;
2371
+ text: z.ZodOptional<z.ZodString>;
2372
+ selector: z.ZodOptional<z.ZodString>;
2373
+ }, "strict", z.ZodTypeAny, {
2374
+ testId?: string | undefined;
2375
+ role?: string | undefined;
2376
+ label?: string | undefined;
2377
+ text?: string | undefined;
2378
+ selector?: string | undefined;
2379
+ name?: string | undefined;
2380
+ }, {
2381
+ testId?: string | undefined;
2382
+ role?: string | undefined;
2383
+ label?: string | undefined;
2384
+ text?: string | undefined;
2385
+ selector?: string | undefined;
2386
+ name?: string | undefined;
2387
+ }>, {
2388
+ testId?: string | undefined;
2389
+ role?: string | undefined;
2390
+ label?: string | undefined;
2391
+ text?: string | undefined;
2392
+ selector?: string | undefined;
2393
+ name?: string | undefined;
2394
+ }, {
2395
+ testId?: string | undefined;
2396
+ role?: string | undefined;
2397
+ label?: string | undefined;
2398
+ text?: string | undefined;
2399
+ selector?: string | undefined;
2400
+ name?: string | undefined;
2401
+ }>;
2402
+ value: z.ZodString;
2403
+ instruction: z.ZodString;
2404
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2405
+ } & {
2406
+ before: z.ZodOptional<z.ZodString>;
2407
+ after: z.ZodOptional<z.ZodString>;
2408
+ }, "strict", z.ZodTypeAny, {
2409
+ value: string;
2410
+ id: string;
2411
+ action: "input";
2412
+ target: {
2413
+ testId?: string | undefined;
2414
+ role?: string | undefined;
2415
+ label?: string | undefined;
2416
+ text?: string | undefined;
2417
+ selector?: string | undefined;
2418
+ name?: string | undefined;
2419
+ };
2420
+ instruction: string;
2421
+ autoAdvance?: boolean | undefined;
2422
+ before?: string | undefined;
2423
+ after?: string | undefined;
2424
+ }, {
2425
+ value: string;
2426
+ id: string;
2427
+ action: "input";
2428
+ target: {
2429
+ testId?: string | undefined;
2430
+ role?: string | undefined;
2431
+ label?: string | undefined;
2432
+ text?: string | undefined;
2433
+ selector?: string | undefined;
2434
+ name?: string | undefined;
2435
+ };
2436
+ instruction: string;
2437
+ autoAdvance?: boolean | undefined;
2438
+ before?: string | undefined;
2439
+ after?: string | undefined;
2440
+ }>, z.ZodObject<{
2441
+ id: z.ZodString;
2442
+ action: z.ZodLiteral<"select">;
2443
+ target: z.ZodEffects<z.ZodObject<{
2444
+ testId: z.ZodOptional<z.ZodString>;
2445
+ role: z.ZodOptional<z.ZodString>;
2446
+ name: z.ZodOptional<z.ZodString>;
2447
+ label: z.ZodOptional<z.ZodString>;
2448
+ text: z.ZodOptional<z.ZodString>;
2449
+ selector: z.ZodOptional<z.ZodString>;
2450
+ }, "strict", z.ZodTypeAny, {
2451
+ testId?: string | undefined;
2452
+ role?: string | undefined;
2453
+ label?: string | undefined;
2454
+ text?: string | undefined;
2455
+ selector?: string | undefined;
2456
+ name?: string | undefined;
2457
+ }, {
2458
+ testId?: string | undefined;
2459
+ role?: string | undefined;
2460
+ label?: string | undefined;
2461
+ text?: string | undefined;
2462
+ selector?: string | undefined;
2463
+ name?: string | undefined;
2464
+ }>, {
2465
+ testId?: string | undefined;
2466
+ role?: string | undefined;
2467
+ label?: string | undefined;
2468
+ text?: string | undefined;
2469
+ selector?: string | undefined;
2470
+ name?: string | undefined;
2471
+ }, {
2472
+ testId?: string | undefined;
2473
+ role?: string | undefined;
2474
+ label?: string | undefined;
2475
+ text?: string | undefined;
2476
+ selector?: string | undefined;
2477
+ name?: string | undefined;
2478
+ }>;
2479
+ value: z.ZodString;
2480
+ instruction: z.ZodString;
2481
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2482
+ } & {
2483
+ before: z.ZodOptional<z.ZodString>;
2484
+ after: z.ZodOptional<z.ZodString>;
2485
+ }, "strict", z.ZodTypeAny, {
2486
+ value: string;
2487
+ id: string;
2488
+ action: "select";
2489
+ target: {
2490
+ testId?: string | undefined;
2491
+ role?: string | undefined;
2492
+ label?: string | undefined;
2493
+ text?: string | undefined;
2494
+ selector?: string | undefined;
2495
+ name?: string | undefined;
2496
+ };
2497
+ instruction: string;
2498
+ autoAdvance?: boolean | undefined;
2499
+ before?: string | undefined;
2500
+ after?: string | undefined;
2501
+ }, {
2502
+ value: string;
2503
+ id: string;
2504
+ action: "select";
2505
+ target: {
2506
+ testId?: string | undefined;
2507
+ role?: string | undefined;
2508
+ label?: string | undefined;
2509
+ text?: string | undefined;
2510
+ selector?: string | undefined;
2511
+ name?: string | undefined;
2512
+ };
2513
+ instruction: string;
2514
+ autoAdvance?: boolean | undefined;
2515
+ before?: string | undefined;
2516
+ after?: string | undefined;
2517
+ }>, z.ZodObject<{
2518
+ id: z.ZodString;
2519
+ action: z.ZodLiteral<"verify">;
2520
+ target: z.ZodEffects<z.ZodObject<{
2521
+ testId: z.ZodOptional<z.ZodString>;
2522
+ role: z.ZodOptional<z.ZodString>;
2523
+ name: z.ZodOptional<z.ZodString>;
2524
+ label: z.ZodOptional<z.ZodString>;
2525
+ text: z.ZodOptional<z.ZodString>;
2526
+ selector: z.ZodOptional<z.ZodString>;
2527
+ }, "strict", z.ZodTypeAny, {
2528
+ testId?: string | undefined;
2529
+ role?: string | undefined;
2530
+ label?: string | undefined;
2531
+ text?: string | undefined;
2532
+ selector?: string | undefined;
2533
+ name?: string | undefined;
2534
+ }, {
2535
+ testId?: string | undefined;
2536
+ role?: string | undefined;
2537
+ label?: string | undefined;
2538
+ text?: string | undefined;
2539
+ selector?: string | undefined;
2540
+ name?: string | undefined;
2541
+ }>, {
2542
+ testId?: string | undefined;
2543
+ role?: string | undefined;
2544
+ label?: string | undefined;
2545
+ text?: string | undefined;
2546
+ selector?: string | undefined;
2547
+ name?: string | undefined;
2548
+ }, {
2549
+ testId?: string | undefined;
2550
+ role?: string | undefined;
2551
+ label?: string | undefined;
2552
+ text?: string | undefined;
2553
+ selector?: string | undefined;
2554
+ name?: string | undefined;
2555
+ }>;
2556
+ instruction: z.ZodString;
2557
+ } & {
2558
+ before: z.ZodOptional<z.ZodString>;
2559
+ after: z.ZodOptional<z.ZodString>;
2560
+ }, "strict", z.ZodTypeAny, {
2561
+ id: string;
2562
+ action: "verify";
2563
+ target: {
2564
+ testId?: string | undefined;
2565
+ role?: string | undefined;
2566
+ label?: string | undefined;
2567
+ text?: string | undefined;
2568
+ selector?: string | undefined;
2569
+ name?: string | undefined;
2570
+ };
2571
+ instruction: string;
2572
+ before?: string | undefined;
2573
+ after?: string | undefined;
2574
+ }, {
2575
+ id: string;
2576
+ action: "verify";
2577
+ target: {
2578
+ testId?: string | undefined;
2579
+ role?: string | undefined;
2580
+ label?: string | undefined;
2581
+ text?: string | undefined;
2582
+ selector?: string | undefined;
2583
+ name?: string | undefined;
2584
+ };
2585
+ instruction: string;
2586
+ before?: string | undefined;
2587
+ after?: string | undefined;
2588
+ }>, z.ZodObject<{
2589
+ id: z.ZodString;
2590
+ action: z.ZodLiteral<"navigate">;
2591
+ url: z.ZodString;
2592
+ instruction: z.ZodString;
2593
+ } & {
2594
+ before: z.ZodOptional<z.ZodString>;
2595
+ after: z.ZodOptional<z.ZodString>;
2596
+ }, "strict", z.ZodTypeAny, {
2597
+ id: string;
2598
+ action: "navigate";
2599
+ instruction: string;
2600
+ url: string;
2601
+ before?: string | undefined;
2602
+ after?: string | undefined;
2603
+ }, {
2604
+ id: string;
2605
+ action: "navigate";
2606
+ instruction: string;
2607
+ url: string;
2608
+ before?: string | undefined;
2609
+ after?: string | undefined;
2610
+ }>, z.ZodObject<{
2611
+ id: z.ZodString;
2612
+ action: z.ZodLiteral<"wait">;
2613
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2614
+ testId: z.ZodOptional<z.ZodString>;
2615
+ role: z.ZodOptional<z.ZodString>;
2616
+ name: z.ZodOptional<z.ZodString>;
2617
+ label: z.ZodOptional<z.ZodString>;
2618
+ text: z.ZodOptional<z.ZodString>;
2619
+ selector: z.ZodOptional<z.ZodString>;
2620
+ }, "strict", z.ZodTypeAny, {
2621
+ testId?: string | undefined;
2622
+ role?: string | undefined;
2623
+ label?: string | undefined;
2624
+ text?: string | undefined;
2625
+ selector?: string | undefined;
2626
+ name?: string | undefined;
2627
+ }, {
2628
+ testId?: string | undefined;
2629
+ role?: string | undefined;
2630
+ label?: string | undefined;
2631
+ text?: string | undefined;
2632
+ selector?: string | undefined;
2633
+ name?: string | undefined;
2634
+ }>, {
2635
+ testId?: string | undefined;
2636
+ role?: string | undefined;
2637
+ label?: string | undefined;
2638
+ text?: string | undefined;
2639
+ selector?: string | undefined;
2640
+ name?: string | undefined;
2641
+ }, {
2642
+ testId?: string | undefined;
2643
+ role?: string | undefined;
2644
+ label?: string | undefined;
2645
+ text?: string | undefined;
2646
+ selector?: string | undefined;
2647
+ name?: string | undefined;
2648
+ }>>;
2649
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2650
+ instruction: z.ZodString;
2651
+ } & {
2652
+ before: z.ZodOptional<z.ZodString>;
2653
+ after: z.ZodOptional<z.ZodString>;
2654
+ }, "strict", z.ZodTypeAny, {
2655
+ id: string;
2656
+ action: "wait";
2657
+ instruction: string;
2658
+ target?: {
2659
+ testId?: string | undefined;
2660
+ role?: string | undefined;
2661
+ label?: string | undefined;
2662
+ text?: string | undefined;
2663
+ selector?: string | undefined;
2664
+ name?: string | undefined;
2665
+ } | undefined;
2666
+ timeoutMs?: number | undefined;
2667
+ before?: string | undefined;
2668
+ after?: string | undefined;
2669
+ }, {
2670
+ id: string;
2671
+ action: "wait";
2672
+ instruction: string;
2673
+ target?: {
2674
+ testId?: string | undefined;
2675
+ role?: string | undefined;
2676
+ label?: string | undefined;
2677
+ text?: string | undefined;
2678
+ selector?: string | undefined;
2679
+ name?: string | undefined;
2680
+ } | undefined;
2681
+ timeoutMs?: number | undefined;
2682
+ before?: string | undefined;
2683
+ after?: string | undefined;
2684
+ }>]>, "many">;
2685
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2686
+ id: z.ZodString;
2687
+ title: z.ZodString;
2688
+ application: z.ZodString;
2689
+ release: z.ZodString;
2690
+ start: z.ZodObject<{
2691
+ url: z.ZodString;
2692
+ }, "strict", z.ZodTypeAny, {
2693
+ url: string;
2694
+ }, {
2695
+ url: string;
2696
+ }>;
2697
+ extends: z.ZodOptional<z.ZodString>;
2698
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
2699
+ id: z.ZodString;
2700
+ action: z.ZodLiteral<"click">;
2701
+ target: z.ZodEffects<z.ZodObject<{
2702
+ testId: z.ZodOptional<z.ZodString>;
2703
+ role: z.ZodOptional<z.ZodString>;
2704
+ name: z.ZodOptional<z.ZodString>;
2705
+ label: z.ZodOptional<z.ZodString>;
2706
+ text: z.ZodOptional<z.ZodString>;
2707
+ selector: z.ZodOptional<z.ZodString>;
2708
+ }, "strict", z.ZodTypeAny, {
2709
+ testId?: string | undefined;
2710
+ role?: string | undefined;
2711
+ label?: string | undefined;
2712
+ text?: string | undefined;
2713
+ selector?: string | undefined;
2714
+ name?: string | undefined;
2715
+ }, {
2716
+ testId?: string | undefined;
2717
+ role?: string | undefined;
2718
+ label?: string | undefined;
2719
+ text?: string | undefined;
2720
+ selector?: string | undefined;
2721
+ name?: string | undefined;
2722
+ }>, {
2723
+ testId?: string | undefined;
2724
+ role?: string | undefined;
2725
+ label?: string | undefined;
2726
+ text?: string | undefined;
2727
+ selector?: string | undefined;
2728
+ name?: string | undefined;
2729
+ }, {
2730
+ testId?: string | undefined;
2731
+ role?: string | undefined;
2732
+ label?: string | undefined;
2733
+ text?: string | undefined;
2734
+ selector?: string | undefined;
2735
+ name?: string | undefined;
2736
+ }>;
2737
+ instruction: z.ZodString;
2738
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2739
+ } & {
2740
+ before: z.ZodOptional<z.ZodString>;
2741
+ after: z.ZodOptional<z.ZodString>;
2742
+ }, "strict", z.ZodTypeAny, {
2743
+ id: string;
2744
+ action: "click";
2745
+ target: {
2746
+ testId?: string | undefined;
2747
+ role?: string | undefined;
2748
+ label?: string | undefined;
2749
+ text?: string | undefined;
2750
+ selector?: string | undefined;
2751
+ name?: string | undefined;
2752
+ };
2753
+ instruction: string;
2754
+ autoAdvance?: boolean | undefined;
2755
+ before?: string | undefined;
2756
+ after?: string | undefined;
2757
+ }, {
2758
+ id: string;
2759
+ action: "click";
2760
+ target: {
2761
+ testId?: string | undefined;
2762
+ role?: string | undefined;
2763
+ label?: string | undefined;
2764
+ text?: string | undefined;
2765
+ selector?: string | undefined;
2766
+ name?: string | undefined;
2767
+ };
2768
+ instruction: string;
2769
+ autoAdvance?: boolean | undefined;
2770
+ before?: string | undefined;
2771
+ after?: string | undefined;
2772
+ }>, z.ZodObject<{
2773
+ id: z.ZodString;
2774
+ action: z.ZodLiteral<"input">;
2775
+ target: z.ZodEffects<z.ZodObject<{
2776
+ testId: z.ZodOptional<z.ZodString>;
2777
+ role: z.ZodOptional<z.ZodString>;
2778
+ name: z.ZodOptional<z.ZodString>;
2779
+ label: z.ZodOptional<z.ZodString>;
2780
+ text: z.ZodOptional<z.ZodString>;
2781
+ selector: z.ZodOptional<z.ZodString>;
2782
+ }, "strict", z.ZodTypeAny, {
2783
+ testId?: string | undefined;
2784
+ role?: string | undefined;
2785
+ label?: string | undefined;
2786
+ text?: string | undefined;
2787
+ selector?: string | undefined;
2788
+ name?: string | undefined;
2789
+ }, {
2790
+ testId?: string | undefined;
2791
+ role?: string | undefined;
2792
+ label?: string | undefined;
2793
+ text?: string | undefined;
2794
+ selector?: string | undefined;
2795
+ name?: string | undefined;
2796
+ }>, {
2797
+ testId?: string | undefined;
2798
+ role?: string | undefined;
2799
+ label?: string | undefined;
2800
+ text?: string | undefined;
2801
+ selector?: string | undefined;
2802
+ name?: string | undefined;
2803
+ }, {
2804
+ testId?: string | undefined;
2805
+ role?: string | undefined;
2806
+ label?: string | undefined;
2807
+ text?: string | undefined;
2808
+ selector?: string | undefined;
2809
+ name?: string | undefined;
2810
+ }>;
2811
+ value: z.ZodString;
2812
+ instruction: z.ZodString;
2813
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2814
+ } & {
2815
+ before: z.ZodOptional<z.ZodString>;
2816
+ after: z.ZodOptional<z.ZodString>;
2817
+ }, "strict", z.ZodTypeAny, {
2818
+ value: string;
2819
+ id: string;
2820
+ action: "input";
2821
+ target: {
2822
+ testId?: string | undefined;
2823
+ role?: string | undefined;
2824
+ label?: string | undefined;
2825
+ text?: string | undefined;
2826
+ selector?: string | undefined;
2827
+ name?: string | undefined;
2828
+ };
2829
+ instruction: string;
2830
+ autoAdvance?: boolean | undefined;
2831
+ before?: string | undefined;
2832
+ after?: string | undefined;
2833
+ }, {
2834
+ value: string;
2835
+ id: string;
2836
+ action: "input";
2837
+ target: {
2838
+ testId?: string | undefined;
2839
+ role?: string | undefined;
2840
+ label?: string | undefined;
2841
+ text?: string | undefined;
2842
+ selector?: string | undefined;
2843
+ name?: string | undefined;
2844
+ };
2845
+ instruction: string;
2846
+ autoAdvance?: boolean | undefined;
2847
+ before?: string | undefined;
2848
+ after?: string | undefined;
2849
+ }>, z.ZodObject<{
2850
+ id: z.ZodString;
2851
+ action: z.ZodLiteral<"select">;
2852
+ target: z.ZodEffects<z.ZodObject<{
2853
+ testId: z.ZodOptional<z.ZodString>;
2854
+ role: z.ZodOptional<z.ZodString>;
2855
+ name: z.ZodOptional<z.ZodString>;
2856
+ label: z.ZodOptional<z.ZodString>;
2857
+ text: z.ZodOptional<z.ZodString>;
2858
+ selector: z.ZodOptional<z.ZodString>;
2859
+ }, "strict", z.ZodTypeAny, {
2860
+ testId?: string | undefined;
2861
+ role?: string | undefined;
2862
+ label?: string | undefined;
2863
+ text?: string | undefined;
2864
+ selector?: string | undefined;
2865
+ name?: string | undefined;
2866
+ }, {
2867
+ testId?: string | undefined;
2868
+ role?: string | undefined;
2869
+ label?: string | undefined;
2870
+ text?: string | undefined;
2871
+ selector?: string | undefined;
2872
+ name?: string | undefined;
2873
+ }>, {
2874
+ testId?: string | undefined;
2875
+ role?: string | undefined;
2876
+ label?: string | undefined;
2877
+ text?: string | undefined;
2878
+ selector?: string | undefined;
2879
+ name?: string | undefined;
2880
+ }, {
2881
+ testId?: string | undefined;
2882
+ role?: string | undefined;
2883
+ label?: string | undefined;
2884
+ text?: string | undefined;
2885
+ selector?: string | undefined;
2886
+ name?: string | undefined;
2887
+ }>;
2888
+ value: z.ZodString;
2889
+ instruction: z.ZodString;
2890
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
2891
+ } & {
2892
+ before: z.ZodOptional<z.ZodString>;
2893
+ after: z.ZodOptional<z.ZodString>;
2894
+ }, "strict", z.ZodTypeAny, {
2895
+ value: string;
2896
+ id: string;
2897
+ action: "select";
2898
+ target: {
2899
+ testId?: string | undefined;
2900
+ role?: string | undefined;
2901
+ label?: string | undefined;
2902
+ text?: string | undefined;
2903
+ selector?: string | undefined;
2904
+ name?: string | undefined;
2905
+ };
2906
+ instruction: string;
2907
+ autoAdvance?: boolean | undefined;
2908
+ before?: string | undefined;
2909
+ after?: string | undefined;
2910
+ }, {
2911
+ value: string;
2912
+ id: string;
2913
+ action: "select";
2914
+ target: {
2915
+ testId?: string | undefined;
2916
+ role?: string | undefined;
2917
+ label?: string | undefined;
2918
+ text?: string | undefined;
2919
+ selector?: string | undefined;
2920
+ name?: string | undefined;
2921
+ };
2922
+ instruction: string;
2923
+ autoAdvance?: boolean | undefined;
2924
+ before?: string | undefined;
2925
+ after?: string | undefined;
2926
+ }>, z.ZodObject<{
2927
+ id: z.ZodString;
2928
+ action: z.ZodLiteral<"verify">;
2929
+ target: z.ZodEffects<z.ZodObject<{
2930
+ testId: z.ZodOptional<z.ZodString>;
2931
+ role: z.ZodOptional<z.ZodString>;
2932
+ name: z.ZodOptional<z.ZodString>;
2933
+ label: z.ZodOptional<z.ZodString>;
2934
+ text: z.ZodOptional<z.ZodString>;
2935
+ selector: z.ZodOptional<z.ZodString>;
2936
+ }, "strict", z.ZodTypeAny, {
2937
+ testId?: string | undefined;
2938
+ role?: string | undefined;
2939
+ label?: string | undefined;
2940
+ text?: string | undefined;
2941
+ selector?: string | undefined;
2942
+ name?: string | undefined;
2943
+ }, {
2944
+ testId?: string | undefined;
2945
+ role?: string | undefined;
2946
+ label?: string | undefined;
2947
+ text?: string | undefined;
2948
+ selector?: string | undefined;
2949
+ name?: string | undefined;
2950
+ }>, {
2951
+ testId?: string | undefined;
2952
+ role?: string | undefined;
2953
+ label?: string | undefined;
2954
+ text?: string | undefined;
2955
+ selector?: string | undefined;
2956
+ name?: string | undefined;
2957
+ }, {
2958
+ testId?: string | undefined;
2959
+ role?: string | undefined;
2960
+ label?: string | undefined;
2961
+ text?: string | undefined;
2962
+ selector?: string | undefined;
2963
+ name?: string | undefined;
2964
+ }>;
2965
+ instruction: z.ZodString;
2966
+ } & {
2967
+ before: z.ZodOptional<z.ZodString>;
2968
+ after: z.ZodOptional<z.ZodString>;
2969
+ }, "strict", z.ZodTypeAny, {
2970
+ id: string;
2971
+ action: "verify";
2972
+ target: {
2973
+ testId?: string | undefined;
2974
+ role?: string | undefined;
2975
+ label?: string | undefined;
2976
+ text?: string | undefined;
2977
+ selector?: string | undefined;
2978
+ name?: string | undefined;
2979
+ };
2980
+ instruction: string;
2981
+ before?: string | undefined;
2982
+ after?: string | undefined;
2983
+ }, {
2984
+ id: string;
2985
+ action: "verify";
2986
+ target: {
2987
+ testId?: string | undefined;
2988
+ role?: string | undefined;
2989
+ label?: string | undefined;
2990
+ text?: string | undefined;
2991
+ selector?: string | undefined;
2992
+ name?: string | undefined;
2993
+ };
2994
+ instruction: string;
2995
+ before?: string | undefined;
2996
+ after?: string | undefined;
2997
+ }>, z.ZodObject<{
2998
+ id: z.ZodString;
2999
+ action: z.ZodLiteral<"navigate">;
3000
+ url: z.ZodString;
3001
+ instruction: z.ZodString;
3002
+ } & {
3003
+ before: z.ZodOptional<z.ZodString>;
3004
+ after: z.ZodOptional<z.ZodString>;
3005
+ }, "strict", z.ZodTypeAny, {
3006
+ id: string;
3007
+ action: "navigate";
3008
+ instruction: string;
3009
+ url: string;
3010
+ before?: string | undefined;
3011
+ after?: string | undefined;
3012
+ }, {
3013
+ id: string;
3014
+ action: "navigate";
3015
+ instruction: string;
3016
+ url: string;
3017
+ before?: string | undefined;
3018
+ after?: string | undefined;
3019
+ }>, z.ZodObject<{
3020
+ id: z.ZodString;
3021
+ action: z.ZodLiteral<"wait">;
3022
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3023
+ testId: z.ZodOptional<z.ZodString>;
3024
+ role: z.ZodOptional<z.ZodString>;
3025
+ name: z.ZodOptional<z.ZodString>;
3026
+ label: z.ZodOptional<z.ZodString>;
3027
+ text: z.ZodOptional<z.ZodString>;
3028
+ selector: z.ZodOptional<z.ZodString>;
3029
+ }, "strict", z.ZodTypeAny, {
3030
+ testId?: string | undefined;
3031
+ role?: string | undefined;
3032
+ label?: string | undefined;
3033
+ text?: string | undefined;
3034
+ selector?: string | undefined;
3035
+ name?: string | undefined;
3036
+ }, {
3037
+ testId?: string | undefined;
3038
+ role?: string | undefined;
3039
+ label?: string | undefined;
3040
+ text?: string | undefined;
3041
+ selector?: string | undefined;
3042
+ name?: string | undefined;
3043
+ }>, {
3044
+ testId?: string | undefined;
3045
+ role?: string | undefined;
3046
+ label?: string | undefined;
3047
+ text?: string | undefined;
3048
+ selector?: string | undefined;
3049
+ name?: string | undefined;
3050
+ }, {
3051
+ testId?: string | undefined;
3052
+ role?: string | undefined;
3053
+ label?: string | undefined;
3054
+ text?: string | undefined;
3055
+ selector?: string | undefined;
3056
+ name?: string | undefined;
3057
+ }>>;
3058
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3059
+ instruction: z.ZodString;
3060
+ } & {
3061
+ before: z.ZodOptional<z.ZodString>;
3062
+ after: z.ZodOptional<z.ZodString>;
3063
+ }, "strict", z.ZodTypeAny, {
3064
+ id: string;
3065
+ action: "wait";
3066
+ instruction: string;
3067
+ target?: {
3068
+ testId?: string | undefined;
3069
+ role?: string | undefined;
3070
+ label?: string | undefined;
3071
+ text?: string | undefined;
3072
+ selector?: string | undefined;
3073
+ name?: string | undefined;
3074
+ } | undefined;
3075
+ timeoutMs?: number | undefined;
3076
+ before?: string | undefined;
3077
+ after?: string | undefined;
3078
+ }, {
3079
+ id: string;
3080
+ action: "wait";
3081
+ instruction: string;
3082
+ target?: {
3083
+ testId?: string | undefined;
3084
+ role?: string | undefined;
3085
+ label?: string | undefined;
3086
+ text?: string | undefined;
3087
+ selector?: string | undefined;
3088
+ name?: string | undefined;
3089
+ } | undefined;
3090
+ timeoutMs?: number | undefined;
3091
+ before?: string | undefined;
3092
+ after?: string | undefined;
3093
+ }>]>, "many">;
3094
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3095
+ id: z.ZodString;
3096
+ title: z.ZodString;
3097
+ application: z.ZodString;
3098
+ release: z.ZodString;
3099
+ start: z.ZodObject<{
3100
+ url: z.ZodString;
3101
+ }, "strict", z.ZodTypeAny, {
3102
+ url: string;
3103
+ }, {
3104
+ url: string;
3105
+ }>;
3106
+ extends: z.ZodOptional<z.ZodString>;
3107
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
3108
+ id: z.ZodString;
3109
+ action: z.ZodLiteral<"click">;
3110
+ target: z.ZodEffects<z.ZodObject<{
3111
+ testId: z.ZodOptional<z.ZodString>;
3112
+ role: z.ZodOptional<z.ZodString>;
3113
+ name: z.ZodOptional<z.ZodString>;
3114
+ label: z.ZodOptional<z.ZodString>;
3115
+ text: z.ZodOptional<z.ZodString>;
3116
+ selector: z.ZodOptional<z.ZodString>;
3117
+ }, "strict", z.ZodTypeAny, {
3118
+ testId?: string | undefined;
3119
+ role?: string | undefined;
3120
+ label?: string | undefined;
3121
+ text?: string | undefined;
3122
+ selector?: string | undefined;
3123
+ name?: string | undefined;
3124
+ }, {
3125
+ testId?: string | undefined;
3126
+ role?: string | undefined;
3127
+ label?: string | undefined;
3128
+ text?: string | undefined;
3129
+ selector?: string | undefined;
3130
+ name?: string | undefined;
3131
+ }>, {
3132
+ testId?: string | undefined;
3133
+ role?: string | undefined;
3134
+ label?: string | undefined;
3135
+ text?: string | undefined;
3136
+ selector?: string | undefined;
3137
+ name?: string | undefined;
3138
+ }, {
3139
+ testId?: string | undefined;
3140
+ role?: string | undefined;
3141
+ label?: string | undefined;
3142
+ text?: string | undefined;
3143
+ selector?: string | undefined;
3144
+ name?: string | undefined;
3145
+ }>;
3146
+ instruction: z.ZodString;
3147
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3148
+ } & {
3149
+ before: z.ZodOptional<z.ZodString>;
3150
+ after: z.ZodOptional<z.ZodString>;
3151
+ }, "strict", z.ZodTypeAny, {
3152
+ id: string;
3153
+ action: "click";
3154
+ target: {
3155
+ testId?: string | undefined;
3156
+ role?: string | undefined;
3157
+ label?: string | undefined;
3158
+ text?: string | undefined;
3159
+ selector?: string | undefined;
3160
+ name?: string | undefined;
3161
+ };
3162
+ instruction: string;
3163
+ autoAdvance?: boolean | undefined;
3164
+ before?: string | undefined;
3165
+ after?: string | undefined;
3166
+ }, {
3167
+ id: string;
3168
+ action: "click";
3169
+ target: {
3170
+ testId?: string | undefined;
3171
+ role?: string | undefined;
3172
+ label?: string | undefined;
3173
+ text?: string | undefined;
3174
+ selector?: string | undefined;
3175
+ name?: string | undefined;
3176
+ };
3177
+ instruction: string;
3178
+ autoAdvance?: boolean | undefined;
3179
+ before?: string | undefined;
3180
+ after?: string | undefined;
3181
+ }>, z.ZodObject<{
3182
+ id: z.ZodString;
3183
+ action: z.ZodLiteral<"input">;
3184
+ target: z.ZodEffects<z.ZodObject<{
3185
+ testId: z.ZodOptional<z.ZodString>;
3186
+ role: z.ZodOptional<z.ZodString>;
3187
+ name: z.ZodOptional<z.ZodString>;
3188
+ label: z.ZodOptional<z.ZodString>;
3189
+ text: z.ZodOptional<z.ZodString>;
3190
+ selector: z.ZodOptional<z.ZodString>;
3191
+ }, "strict", z.ZodTypeAny, {
3192
+ testId?: string | undefined;
3193
+ role?: string | undefined;
3194
+ label?: string | undefined;
3195
+ text?: string | undefined;
3196
+ selector?: string | undefined;
3197
+ name?: string | undefined;
3198
+ }, {
3199
+ testId?: string | undefined;
3200
+ role?: string | undefined;
3201
+ label?: string | undefined;
3202
+ text?: string | undefined;
3203
+ selector?: string | undefined;
3204
+ name?: string | undefined;
3205
+ }>, {
3206
+ testId?: string | undefined;
3207
+ role?: string | undefined;
3208
+ label?: string | undefined;
3209
+ text?: string | undefined;
3210
+ selector?: string | undefined;
3211
+ name?: string | undefined;
3212
+ }, {
3213
+ testId?: string | undefined;
3214
+ role?: string | undefined;
3215
+ label?: string | undefined;
3216
+ text?: string | undefined;
3217
+ selector?: string | undefined;
3218
+ name?: string | undefined;
3219
+ }>;
3220
+ value: z.ZodString;
3221
+ instruction: z.ZodString;
3222
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3223
+ } & {
3224
+ before: z.ZodOptional<z.ZodString>;
3225
+ after: z.ZodOptional<z.ZodString>;
3226
+ }, "strict", z.ZodTypeAny, {
3227
+ value: string;
3228
+ id: string;
3229
+ action: "input";
3230
+ target: {
3231
+ testId?: string | undefined;
3232
+ role?: string | undefined;
3233
+ label?: string | undefined;
3234
+ text?: string | undefined;
3235
+ selector?: string | undefined;
3236
+ name?: string | undefined;
3237
+ };
3238
+ instruction: string;
3239
+ autoAdvance?: boolean | undefined;
3240
+ before?: string | undefined;
3241
+ after?: string | undefined;
3242
+ }, {
3243
+ value: string;
3244
+ id: string;
3245
+ action: "input";
3246
+ target: {
3247
+ testId?: string | undefined;
3248
+ role?: string | undefined;
3249
+ label?: string | undefined;
3250
+ text?: string | undefined;
3251
+ selector?: string | undefined;
3252
+ name?: string | undefined;
3253
+ };
3254
+ instruction: string;
3255
+ autoAdvance?: boolean | undefined;
3256
+ before?: string | undefined;
3257
+ after?: string | undefined;
3258
+ }>, z.ZodObject<{
3259
+ id: z.ZodString;
3260
+ action: z.ZodLiteral<"select">;
3261
+ target: z.ZodEffects<z.ZodObject<{
3262
+ testId: z.ZodOptional<z.ZodString>;
3263
+ role: z.ZodOptional<z.ZodString>;
3264
+ name: z.ZodOptional<z.ZodString>;
3265
+ label: z.ZodOptional<z.ZodString>;
3266
+ text: z.ZodOptional<z.ZodString>;
3267
+ selector: z.ZodOptional<z.ZodString>;
3268
+ }, "strict", z.ZodTypeAny, {
3269
+ testId?: string | undefined;
3270
+ role?: string | undefined;
3271
+ label?: string | undefined;
3272
+ text?: string | undefined;
3273
+ selector?: string | undefined;
3274
+ name?: string | undefined;
3275
+ }, {
3276
+ testId?: string | undefined;
3277
+ role?: string | undefined;
3278
+ label?: string | undefined;
3279
+ text?: string | undefined;
3280
+ selector?: string | undefined;
3281
+ name?: string | undefined;
3282
+ }>, {
3283
+ testId?: string | undefined;
3284
+ role?: string | undefined;
3285
+ label?: string | undefined;
3286
+ text?: string | undefined;
3287
+ selector?: string | undefined;
3288
+ name?: string | undefined;
3289
+ }, {
3290
+ testId?: string | undefined;
3291
+ role?: string | undefined;
3292
+ label?: string | undefined;
3293
+ text?: string | undefined;
3294
+ selector?: string | undefined;
3295
+ name?: string | undefined;
3296
+ }>;
3297
+ value: z.ZodString;
3298
+ instruction: z.ZodString;
3299
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3300
+ } & {
3301
+ before: z.ZodOptional<z.ZodString>;
3302
+ after: z.ZodOptional<z.ZodString>;
3303
+ }, "strict", z.ZodTypeAny, {
3304
+ value: string;
3305
+ id: string;
3306
+ action: "select";
3307
+ target: {
3308
+ testId?: string | undefined;
3309
+ role?: string | undefined;
3310
+ label?: string | undefined;
3311
+ text?: string | undefined;
3312
+ selector?: string | undefined;
3313
+ name?: string | undefined;
3314
+ };
3315
+ instruction: string;
3316
+ autoAdvance?: boolean | undefined;
3317
+ before?: string | undefined;
3318
+ after?: string | undefined;
3319
+ }, {
3320
+ value: string;
3321
+ id: string;
3322
+ action: "select";
3323
+ target: {
3324
+ testId?: string | undefined;
3325
+ role?: string | undefined;
3326
+ label?: string | undefined;
3327
+ text?: string | undefined;
3328
+ selector?: string | undefined;
3329
+ name?: string | undefined;
3330
+ };
3331
+ instruction: string;
3332
+ autoAdvance?: boolean | undefined;
3333
+ before?: string | undefined;
3334
+ after?: string | undefined;
3335
+ }>, z.ZodObject<{
3336
+ id: z.ZodString;
3337
+ action: z.ZodLiteral<"verify">;
3338
+ target: z.ZodEffects<z.ZodObject<{
3339
+ testId: z.ZodOptional<z.ZodString>;
3340
+ role: z.ZodOptional<z.ZodString>;
3341
+ name: z.ZodOptional<z.ZodString>;
3342
+ label: z.ZodOptional<z.ZodString>;
3343
+ text: z.ZodOptional<z.ZodString>;
3344
+ selector: z.ZodOptional<z.ZodString>;
3345
+ }, "strict", z.ZodTypeAny, {
3346
+ testId?: string | undefined;
3347
+ role?: string | undefined;
3348
+ label?: string | undefined;
3349
+ text?: string | undefined;
3350
+ selector?: string | undefined;
3351
+ name?: string | undefined;
3352
+ }, {
3353
+ testId?: string | undefined;
3354
+ role?: string | undefined;
3355
+ label?: string | undefined;
3356
+ text?: string | undefined;
3357
+ selector?: string | undefined;
3358
+ name?: string | undefined;
3359
+ }>, {
3360
+ testId?: string | undefined;
3361
+ role?: string | undefined;
3362
+ label?: string | undefined;
3363
+ text?: string | undefined;
3364
+ selector?: string | undefined;
3365
+ name?: string | undefined;
3366
+ }, {
3367
+ testId?: string | undefined;
3368
+ role?: string | undefined;
3369
+ label?: string | undefined;
3370
+ text?: string | undefined;
3371
+ selector?: string | undefined;
3372
+ name?: string | undefined;
3373
+ }>;
3374
+ instruction: z.ZodString;
3375
+ } & {
3376
+ before: z.ZodOptional<z.ZodString>;
3377
+ after: z.ZodOptional<z.ZodString>;
3378
+ }, "strict", z.ZodTypeAny, {
3379
+ id: string;
3380
+ action: "verify";
3381
+ target: {
3382
+ testId?: string | undefined;
3383
+ role?: string | undefined;
3384
+ label?: string | undefined;
3385
+ text?: string | undefined;
3386
+ selector?: string | undefined;
3387
+ name?: string | undefined;
3388
+ };
3389
+ instruction: string;
3390
+ before?: string | undefined;
3391
+ after?: string | undefined;
3392
+ }, {
3393
+ id: string;
3394
+ action: "verify";
3395
+ target: {
3396
+ testId?: string | undefined;
3397
+ role?: string | undefined;
3398
+ label?: string | undefined;
3399
+ text?: string | undefined;
3400
+ selector?: string | undefined;
3401
+ name?: string | undefined;
3402
+ };
3403
+ instruction: string;
3404
+ before?: string | undefined;
3405
+ after?: string | undefined;
3406
+ }>, z.ZodObject<{
3407
+ id: z.ZodString;
3408
+ action: z.ZodLiteral<"navigate">;
3409
+ url: z.ZodString;
3410
+ instruction: z.ZodString;
3411
+ } & {
3412
+ before: z.ZodOptional<z.ZodString>;
3413
+ after: z.ZodOptional<z.ZodString>;
3414
+ }, "strict", z.ZodTypeAny, {
3415
+ id: string;
3416
+ action: "navigate";
3417
+ instruction: string;
3418
+ url: string;
3419
+ before?: string | undefined;
3420
+ after?: string | undefined;
3421
+ }, {
3422
+ id: string;
3423
+ action: "navigate";
3424
+ instruction: string;
3425
+ url: string;
3426
+ before?: string | undefined;
3427
+ after?: string | undefined;
3428
+ }>, z.ZodObject<{
3429
+ id: z.ZodString;
3430
+ action: z.ZodLiteral<"wait">;
3431
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3432
+ testId: z.ZodOptional<z.ZodString>;
3433
+ role: z.ZodOptional<z.ZodString>;
3434
+ name: z.ZodOptional<z.ZodString>;
3435
+ label: z.ZodOptional<z.ZodString>;
3436
+ text: z.ZodOptional<z.ZodString>;
3437
+ selector: z.ZodOptional<z.ZodString>;
3438
+ }, "strict", z.ZodTypeAny, {
3439
+ testId?: string | undefined;
3440
+ role?: string | undefined;
3441
+ label?: string | undefined;
3442
+ text?: string | undefined;
3443
+ selector?: string | undefined;
3444
+ name?: string | undefined;
3445
+ }, {
3446
+ testId?: string | undefined;
3447
+ role?: string | undefined;
3448
+ label?: string | undefined;
3449
+ text?: string | undefined;
3450
+ selector?: string | undefined;
3451
+ name?: string | undefined;
3452
+ }>, {
3453
+ testId?: string | undefined;
3454
+ role?: string | undefined;
3455
+ label?: string | undefined;
3456
+ text?: string | undefined;
3457
+ selector?: string | undefined;
3458
+ name?: string | undefined;
3459
+ }, {
3460
+ testId?: string | undefined;
3461
+ role?: string | undefined;
3462
+ label?: string | undefined;
3463
+ text?: string | undefined;
3464
+ selector?: string | undefined;
3465
+ name?: string | undefined;
3466
+ }>>;
3467
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3468
+ instruction: z.ZodString;
3469
+ } & {
3470
+ before: z.ZodOptional<z.ZodString>;
3471
+ after: z.ZodOptional<z.ZodString>;
3472
+ }, "strict", z.ZodTypeAny, {
3473
+ id: string;
3474
+ action: "wait";
3475
+ instruction: string;
3476
+ target?: {
3477
+ testId?: string | undefined;
3478
+ role?: string | undefined;
3479
+ label?: string | undefined;
3480
+ text?: string | undefined;
3481
+ selector?: string | undefined;
3482
+ name?: string | undefined;
3483
+ } | undefined;
3484
+ timeoutMs?: number | undefined;
3485
+ before?: string | undefined;
3486
+ after?: string | undefined;
3487
+ }, {
3488
+ id: string;
3489
+ action: "wait";
3490
+ instruction: string;
3491
+ target?: {
3492
+ testId?: string | undefined;
3493
+ role?: string | undefined;
3494
+ label?: string | undefined;
3495
+ text?: string | undefined;
3496
+ selector?: string | undefined;
3497
+ name?: string | undefined;
3498
+ } | undefined;
3499
+ timeoutMs?: number | undefined;
3500
+ before?: string | undefined;
3501
+ after?: string | undefined;
3502
+ }>]>, "many">;
3503
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
3504
+ id: z.ZodString;
3505
+ title: z.ZodString;
3506
+ application: z.ZodString;
3507
+ release: z.ZodString;
3508
+ start: z.ZodObject<{
3509
+ url: z.ZodString;
3510
+ }, "strict", z.ZodTypeAny, {
3511
+ url: string;
3512
+ }, {
3513
+ url: string;
3514
+ }>;
3515
+ extends: z.ZodOptional<z.ZodString>;
3516
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
3517
+ id: z.ZodString;
3518
+ action: z.ZodLiteral<"click">;
3519
+ target: z.ZodEffects<z.ZodObject<{
3520
+ testId: z.ZodOptional<z.ZodString>;
3521
+ role: z.ZodOptional<z.ZodString>;
3522
+ name: z.ZodOptional<z.ZodString>;
3523
+ label: z.ZodOptional<z.ZodString>;
3524
+ text: z.ZodOptional<z.ZodString>;
3525
+ selector: z.ZodOptional<z.ZodString>;
3526
+ }, "strict", z.ZodTypeAny, {
3527
+ testId?: string | undefined;
3528
+ role?: string | undefined;
3529
+ label?: string | undefined;
3530
+ text?: string | undefined;
3531
+ selector?: string | undefined;
3532
+ name?: string | undefined;
3533
+ }, {
3534
+ testId?: string | undefined;
3535
+ role?: string | undefined;
3536
+ label?: string | undefined;
3537
+ text?: string | undefined;
3538
+ selector?: string | undefined;
3539
+ name?: string | undefined;
3540
+ }>, {
3541
+ testId?: string | undefined;
3542
+ role?: string | undefined;
3543
+ label?: string | undefined;
3544
+ text?: string | undefined;
3545
+ selector?: string | undefined;
3546
+ name?: string | undefined;
3547
+ }, {
3548
+ testId?: string | undefined;
3549
+ role?: string | undefined;
3550
+ label?: string | undefined;
3551
+ text?: string | undefined;
3552
+ selector?: string | undefined;
3553
+ name?: string | undefined;
3554
+ }>;
3555
+ instruction: z.ZodString;
3556
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3557
+ } & {
3558
+ before: z.ZodOptional<z.ZodString>;
3559
+ after: z.ZodOptional<z.ZodString>;
3560
+ }, "strict", z.ZodTypeAny, {
3561
+ id: string;
3562
+ action: "click";
3563
+ target: {
3564
+ testId?: string | undefined;
3565
+ role?: string | undefined;
3566
+ label?: string | undefined;
3567
+ text?: string | undefined;
3568
+ selector?: string | undefined;
3569
+ name?: string | undefined;
3570
+ };
3571
+ instruction: string;
3572
+ autoAdvance?: boolean | undefined;
3573
+ before?: string | undefined;
3574
+ after?: string | undefined;
3575
+ }, {
3576
+ id: string;
3577
+ action: "click";
3578
+ target: {
3579
+ testId?: string | undefined;
3580
+ role?: string | undefined;
3581
+ label?: string | undefined;
3582
+ text?: string | undefined;
3583
+ selector?: string | undefined;
3584
+ name?: string | undefined;
3585
+ };
3586
+ instruction: string;
3587
+ autoAdvance?: boolean | undefined;
3588
+ before?: string | undefined;
3589
+ after?: string | undefined;
3590
+ }>, z.ZodObject<{
3591
+ id: z.ZodString;
3592
+ action: z.ZodLiteral<"input">;
3593
+ target: z.ZodEffects<z.ZodObject<{
3594
+ testId: z.ZodOptional<z.ZodString>;
3595
+ role: z.ZodOptional<z.ZodString>;
3596
+ name: z.ZodOptional<z.ZodString>;
3597
+ label: z.ZodOptional<z.ZodString>;
3598
+ text: z.ZodOptional<z.ZodString>;
3599
+ selector: z.ZodOptional<z.ZodString>;
3600
+ }, "strict", z.ZodTypeAny, {
3601
+ testId?: string | undefined;
3602
+ role?: string | undefined;
3603
+ label?: string | undefined;
3604
+ text?: string | undefined;
3605
+ selector?: string | undefined;
3606
+ name?: string | undefined;
3607
+ }, {
3608
+ testId?: string | undefined;
3609
+ role?: string | undefined;
3610
+ label?: string | undefined;
3611
+ text?: string | undefined;
3612
+ selector?: string | undefined;
3613
+ name?: string | undefined;
3614
+ }>, {
3615
+ testId?: string | undefined;
3616
+ role?: string | undefined;
3617
+ label?: string | undefined;
3618
+ text?: string | undefined;
3619
+ selector?: string | undefined;
3620
+ name?: string | undefined;
3621
+ }, {
3622
+ testId?: string | undefined;
3623
+ role?: string | undefined;
3624
+ label?: string | undefined;
3625
+ text?: string | undefined;
3626
+ selector?: string | undefined;
3627
+ name?: string | undefined;
3628
+ }>;
3629
+ value: z.ZodString;
3630
+ instruction: z.ZodString;
3631
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3632
+ } & {
3633
+ before: z.ZodOptional<z.ZodString>;
3634
+ after: z.ZodOptional<z.ZodString>;
3635
+ }, "strict", z.ZodTypeAny, {
3636
+ value: string;
3637
+ id: string;
3638
+ action: "input";
3639
+ target: {
3640
+ testId?: string | undefined;
3641
+ role?: string | undefined;
3642
+ label?: string | undefined;
3643
+ text?: string | undefined;
3644
+ selector?: string | undefined;
3645
+ name?: string | undefined;
3646
+ };
3647
+ instruction: string;
3648
+ autoAdvance?: boolean | undefined;
3649
+ before?: string | undefined;
3650
+ after?: string | undefined;
3651
+ }, {
3652
+ value: string;
3653
+ id: string;
3654
+ action: "input";
3655
+ target: {
3656
+ testId?: string | undefined;
3657
+ role?: string | undefined;
3658
+ label?: string | undefined;
3659
+ text?: string | undefined;
3660
+ selector?: string | undefined;
3661
+ name?: string | undefined;
3662
+ };
3663
+ instruction: string;
3664
+ autoAdvance?: boolean | undefined;
3665
+ before?: string | undefined;
3666
+ after?: string | undefined;
3667
+ }>, z.ZodObject<{
3668
+ id: z.ZodString;
3669
+ action: z.ZodLiteral<"select">;
3670
+ target: z.ZodEffects<z.ZodObject<{
3671
+ testId: z.ZodOptional<z.ZodString>;
3672
+ role: z.ZodOptional<z.ZodString>;
3673
+ name: z.ZodOptional<z.ZodString>;
3674
+ label: z.ZodOptional<z.ZodString>;
3675
+ text: z.ZodOptional<z.ZodString>;
3676
+ selector: z.ZodOptional<z.ZodString>;
3677
+ }, "strict", z.ZodTypeAny, {
3678
+ testId?: string | undefined;
3679
+ role?: string | undefined;
3680
+ label?: string | undefined;
3681
+ text?: string | undefined;
3682
+ selector?: string | undefined;
3683
+ name?: string | undefined;
3684
+ }, {
3685
+ testId?: string | undefined;
3686
+ role?: string | undefined;
3687
+ label?: string | undefined;
3688
+ text?: string | undefined;
3689
+ selector?: string | undefined;
3690
+ name?: string | undefined;
3691
+ }>, {
3692
+ testId?: string | undefined;
3693
+ role?: string | undefined;
3694
+ label?: string | undefined;
3695
+ text?: string | undefined;
3696
+ selector?: string | undefined;
3697
+ name?: string | undefined;
3698
+ }, {
3699
+ testId?: string | undefined;
3700
+ role?: string | undefined;
3701
+ label?: string | undefined;
3702
+ text?: string | undefined;
3703
+ selector?: string | undefined;
3704
+ name?: string | undefined;
3705
+ }>;
3706
+ value: z.ZodString;
3707
+ instruction: z.ZodString;
3708
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3709
+ } & {
3710
+ before: z.ZodOptional<z.ZodString>;
3711
+ after: z.ZodOptional<z.ZodString>;
3712
+ }, "strict", z.ZodTypeAny, {
3713
+ value: string;
3714
+ id: string;
3715
+ action: "select";
3716
+ target: {
3717
+ testId?: string | undefined;
3718
+ role?: string | undefined;
3719
+ label?: string | undefined;
3720
+ text?: string | undefined;
3721
+ selector?: string | undefined;
3722
+ name?: string | undefined;
3723
+ };
3724
+ instruction: string;
3725
+ autoAdvance?: boolean | undefined;
3726
+ before?: string | undefined;
3727
+ after?: string | undefined;
3728
+ }, {
3729
+ value: string;
3730
+ id: string;
3731
+ action: "select";
3732
+ target: {
3733
+ testId?: string | undefined;
3734
+ role?: string | undefined;
3735
+ label?: string | undefined;
3736
+ text?: string | undefined;
3737
+ selector?: string | undefined;
3738
+ name?: string | undefined;
3739
+ };
3740
+ instruction: string;
3741
+ autoAdvance?: boolean | undefined;
3742
+ before?: string | undefined;
3743
+ after?: string | undefined;
3744
+ }>, z.ZodObject<{
3745
+ id: z.ZodString;
3746
+ action: z.ZodLiteral<"verify">;
3747
+ target: z.ZodEffects<z.ZodObject<{
3748
+ testId: z.ZodOptional<z.ZodString>;
3749
+ role: z.ZodOptional<z.ZodString>;
3750
+ name: z.ZodOptional<z.ZodString>;
3751
+ label: z.ZodOptional<z.ZodString>;
3752
+ text: z.ZodOptional<z.ZodString>;
3753
+ selector: z.ZodOptional<z.ZodString>;
3754
+ }, "strict", z.ZodTypeAny, {
3755
+ testId?: string | undefined;
3756
+ role?: string | undefined;
3757
+ label?: string | undefined;
3758
+ text?: string | undefined;
3759
+ selector?: string | undefined;
3760
+ name?: string | undefined;
3761
+ }, {
3762
+ testId?: string | undefined;
3763
+ role?: string | undefined;
3764
+ label?: string | undefined;
3765
+ text?: string | undefined;
3766
+ selector?: string | undefined;
3767
+ name?: string | undefined;
3768
+ }>, {
3769
+ testId?: string | undefined;
3770
+ role?: string | undefined;
3771
+ label?: string | undefined;
3772
+ text?: string | undefined;
3773
+ selector?: string | undefined;
3774
+ name?: string | undefined;
3775
+ }, {
3776
+ testId?: string | undefined;
3777
+ role?: string | undefined;
3778
+ label?: string | undefined;
3779
+ text?: string | undefined;
3780
+ selector?: string | undefined;
3781
+ name?: string | undefined;
3782
+ }>;
3783
+ instruction: z.ZodString;
3784
+ } & {
3785
+ before: z.ZodOptional<z.ZodString>;
3786
+ after: z.ZodOptional<z.ZodString>;
3787
+ }, "strict", z.ZodTypeAny, {
3788
+ id: string;
3789
+ action: "verify";
3790
+ target: {
3791
+ testId?: string | undefined;
3792
+ role?: string | undefined;
3793
+ label?: string | undefined;
3794
+ text?: string | undefined;
3795
+ selector?: string | undefined;
3796
+ name?: string | undefined;
3797
+ };
3798
+ instruction: string;
3799
+ before?: string | undefined;
3800
+ after?: string | undefined;
3801
+ }, {
3802
+ id: string;
3803
+ action: "verify";
3804
+ target: {
3805
+ testId?: string | undefined;
3806
+ role?: string | undefined;
3807
+ label?: string | undefined;
3808
+ text?: string | undefined;
3809
+ selector?: string | undefined;
3810
+ name?: string | undefined;
3811
+ };
3812
+ instruction: string;
3813
+ before?: string | undefined;
3814
+ after?: string | undefined;
3815
+ }>, z.ZodObject<{
3816
+ id: z.ZodString;
3817
+ action: z.ZodLiteral<"navigate">;
3818
+ url: z.ZodString;
3819
+ instruction: z.ZodString;
3820
+ } & {
3821
+ before: z.ZodOptional<z.ZodString>;
3822
+ after: z.ZodOptional<z.ZodString>;
3823
+ }, "strict", z.ZodTypeAny, {
3824
+ id: string;
3825
+ action: "navigate";
3826
+ instruction: string;
3827
+ url: string;
3828
+ before?: string | undefined;
3829
+ after?: string | undefined;
3830
+ }, {
3831
+ id: string;
3832
+ action: "navigate";
3833
+ instruction: string;
3834
+ url: string;
3835
+ before?: string | undefined;
3836
+ after?: string | undefined;
3837
+ }>, z.ZodObject<{
3838
+ id: z.ZodString;
3839
+ action: z.ZodLiteral<"wait">;
3840
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3841
+ testId: z.ZodOptional<z.ZodString>;
3842
+ role: z.ZodOptional<z.ZodString>;
3843
+ name: z.ZodOptional<z.ZodString>;
3844
+ label: z.ZodOptional<z.ZodString>;
3845
+ text: z.ZodOptional<z.ZodString>;
3846
+ selector: z.ZodOptional<z.ZodString>;
3847
+ }, "strict", z.ZodTypeAny, {
3848
+ testId?: string | undefined;
3849
+ role?: string | undefined;
3850
+ label?: string | undefined;
3851
+ text?: string | undefined;
3852
+ selector?: string | undefined;
3853
+ name?: string | undefined;
3854
+ }, {
3855
+ testId?: string | undefined;
3856
+ role?: string | undefined;
3857
+ label?: string | undefined;
3858
+ text?: string | undefined;
3859
+ selector?: string | undefined;
3860
+ name?: string | undefined;
3861
+ }>, {
3862
+ testId?: string | undefined;
3863
+ role?: string | undefined;
3864
+ label?: string | undefined;
3865
+ text?: string | undefined;
3866
+ selector?: string | undefined;
3867
+ name?: string | undefined;
3868
+ }, {
3869
+ testId?: string | undefined;
3870
+ role?: string | undefined;
3871
+ label?: string | undefined;
3872
+ text?: string | undefined;
3873
+ selector?: string | undefined;
3874
+ name?: string | undefined;
3875
+ }>>;
3876
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3877
+ instruction: z.ZodString;
3878
+ } & {
3879
+ before: z.ZodOptional<z.ZodString>;
3880
+ after: z.ZodOptional<z.ZodString>;
3881
+ }, "strict", z.ZodTypeAny, {
3882
+ id: string;
3883
+ action: "wait";
3884
+ instruction: string;
3885
+ target?: {
3886
+ testId?: string | undefined;
3887
+ role?: string | undefined;
3888
+ label?: string | undefined;
3889
+ text?: string | undefined;
3890
+ selector?: string | undefined;
3891
+ name?: string | undefined;
3892
+ } | undefined;
3893
+ timeoutMs?: number | undefined;
3894
+ before?: string | undefined;
3895
+ after?: string | undefined;
3896
+ }, {
3897
+ id: string;
3898
+ action: "wait";
3899
+ instruction: string;
3900
+ target?: {
3901
+ testId?: string | undefined;
3902
+ role?: string | undefined;
3903
+ label?: string | undefined;
3904
+ text?: string | undefined;
3905
+ selector?: string | undefined;
3906
+ name?: string | undefined;
3907
+ } | undefined;
3908
+ timeoutMs?: number | undefined;
3909
+ before?: string | undefined;
3910
+ after?: string | undefined;
3911
+ }>]>, "many">;
3912
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3913
+ id: z.ZodString;
3914
+ title: z.ZodString;
3915
+ application: z.ZodString;
3916
+ release: z.ZodString;
3917
+ start: z.ZodObject<{
3918
+ url: z.ZodString;
3919
+ }, "strict", z.ZodTypeAny, {
3920
+ url: string;
3921
+ }, {
3922
+ url: string;
3923
+ }>;
3924
+ extends: z.ZodOptional<z.ZodString>;
3925
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
3926
+ id: z.ZodString;
3927
+ action: z.ZodLiteral<"click">;
3928
+ target: z.ZodEffects<z.ZodObject<{
3929
+ testId: z.ZodOptional<z.ZodString>;
3930
+ role: z.ZodOptional<z.ZodString>;
3931
+ name: z.ZodOptional<z.ZodString>;
3932
+ label: z.ZodOptional<z.ZodString>;
3933
+ text: z.ZodOptional<z.ZodString>;
3934
+ selector: z.ZodOptional<z.ZodString>;
3935
+ }, "strict", z.ZodTypeAny, {
3936
+ testId?: string | undefined;
3937
+ role?: string | undefined;
3938
+ label?: string | undefined;
3939
+ text?: string | undefined;
3940
+ selector?: string | undefined;
3941
+ name?: string | undefined;
3942
+ }, {
3943
+ testId?: string | undefined;
3944
+ role?: string | undefined;
3945
+ label?: string | undefined;
3946
+ text?: string | undefined;
3947
+ selector?: string | undefined;
3948
+ name?: string | undefined;
3949
+ }>, {
3950
+ testId?: string | undefined;
3951
+ role?: string | undefined;
3952
+ label?: string | undefined;
3953
+ text?: string | undefined;
3954
+ selector?: string | undefined;
3955
+ name?: string | undefined;
3956
+ }, {
3957
+ testId?: string | undefined;
3958
+ role?: string | undefined;
3959
+ label?: string | undefined;
3960
+ text?: string | undefined;
3961
+ selector?: string | undefined;
3962
+ name?: string | undefined;
3963
+ }>;
3964
+ instruction: z.ZodString;
3965
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
3966
+ } & {
3967
+ before: z.ZodOptional<z.ZodString>;
3968
+ after: z.ZodOptional<z.ZodString>;
3969
+ }, "strict", z.ZodTypeAny, {
3970
+ id: string;
3971
+ action: "click";
3972
+ target: {
3973
+ testId?: string | undefined;
3974
+ role?: string | undefined;
3975
+ label?: string | undefined;
3976
+ text?: string | undefined;
3977
+ selector?: string | undefined;
3978
+ name?: string | undefined;
3979
+ };
3980
+ instruction: string;
3981
+ autoAdvance?: boolean | undefined;
3982
+ before?: string | undefined;
3983
+ after?: string | undefined;
3984
+ }, {
3985
+ id: string;
3986
+ action: "click";
3987
+ target: {
3988
+ testId?: string | undefined;
3989
+ role?: string | undefined;
3990
+ label?: string | undefined;
3991
+ text?: string | undefined;
3992
+ selector?: string | undefined;
3993
+ name?: string | undefined;
3994
+ };
3995
+ instruction: string;
3996
+ autoAdvance?: boolean | undefined;
3997
+ before?: string | undefined;
3998
+ after?: string | undefined;
3999
+ }>, z.ZodObject<{
4000
+ id: z.ZodString;
4001
+ action: z.ZodLiteral<"input">;
4002
+ target: z.ZodEffects<z.ZodObject<{
4003
+ testId: z.ZodOptional<z.ZodString>;
4004
+ role: z.ZodOptional<z.ZodString>;
4005
+ name: z.ZodOptional<z.ZodString>;
4006
+ label: z.ZodOptional<z.ZodString>;
4007
+ text: z.ZodOptional<z.ZodString>;
4008
+ selector: z.ZodOptional<z.ZodString>;
4009
+ }, "strict", z.ZodTypeAny, {
4010
+ testId?: string | undefined;
4011
+ role?: string | undefined;
4012
+ label?: string | undefined;
4013
+ text?: string | undefined;
4014
+ selector?: string | undefined;
4015
+ name?: string | undefined;
4016
+ }, {
4017
+ testId?: string | undefined;
4018
+ role?: string | undefined;
4019
+ label?: string | undefined;
4020
+ text?: string | undefined;
4021
+ selector?: string | undefined;
4022
+ name?: string | undefined;
4023
+ }>, {
4024
+ testId?: string | undefined;
4025
+ role?: string | undefined;
4026
+ label?: string | undefined;
4027
+ text?: string | undefined;
4028
+ selector?: string | undefined;
4029
+ name?: string | undefined;
4030
+ }, {
4031
+ testId?: string | undefined;
4032
+ role?: string | undefined;
4033
+ label?: string | undefined;
4034
+ text?: string | undefined;
4035
+ selector?: string | undefined;
4036
+ name?: string | undefined;
4037
+ }>;
4038
+ value: z.ZodString;
4039
+ instruction: z.ZodString;
4040
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
4041
+ } & {
4042
+ before: z.ZodOptional<z.ZodString>;
4043
+ after: z.ZodOptional<z.ZodString>;
4044
+ }, "strict", z.ZodTypeAny, {
4045
+ value: string;
4046
+ id: string;
4047
+ action: "input";
4048
+ target: {
4049
+ testId?: string | undefined;
4050
+ role?: string | undefined;
4051
+ label?: string | undefined;
4052
+ text?: string | undefined;
4053
+ selector?: string | undefined;
4054
+ name?: string | undefined;
4055
+ };
4056
+ instruction: string;
4057
+ autoAdvance?: boolean | undefined;
4058
+ before?: string | undefined;
4059
+ after?: string | undefined;
4060
+ }, {
4061
+ value: string;
4062
+ id: string;
4063
+ action: "input";
4064
+ target: {
4065
+ testId?: string | undefined;
4066
+ role?: string | undefined;
4067
+ label?: string | undefined;
4068
+ text?: string | undefined;
4069
+ selector?: string | undefined;
4070
+ name?: string | undefined;
4071
+ };
4072
+ instruction: string;
4073
+ autoAdvance?: boolean | undefined;
4074
+ before?: string | undefined;
4075
+ after?: string | undefined;
4076
+ }>, z.ZodObject<{
4077
+ id: z.ZodString;
4078
+ action: z.ZodLiteral<"select">;
4079
+ target: z.ZodEffects<z.ZodObject<{
4080
+ testId: z.ZodOptional<z.ZodString>;
4081
+ role: z.ZodOptional<z.ZodString>;
4082
+ name: z.ZodOptional<z.ZodString>;
4083
+ label: z.ZodOptional<z.ZodString>;
4084
+ text: z.ZodOptional<z.ZodString>;
4085
+ selector: z.ZodOptional<z.ZodString>;
4086
+ }, "strict", z.ZodTypeAny, {
4087
+ testId?: string | undefined;
4088
+ role?: string | undefined;
4089
+ label?: string | undefined;
4090
+ text?: string | undefined;
4091
+ selector?: string | undefined;
4092
+ name?: string | undefined;
4093
+ }, {
4094
+ testId?: string | undefined;
4095
+ role?: string | undefined;
4096
+ label?: string | undefined;
4097
+ text?: string | undefined;
4098
+ selector?: string | undefined;
4099
+ name?: string | undefined;
4100
+ }>, {
4101
+ testId?: string | undefined;
4102
+ role?: string | undefined;
4103
+ label?: string | undefined;
4104
+ text?: string | undefined;
4105
+ selector?: string | undefined;
4106
+ name?: string | undefined;
4107
+ }, {
4108
+ testId?: string | undefined;
4109
+ role?: string | undefined;
4110
+ label?: string | undefined;
4111
+ text?: string | undefined;
4112
+ selector?: string | undefined;
4113
+ name?: string | undefined;
4114
+ }>;
4115
+ value: z.ZodString;
4116
+ instruction: z.ZodString;
4117
+ autoAdvance: z.ZodOptional<z.ZodBoolean>;
4118
+ } & {
4119
+ before: z.ZodOptional<z.ZodString>;
4120
+ after: z.ZodOptional<z.ZodString>;
4121
+ }, "strict", z.ZodTypeAny, {
4122
+ value: string;
4123
+ id: string;
4124
+ action: "select";
4125
+ target: {
4126
+ testId?: string | undefined;
4127
+ role?: string | undefined;
4128
+ label?: string | undefined;
4129
+ text?: string | undefined;
4130
+ selector?: string | undefined;
4131
+ name?: string | undefined;
4132
+ };
4133
+ instruction: string;
4134
+ autoAdvance?: boolean | undefined;
4135
+ before?: string | undefined;
4136
+ after?: string | undefined;
4137
+ }, {
4138
+ value: string;
4139
+ id: string;
4140
+ action: "select";
4141
+ target: {
4142
+ testId?: string | undefined;
4143
+ role?: string | undefined;
4144
+ label?: string | undefined;
4145
+ text?: string | undefined;
4146
+ selector?: string | undefined;
4147
+ name?: string | undefined;
4148
+ };
4149
+ instruction: string;
4150
+ autoAdvance?: boolean | undefined;
4151
+ before?: string | undefined;
4152
+ after?: string | undefined;
4153
+ }>, z.ZodObject<{
4154
+ id: z.ZodString;
4155
+ action: z.ZodLiteral<"verify">;
4156
+ target: z.ZodEffects<z.ZodObject<{
4157
+ testId: z.ZodOptional<z.ZodString>;
4158
+ role: z.ZodOptional<z.ZodString>;
4159
+ name: z.ZodOptional<z.ZodString>;
4160
+ label: z.ZodOptional<z.ZodString>;
4161
+ text: z.ZodOptional<z.ZodString>;
4162
+ selector: z.ZodOptional<z.ZodString>;
4163
+ }, "strict", z.ZodTypeAny, {
4164
+ testId?: string | undefined;
4165
+ role?: string | undefined;
4166
+ label?: string | undefined;
4167
+ text?: string | undefined;
4168
+ selector?: string | undefined;
4169
+ name?: string | undefined;
4170
+ }, {
4171
+ testId?: string | undefined;
4172
+ role?: string | undefined;
4173
+ label?: string | undefined;
4174
+ text?: string | undefined;
4175
+ selector?: string | undefined;
4176
+ name?: string | undefined;
4177
+ }>, {
4178
+ testId?: string | undefined;
4179
+ role?: string | undefined;
4180
+ label?: string | undefined;
4181
+ text?: string | undefined;
4182
+ selector?: string | undefined;
4183
+ name?: string | undefined;
4184
+ }, {
4185
+ testId?: string | undefined;
4186
+ role?: string | undefined;
4187
+ label?: string | undefined;
4188
+ text?: string | undefined;
4189
+ selector?: string | undefined;
4190
+ name?: string | undefined;
4191
+ }>;
4192
+ instruction: z.ZodString;
4193
+ } & {
4194
+ before: z.ZodOptional<z.ZodString>;
4195
+ after: z.ZodOptional<z.ZodString>;
4196
+ }, "strict", z.ZodTypeAny, {
4197
+ id: string;
4198
+ action: "verify";
4199
+ target: {
4200
+ testId?: string | undefined;
4201
+ role?: string | undefined;
4202
+ label?: string | undefined;
4203
+ text?: string | undefined;
4204
+ selector?: string | undefined;
4205
+ name?: string | undefined;
4206
+ };
4207
+ instruction: string;
4208
+ before?: string | undefined;
4209
+ after?: string | undefined;
4210
+ }, {
4211
+ id: string;
4212
+ action: "verify";
4213
+ target: {
4214
+ testId?: string | undefined;
4215
+ role?: string | undefined;
4216
+ label?: string | undefined;
4217
+ text?: string | undefined;
4218
+ selector?: string | undefined;
4219
+ name?: string | undefined;
4220
+ };
4221
+ instruction: string;
4222
+ before?: string | undefined;
4223
+ after?: string | undefined;
4224
+ }>, z.ZodObject<{
4225
+ id: z.ZodString;
4226
+ action: z.ZodLiteral<"navigate">;
4227
+ url: z.ZodString;
4228
+ instruction: z.ZodString;
4229
+ } & {
4230
+ before: z.ZodOptional<z.ZodString>;
4231
+ after: z.ZodOptional<z.ZodString>;
4232
+ }, "strict", z.ZodTypeAny, {
4233
+ id: string;
4234
+ action: "navigate";
4235
+ instruction: string;
4236
+ url: string;
4237
+ before?: string | undefined;
4238
+ after?: string | undefined;
4239
+ }, {
4240
+ id: string;
4241
+ action: "navigate";
4242
+ instruction: string;
4243
+ url: string;
4244
+ before?: string | undefined;
4245
+ after?: string | undefined;
4246
+ }>, z.ZodObject<{
4247
+ id: z.ZodString;
4248
+ action: z.ZodLiteral<"wait">;
4249
+ target: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4250
+ testId: z.ZodOptional<z.ZodString>;
4251
+ role: z.ZodOptional<z.ZodString>;
4252
+ name: z.ZodOptional<z.ZodString>;
4253
+ label: z.ZodOptional<z.ZodString>;
4254
+ text: z.ZodOptional<z.ZodString>;
4255
+ selector: z.ZodOptional<z.ZodString>;
4256
+ }, "strict", z.ZodTypeAny, {
4257
+ testId?: string | undefined;
4258
+ role?: string | undefined;
4259
+ label?: string | undefined;
4260
+ text?: string | undefined;
4261
+ selector?: string | undefined;
4262
+ name?: string | undefined;
4263
+ }, {
4264
+ testId?: string | undefined;
4265
+ role?: string | undefined;
4266
+ label?: string | undefined;
4267
+ text?: string | undefined;
4268
+ selector?: string | undefined;
4269
+ name?: string | undefined;
4270
+ }>, {
4271
+ testId?: string | undefined;
4272
+ role?: string | undefined;
4273
+ label?: string | undefined;
4274
+ text?: string | undefined;
4275
+ selector?: string | undefined;
4276
+ name?: string | undefined;
4277
+ }, {
4278
+ testId?: string | undefined;
4279
+ role?: string | undefined;
4280
+ label?: string | undefined;
4281
+ text?: string | undefined;
4282
+ selector?: string | undefined;
4283
+ name?: string | undefined;
4284
+ }>>;
4285
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
4286
+ instruction: z.ZodString;
4287
+ } & {
4288
+ before: z.ZodOptional<z.ZodString>;
4289
+ after: z.ZodOptional<z.ZodString>;
4290
+ }, "strict", z.ZodTypeAny, {
4291
+ id: string;
4292
+ action: "wait";
4293
+ instruction: string;
4294
+ target?: {
4295
+ testId?: string | undefined;
4296
+ role?: string | undefined;
4297
+ label?: string | undefined;
4298
+ text?: string | undefined;
4299
+ selector?: string | undefined;
4300
+ name?: string | undefined;
4301
+ } | undefined;
4302
+ timeoutMs?: number | undefined;
4303
+ before?: string | undefined;
4304
+ after?: string | undefined;
4305
+ }, {
4306
+ id: string;
4307
+ action: "wait";
4308
+ instruction: string;
4309
+ target?: {
4310
+ testId?: string | undefined;
4311
+ role?: string | undefined;
4312
+ label?: string | undefined;
4313
+ text?: string | undefined;
4314
+ selector?: string | undefined;
4315
+ name?: string | undefined;
4316
+ } | undefined;
4317
+ timeoutMs?: number | undefined;
4318
+ before?: string | undefined;
4319
+ after?: string | undefined;
4320
+ }>]>, "many">;
4321
+ }, z.ZodTypeAny, "passthrough">>;
4322
+ type AuthorGuide = z.infer<typeof AuthorGuideSchema>;
4323
+
4324
+ interface GuideValidationIssue {
4325
+ path: string;
4326
+ message: string;
4327
+ }
4328
+ type GuideParseResult = {
4329
+ success: true;
4330
+ guide: Guide;
4331
+ } | {
4332
+ success: false;
4333
+ issues: GuideValidationIssue[];
4334
+ };
4335
+ type AuthorGuideParseResult = {
4336
+ success: true;
4337
+ guide: AuthorGuide;
4338
+ } | {
4339
+ success: false;
4340
+ issues: GuideValidationIssue[];
4341
+ };
4342
+ declare function issuesFromZodError(error: ZodError): GuideValidationIssue[];
4343
+ declare function parseGuideYaml(yamlText: string): GuideParseResult;
4344
+ declare function parseAuthorGuideYaml(yamlText: string): AuthorGuideParseResult;
4345
+ declare function parseGuideJson(jsonText: string): GuideParseResult;
4346
+
4347
+ interface GuideResolutionIssue {
4348
+ path: string;
4349
+ message: string;
4350
+ }
4351
+ type GuideResolutionResult = {
4352
+ success: true;
4353
+ guide: Guide;
4354
+ } | {
4355
+ success: false;
4356
+ issues: GuideResolutionIssue[];
4357
+ };
4358
+ /** Resolves an authoring guide and all of its same-release bases into a runtime guide. */
4359
+ declare function resolveGuide(guide: AuthorGuide, guidesById: ReadonlyMap<string, AuthorGuide>, resolving?: Set<string>): GuideResolutionResult;
4360
+
4361
+ export { type AuthorGuide, type AuthorGuideParseResult, AuthorGuideSchema, type AuthorGuideStep, AuthorGuideStepSchema, type ClickStep, ClickStepSchema, type Guide, type GuideActionType, type GuideParseResult, type GuideResolutionIssue, type GuideResolutionResult, GuideSchema, type GuideStep, GuideStepSchema, type GuideValidationIssue, type InputStep, InputStepSchema, type NavigateStep, NavigateStepSchema, type SelectStep, SelectStepSchema, TARGET_STRATEGY_ORDER, type Target, TargetSchema, type VerifyStep, VerifyStepSchema, type WaitStep, WaitStepSchema, issuesFromZodError, parseAuthorGuideYaml, parseGuideJson, parseGuideYaml, resolveGuide };