@anchrd/colab-sdk 0.1.52 → 0.1.54

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,2751 @@
1
+ import { z } from "zod";
2
+ export declare const FlowStepId: z.ZodTemplateLiteral<`step_${string}`>;
3
+ export type FlowStepId = z.infer<typeof FlowStepId>;
4
+ export declare const flowLimits: {
5
+ readonly hosts: 20;
6
+ readonly steps: 200;
7
+ readonly actions: 50;
8
+ readonly levels: 2;
9
+ readonly secrets: 50;
10
+ readonly readFields: 50;
11
+ readonly repeatMax: 1000;
12
+ };
13
+ export declare const FlowTarget: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
+ css: z.ZodOptional<z.ZodString>;
15
+ nth: z.ZodOptional<z.ZodInt>;
16
+ within: z.ZodOptional<z.ZodObject<{
17
+ role: z.ZodString;
18
+ has: z.ZodString;
19
+ }, z.core.$strict>>;
20
+ by: z.ZodLiteral<"role">;
21
+ role: z.ZodString;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ css: z.ZodOptional<z.ZodString>;
25
+ nth: z.ZodOptional<z.ZodInt>;
26
+ within: z.ZodOptional<z.ZodObject<{
27
+ role: z.ZodString;
28
+ has: z.ZodString;
29
+ }, z.core.$strict>>;
30
+ by: z.ZodLiteral<"label">;
31
+ label: z.ZodString;
32
+ }, z.core.$strict>, z.ZodObject<{
33
+ css: z.ZodOptional<z.ZodString>;
34
+ nth: z.ZodOptional<z.ZodInt>;
35
+ within: z.ZodOptional<z.ZodObject<{
36
+ role: z.ZodString;
37
+ has: z.ZodString;
38
+ }, z.core.$strict>>;
39
+ by: z.ZodLiteral<"text">;
40
+ text: z.ZodString;
41
+ }, z.core.$strict>], "by">;
42
+ export type FlowTarget = z.infer<typeof FlowTarget>;
43
+ export declare const FlowSecretName: z.ZodString;
44
+ export type FlowSecretName = z.infer<typeof FlowSecretName>;
45
+ export declare const flowActionTypes: readonly ["open", "click", "fill", "read", "write", "repeat"];
46
+ export type FlowActionType = (typeof flowActionTypes)[number];
47
+ export declare const flowReadTakes: readonly ["text", "link", "value"];
48
+ export declare const FlowAction: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
49
+ type: z.ZodLiteral<"open">;
50
+ url: z.ZodURL;
51
+ }, z.core.$strict>, z.ZodObject<{
52
+ type: z.ZodLiteral<"click">;
53
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
54
+ css: z.ZodOptional<z.ZodString>;
55
+ nth: z.ZodOptional<z.ZodInt>;
56
+ within: z.ZodOptional<z.ZodObject<{
57
+ role: z.ZodString;
58
+ has: z.ZodString;
59
+ }, z.core.$strict>>;
60
+ by: z.ZodLiteral<"role">;
61
+ role: z.ZodString;
62
+ name: z.ZodOptional<z.ZodString>;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ css: z.ZodOptional<z.ZodString>;
65
+ nth: z.ZodOptional<z.ZodInt>;
66
+ within: z.ZodOptional<z.ZodObject<{
67
+ role: z.ZodString;
68
+ has: z.ZodString;
69
+ }, z.core.$strict>>;
70
+ by: z.ZodLiteral<"label">;
71
+ label: z.ZodString;
72
+ }, z.core.$strict>, z.ZodObject<{
73
+ css: z.ZodOptional<z.ZodString>;
74
+ nth: z.ZodOptional<z.ZodInt>;
75
+ within: z.ZodOptional<z.ZodObject<{
76
+ role: z.ZodString;
77
+ has: z.ZodString;
78
+ }, z.core.$strict>>;
79
+ by: z.ZodLiteral<"text">;
80
+ text: z.ZodString;
81
+ }, z.core.$strict>], "by">;
82
+ }, z.core.$strict>, z.ZodObject<{
83
+ type: z.ZodLiteral<"fill">;
84
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
85
+ css: z.ZodOptional<z.ZodString>;
86
+ nth: z.ZodOptional<z.ZodInt>;
87
+ within: z.ZodOptional<z.ZodObject<{
88
+ role: z.ZodString;
89
+ has: z.ZodString;
90
+ }, z.core.$strict>>;
91
+ by: z.ZodLiteral<"role">;
92
+ role: z.ZodString;
93
+ name: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strict>, z.ZodObject<{
95
+ css: z.ZodOptional<z.ZodString>;
96
+ nth: z.ZodOptional<z.ZodInt>;
97
+ within: z.ZodOptional<z.ZodObject<{
98
+ role: z.ZodString;
99
+ has: z.ZodString;
100
+ }, z.core.$strict>>;
101
+ by: z.ZodLiteral<"label">;
102
+ label: z.ZodString;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ css: z.ZodOptional<z.ZodString>;
105
+ nth: z.ZodOptional<z.ZodInt>;
106
+ within: z.ZodOptional<z.ZodObject<{
107
+ role: z.ZodString;
108
+ has: z.ZodString;
109
+ }, z.core.$strict>>;
110
+ by: z.ZodLiteral<"text">;
111
+ text: z.ZodString;
112
+ }, z.core.$strict>], "by">;
113
+ value: z.ZodUnion<readonly [z.ZodObject<{
114
+ text: z.ZodString;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ credential: z.ZodString;
117
+ }, z.core.$strict>]>;
118
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ type: z.ZodLiteral<"read">;
121
+ into: z.ZodString;
122
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
123
+ css: z.ZodOptional<z.ZodString>;
124
+ nth: z.ZodOptional<z.ZodInt>;
125
+ within: z.ZodOptional<z.ZodObject<{
126
+ role: z.ZodString;
127
+ has: z.ZodString;
128
+ }, z.core.$strict>>;
129
+ by: z.ZodLiteral<"role">;
130
+ role: z.ZodString;
131
+ name: z.ZodOptional<z.ZodString>;
132
+ }, z.core.$strict>, z.ZodObject<{
133
+ css: z.ZodOptional<z.ZodString>;
134
+ nth: z.ZodOptional<z.ZodInt>;
135
+ within: z.ZodOptional<z.ZodObject<{
136
+ role: z.ZodString;
137
+ has: z.ZodString;
138
+ }, z.core.$strict>>;
139
+ by: z.ZodLiteral<"label">;
140
+ label: z.ZodString;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ css: z.ZodOptional<z.ZodString>;
143
+ nth: z.ZodOptional<z.ZodInt>;
144
+ within: z.ZodOptional<z.ZodObject<{
145
+ role: z.ZodString;
146
+ has: z.ZodString;
147
+ }, z.core.$strict>>;
148
+ by: z.ZodLiteral<"text">;
149
+ text: z.ZodString;
150
+ }, z.core.$strict>], "by">>;
151
+ fields: z.ZodArray<z.ZodObject<{
152
+ name: z.ZodString;
153
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
154
+ css: z.ZodOptional<z.ZodString>;
155
+ nth: z.ZodOptional<z.ZodInt>;
156
+ within: z.ZodOptional<z.ZodObject<{
157
+ role: z.ZodString;
158
+ has: z.ZodString;
159
+ }, z.core.$strict>>;
160
+ by: z.ZodLiteral<"role">;
161
+ role: z.ZodString;
162
+ name: z.ZodOptional<z.ZodString>;
163
+ }, z.core.$strict>, z.ZodObject<{
164
+ css: z.ZodOptional<z.ZodString>;
165
+ nth: z.ZodOptional<z.ZodInt>;
166
+ within: z.ZodOptional<z.ZodObject<{
167
+ role: z.ZodString;
168
+ has: z.ZodString;
169
+ }, z.core.$strict>>;
170
+ by: z.ZodLiteral<"label">;
171
+ label: z.ZodString;
172
+ }, z.core.$strict>, z.ZodObject<{
173
+ css: z.ZodOptional<z.ZodString>;
174
+ nth: z.ZodOptional<z.ZodInt>;
175
+ within: z.ZodOptional<z.ZodObject<{
176
+ role: z.ZodString;
177
+ has: z.ZodString;
178
+ }, z.core.$strict>>;
179
+ by: z.ZodLiteral<"text">;
180
+ text: z.ZodString;
181
+ }, z.core.$strict>], "by">;
182
+ take: z.ZodOptional<z.ZodEnum<{
183
+ value: "value";
184
+ link: "link";
185
+ text: "text";
186
+ }>>;
187
+ pattern: z.ZodOptional<z.ZodString>;
188
+ }, z.core.$strict>>;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ type: z.ZodLiteral<"write">;
191
+ from: z.ZodString;
192
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
193
+ unique: z.ZodOptional<z.ZodString>;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ type: z.ZodLiteral<"repeat">;
196
+ over: z.ZodUnion<readonly [z.ZodObject<{
197
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
198
+ css: z.ZodOptional<z.ZodString>;
199
+ nth: z.ZodOptional<z.ZodInt>;
200
+ within: z.ZodOptional<z.ZodObject<{
201
+ role: z.ZodString;
202
+ has: z.ZodString;
203
+ }, z.core.$strict>>;
204
+ by: z.ZodLiteral<"role">;
205
+ role: z.ZodString;
206
+ name: z.ZodOptional<z.ZodString>;
207
+ }, z.core.$strict>, z.ZodObject<{
208
+ css: z.ZodOptional<z.ZodString>;
209
+ nth: z.ZodOptional<z.ZodInt>;
210
+ within: z.ZodOptional<z.ZodObject<{
211
+ role: z.ZodString;
212
+ has: z.ZodString;
213
+ }, z.core.$strict>>;
214
+ by: z.ZodLiteral<"label">;
215
+ label: z.ZodString;
216
+ }, z.core.$strict>, z.ZodObject<{
217
+ css: z.ZodOptional<z.ZodString>;
218
+ nth: z.ZodOptional<z.ZodInt>;
219
+ within: z.ZodOptional<z.ZodObject<{
220
+ role: z.ZodString;
221
+ has: z.ZodString;
222
+ }, z.core.$strict>>;
223
+ by: z.ZodLiteral<"text">;
224
+ text: z.ZodString;
225
+ }, z.core.$strict>], "by">;
226
+ }, z.core.$strict>, z.ZodObject<{
227
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
228
+ css: z.ZodOptional<z.ZodString>;
229
+ nth: z.ZodOptional<z.ZodInt>;
230
+ within: z.ZodOptional<z.ZodObject<{
231
+ role: z.ZodString;
232
+ has: z.ZodString;
233
+ }, z.core.$strict>>;
234
+ by: z.ZodLiteral<"role">;
235
+ role: z.ZodString;
236
+ name: z.ZodOptional<z.ZodString>;
237
+ }, z.core.$strict>, z.ZodObject<{
238
+ css: z.ZodOptional<z.ZodString>;
239
+ nth: z.ZodOptional<z.ZodInt>;
240
+ within: z.ZodOptional<z.ZodObject<{
241
+ role: z.ZodString;
242
+ has: z.ZodString;
243
+ }, z.core.$strict>>;
244
+ by: z.ZodLiteral<"label">;
245
+ label: z.ZodString;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ css: z.ZodOptional<z.ZodString>;
248
+ nth: z.ZodOptional<z.ZodInt>;
249
+ within: z.ZodOptional<z.ZodObject<{
250
+ role: z.ZodString;
251
+ has: z.ZodString;
252
+ }, z.core.$strict>>;
253
+ by: z.ZodLiteral<"text">;
254
+ text: z.ZodString;
255
+ }, z.core.$strict>], "by">;
256
+ }, z.core.$strict>, z.ZodObject<{
257
+ times: z.ZodInt;
258
+ }, z.core.$strict>]>;
259
+ max: z.ZodOptional<z.ZodInt>;
260
+ }, z.core.$strict>], "type">, unknown>;
261
+ export type FlowAction = z.infer<typeof FlowAction>;
262
+ export declare const FlowActions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ type: z.ZodLiteral<"open">;
264
+ url: z.ZodURL;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ type: z.ZodLiteral<"click">;
267
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
268
+ css: z.ZodOptional<z.ZodString>;
269
+ nth: z.ZodOptional<z.ZodInt>;
270
+ within: z.ZodOptional<z.ZodObject<{
271
+ role: z.ZodString;
272
+ has: z.ZodString;
273
+ }, z.core.$strict>>;
274
+ by: z.ZodLiteral<"role">;
275
+ role: z.ZodString;
276
+ name: z.ZodOptional<z.ZodString>;
277
+ }, z.core.$strict>, z.ZodObject<{
278
+ css: z.ZodOptional<z.ZodString>;
279
+ nth: z.ZodOptional<z.ZodInt>;
280
+ within: z.ZodOptional<z.ZodObject<{
281
+ role: z.ZodString;
282
+ has: z.ZodString;
283
+ }, z.core.$strict>>;
284
+ by: z.ZodLiteral<"label">;
285
+ label: z.ZodString;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ css: z.ZodOptional<z.ZodString>;
288
+ nth: z.ZodOptional<z.ZodInt>;
289
+ within: z.ZodOptional<z.ZodObject<{
290
+ role: z.ZodString;
291
+ has: z.ZodString;
292
+ }, z.core.$strict>>;
293
+ by: z.ZodLiteral<"text">;
294
+ text: z.ZodString;
295
+ }, z.core.$strict>], "by">;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ type: z.ZodLiteral<"fill">;
298
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
299
+ css: z.ZodOptional<z.ZodString>;
300
+ nth: z.ZodOptional<z.ZodInt>;
301
+ within: z.ZodOptional<z.ZodObject<{
302
+ role: z.ZodString;
303
+ has: z.ZodString;
304
+ }, z.core.$strict>>;
305
+ by: z.ZodLiteral<"role">;
306
+ role: z.ZodString;
307
+ name: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$strict>, z.ZodObject<{
309
+ css: z.ZodOptional<z.ZodString>;
310
+ nth: z.ZodOptional<z.ZodInt>;
311
+ within: z.ZodOptional<z.ZodObject<{
312
+ role: z.ZodString;
313
+ has: z.ZodString;
314
+ }, z.core.$strict>>;
315
+ by: z.ZodLiteral<"label">;
316
+ label: z.ZodString;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ css: z.ZodOptional<z.ZodString>;
319
+ nth: z.ZodOptional<z.ZodInt>;
320
+ within: z.ZodOptional<z.ZodObject<{
321
+ role: z.ZodString;
322
+ has: z.ZodString;
323
+ }, z.core.$strict>>;
324
+ by: z.ZodLiteral<"text">;
325
+ text: z.ZodString;
326
+ }, z.core.$strict>], "by">;
327
+ value: z.ZodUnion<readonly [z.ZodObject<{
328
+ text: z.ZodString;
329
+ }, z.core.$strict>, z.ZodObject<{
330
+ credential: z.ZodString;
331
+ }, z.core.$strict>]>;
332
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
333
+ }, z.core.$strict>, z.ZodObject<{
334
+ type: z.ZodLiteral<"read">;
335
+ into: z.ZodString;
336
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
337
+ css: z.ZodOptional<z.ZodString>;
338
+ nth: z.ZodOptional<z.ZodInt>;
339
+ within: z.ZodOptional<z.ZodObject<{
340
+ role: z.ZodString;
341
+ has: z.ZodString;
342
+ }, z.core.$strict>>;
343
+ by: z.ZodLiteral<"role">;
344
+ role: z.ZodString;
345
+ name: z.ZodOptional<z.ZodString>;
346
+ }, z.core.$strict>, z.ZodObject<{
347
+ css: z.ZodOptional<z.ZodString>;
348
+ nth: z.ZodOptional<z.ZodInt>;
349
+ within: z.ZodOptional<z.ZodObject<{
350
+ role: z.ZodString;
351
+ has: z.ZodString;
352
+ }, z.core.$strict>>;
353
+ by: z.ZodLiteral<"label">;
354
+ label: z.ZodString;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ css: z.ZodOptional<z.ZodString>;
357
+ nth: z.ZodOptional<z.ZodInt>;
358
+ within: z.ZodOptional<z.ZodObject<{
359
+ role: z.ZodString;
360
+ has: z.ZodString;
361
+ }, z.core.$strict>>;
362
+ by: z.ZodLiteral<"text">;
363
+ text: z.ZodString;
364
+ }, z.core.$strict>], "by">>;
365
+ fields: z.ZodArray<z.ZodObject<{
366
+ name: z.ZodString;
367
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
368
+ css: z.ZodOptional<z.ZodString>;
369
+ nth: z.ZodOptional<z.ZodInt>;
370
+ within: z.ZodOptional<z.ZodObject<{
371
+ role: z.ZodString;
372
+ has: z.ZodString;
373
+ }, z.core.$strict>>;
374
+ by: z.ZodLiteral<"role">;
375
+ role: z.ZodString;
376
+ name: z.ZodOptional<z.ZodString>;
377
+ }, z.core.$strict>, z.ZodObject<{
378
+ css: z.ZodOptional<z.ZodString>;
379
+ nth: z.ZodOptional<z.ZodInt>;
380
+ within: z.ZodOptional<z.ZodObject<{
381
+ role: z.ZodString;
382
+ has: z.ZodString;
383
+ }, z.core.$strict>>;
384
+ by: z.ZodLiteral<"label">;
385
+ label: z.ZodString;
386
+ }, z.core.$strict>, z.ZodObject<{
387
+ css: z.ZodOptional<z.ZodString>;
388
+ nth: z.ZodOptional<z.ZodInt>;
389
+ within: z.ZodOptional<z.ZodObject<{
390
+ role: z.ZodString;
391
+ has: z.ZodString;
392
+ }, z.core.$strict>>;
393
+ by: z.ZodLiteral<"text">;
394
+ text: z.ZodString;
395
+ }, z.core.$strict>], "by">;
396
+ take: z.ZodOptional<z.ZodEnum<{
397
+ value: "value";
398
+ link: "link";
399
+ text: "text";
400
+ }>>;
401
+ pattern: z.ZodOptional<z.ZodString>;
402
+ }, z.core.$strict>>;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ type: z.ZodLiteral<"write">;
405
+ from: z.ZodString;
406
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
407
+ unique: z.ZodOptional<z.ZodString>;
408
+ }, z.core.$strict>, z.ZodObject<{
409
+ type: z.ZodLiteral<"repeat">;
410
+ over: z.ZodUnion<readonly [z.ZodObject<{
411
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
412
+ css: z.ZodOptional<z.ZodString>;
413
+ nth: z.ZodOptional<z.ZodInt>;
414
+ within: z.ZodOptional<z.ZodObject<{
415
+ role: z.ZodString;
416
+ has: z.ZodString;
417
+ }, z.core.$strict>>;
418
+ by: z.ZodLiteral<"role">;
419
+ role: z.ZodString;
420
+ name: z.ZodOptional<z.ZodString>;
421
+ }, z.core.$strict>, z.ZodObject<{
422
+ css: z.ZodOptional<z.ZodString>;
423
+ nth: z.ZodOptional<z.ZodInt>;
424
+ within: z.ZodOptional<z.ZodObject<{
425
+ role: z.ZodString;
426
+ has: z.ZodString;
427
+ }, z.core.$strict>>;
428
+ by: z.ZodLiteral<"label">;
429
+ label: z.ZodString;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ css: z.ZodOptional<z.ZodString>;
432
+ nth: z.ZodOptional<z.ZodInt>;
433
+ within: z.ZodOptional<z.ZodObject<{
434
+ role: z.ZodString;
435
+ has: z.ZodString;
436
+ }, z.core.$strict>>;
437
+ by: z.ZodLiteral<"text">;
438
+ text: z.ZodString;
439
+ }, z.core.$strict>], "by">;
440
+ }, z.core.$strict>, z.ZodObject<{
441
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
442
+ css: z.ZodOptional<z.ZodString>;
443
+ nth: z.ZodOptional<z.ZodInt>;
444
+ within: z.ZodOptional<z.ZodObject<{
445
+ role: z.ZodString;
446
+ has: z.ZodString;
447
+ }, z.core.$strict>>;
448
+ by: z.ZodLiteral<"role">;
449
+ role: z.ZodString;
450
+ name: z.ZodOptional<z.ZodString>;
451
+ }, z.core.$strict>, z.ZodObject<{
452
+ css: z.ZodOptional<z.ZodString>;
453
+ nth: z.ZodOptional<z.ZodInt>;
454
+ within: z.ZodOptional<z.ZodObject<{
455
+ role: z.ZodString;
456
+ has: z.ZodString;
457
+ }, z.core.$strict>>;
458
+ by: z.ZodLiteral<"label">;
459
+ label: z.ZodString;
460
+ }, z.core.$strict>, z.ZodObject<{
461
+ css: z.ZodOptional<z.ZodString>;
462
+ nth: z.ZodOptional<z.ZodInt>;
463
+ within: z.ZodOptional<z.ZodObject<{
464
+ role: z.ZodString;
465
+ has: z.ZodString;
466
+ }, z.core.$strict>>;
467
+ by: z.ZodLiteral<"text">;
468
+ text: z.ZodString;
469
+ }, z.core.$strict>], "by">;
470
+ }, z.core.$strict>, z.ZodObject<{
471
+ times: z.ZodInt;
472
+ }, z.core.$strict>]>;
473
+ max: z.ZodOptional<z.ZodInt>;
474
+ }, z.core.$strict>], "type">, unknown>>;
475
+ export type FlowActions = z.infer<typeof FlowActions>;
476
+ export declare const flowStepStates: readonly ["fixed", "open"];
477
+ export declare const FlowStepState: z.ZodEnum<{
478
+ fixed: "fixed";
479
+ open: "open";
480
+ }>;
481
+ export type FlowStepState = z.infer<typeof FlowStepState>;
482
+ export declare const FlowReachedPath: z.ZodString;
483
+ export declare const FlowSubStep: z.ZodObject<{
484
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
485
+ title: z.ZodString;
486
+ instruction: z.ZodString;
487
+ success: z.ZodString;
488
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
489
+ type: z.ZodLiteral<"open">;
490
+ url: z.ZodURL;
491
+ }, z.core.$strict>, z.ZodObject<{
492
+ type: z.ZodLiteral<"click">;
493
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
494
+ css: z.ZodOptional<z.ZodString>;
495
+ nth: z.ZodOptional<z.ZodInt>;
496
+ within: z.ZodOptional<z.ZodObject<{
497
+ role: z.ZodString;
498
+ has: z.ZodString;
499
+ }, z.core.$strict>>;
500
+ by: z.ZodLiteral<"role">;
501
+ role: z.ZodString;
502
+ name: z.ZodOptional<z.ZodString>;
503
+ }, z.core.$strict>, z.ZodObject<{
504
+ css: z.ZodOptional<z.ZodString>;
505
+ nth: z.ZodOptional<z.ZodInt>;
506
+ within: z.ZodOptional<z.ZodObject<{
507
+ role: z.ZodString;
508
+ has: z.ZodString;
509
+ }, z.core.$strict>>;
510
+ by: z.ZodLiteral<"label">;
511
+ label: z.ZodString;
512
+ }, z.core.$strict>, z.ZodObject<{
513
+ css: z.ZodOptional<z.ZodString>;
514
+ nth: z.ZodOptional<z.ZodInt>;
515
+ within: z.ZodOptional<z.ZodObject<{
516
+ role: z.ZodString;
517
+ has: z.ZodString;
518
+ }, z.core.$strict>>;
519
+ by: z.ZodLiteral<"text">;
520
+ text: z.ZodString;
521
+ }, z.core.$strict>], "by">;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ type: z.ZodLiteral<"fill">;
524
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
525
+ css: z.ZodOptional<z.ZodString>;
526
+ nth: z.ZodOptional<z.ZodInt>;
527
+ within: z.ZodOptional<z.ZodObject<{
528
+ role: z.ZodString;
529
+ has: z.ZodString;
530
+ }, z.core.$strict>>;
531
+ by: z.ZodLiteral<"role">;
532
+ role: z.ZodString;
533
+ name: z.ZodOptional<z.ZodString>;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ css: z.ZodOptional<z.ZodString>;
536
+ nth: z.ZodOptional<z.ZodInt>;
537
+ within: z.ZodOptional<z.ZodObject<{
538
+ role: z.ZodString;
539
+ has: z.ZodString;
540
+ }, z.core.$strict>>;
541
+ by: z.ZodLiteral<"label">;
542
+ label: z.ZodString;
543
+ }, z.core.$strict>, z.ZodObject<{
544
+ css: z.ZodOptional<z.ZodString>;
545
+ nth: z.ZodOptional<z.ZodInt>;
546
+ within: z.ZodOptional<z.ZodObject<{
547
+ role: z.ZodString;
548
+ has: z.ZodString;
549
+ }, z.core.$strict>>;
550
+ by: z.ZodLiteral<"text">;
551
+ text: z.ZodString;
552
+ }, z.core.$strict>], "by">;
553
+ value: z.ZodUnion<readonly [z.ZodObject<{
554
+ text: z.ZodString;
555
+ }, z.core.$strict>, z.ZodObject<{
556
+ credential: z.ZodString;
557
+ }, z.core.$strict>]>;
558
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
559
+ }, z.core.$strict>, z.ZodObject<{
560
+ type: z.ZodLiteral<"read">;
561
+ into: z.ZodString;
562
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
563
+ css: z.ZodOptional<z.ZodString>;
564
+ nth: z.ZodOptional<z.ZodInt>;
565
+ within: z.ZodOptional<z.ZodObject<{
566
+ role: z.ZodString;
567
+ has: z.ZodString;
568
+ }, z.core.$strict>>;
569
+ by: z.ZodLiteral<"role">;
570
+ role: z.ZodString;
571
+ name: z.ZodOptional<z.ZodString>;
572
+ }, z.core.$strict>, z.ZodObject<{
573
+ css: z.ZodOptional<z.ZodString>;
574
+ nth: z.ZodOptional<z.ZodInt>;
575
+ within: z.ZodOptional<z.ZodObject<{
576
+ role: z.ZodString;
577
+ has: z.ZodString;
578
+ }, z.core.$strict>>;
579
+ by: z.ZodLiteral<"label">;
580
+ label: z.ZodString;
581
+ }, z.core.$strict>, z.ZodObject<{
582
+ css: z.ZodOptional<z.ZodString>;
583
+ nth: z.ZodOptional<z.ZodInt>;
584
+ within: z.ZodOptional<z.ZodObject<{
585
+ role: z.ZodString;
586
+ has: z.ZodString;
587
+ }, z.core.$strict>>;
588
+ by: z.ZodLiteral<"text">;
589
+ text: z.ZodString;
590
+ }, z.core.$strict>], "by">>;
591
+ fields: z.ZodArray<z.ZodObject<{
592
+ name: z.ZodString;
593
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ css: z.ZodOptional<z.ZodString>;
595
+ nth: z.ZodOptional<z.ZodInt>;
596
+ within: z.ZodOptional<z.ZodObject<{
597
+ role: z.ZodString;
598
+ has: z.ZodString;
599
+ }, z.core.$strict>>;
600
+ by: z.ZodLiteral<"role">;
601
+ role: z.ZodString;
602
+ name: z.ZodOptional<z.ZodString>;
603
+ }, z.core.$strict>, z.ZodObject<{
604
+ css: z.ZodOptional<z.ZodString>;
605
+ nth: z.ZodOptional<z.ZodInt>;
606
+ within: z.ZodOptional<z.ZodObject<{
607
+ role: z.ZodString;
608
+ has: z.ZodString;
609
+ }, z.core.$strict>>;
610
+ by: z.ZodLiteral<"label">;
611
+ label: z.ZodString;
612
+ }, z.core.$strict>, z.ZodObject<{
613
+ css: z.ZodOptional<z.ZodString>;
614
+ nth: z.ZodOptional<z.ZodInt>;
615
+ within: z.ZodOptional<z.ZodObject<{
616
+ role: z.ZodString;
617
+ has: z.ZodString;
618
+ }, z.core.$strict>>;
619
+ by: z.ZodLiteral<"text">;
620
+ text: z.ZodString;
621
+ }, z.core.$strict>], "by">;
622
+ take: z.ZodOptional<z.ZodEnum<{
623
+ value: "value";
624
+ link: "link";
625
+ text: "text";
626
+ }>>;
627
+ pattern: z.ZodOptional<z.ZodString>;
628
+ }, z.core.$strict>>;
629
+ }, z.core.$strict>, z.ZodObject<{
630
+ type: z.ZodLiteral<"write">;
631
+ from: z.ZodString;
632
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
633
+ unique: z.ZodOptional<z.ZodString>;
634
+ }, z.core.$strict>, z.ZodObject<{
635
+ type: z.ZodLiteral<"repeat">;
636
+ over: z.ZodUnion<readonly [z.ZodObject<{
637
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
638
+ css: z.ZodOptional<z.ZodString>;
639
+ nth: z.ZodOptional<z.ZodInt>;
640
+ within: z.ZodOptional<z.ZodObject<{
641
+ role: z.ZodString;
642
+ has: z.ZodString;
643
+ }, z.core.$strict>>;
644
+ by: z.ZodLiteral<"role">;
645
+ role: z.ZodString;
646
+ name: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strict>, z.ZodObject<{
648
+ css: z.ZodOptional<z.ZodString>;
649
+ nth: z.ZodOptional<z.ZodInt>;
650
+ within: z.ZodOptional<z.ZodObject<{
651
+ role: z.ZodString;
652
+ has: z.ZodString;
653
+ }, z.core.$strict>>;
654
+ by: z.ZodLiteral<"label">;
655
+ label: z.ZodString;
656
+ }, z.core.$strict>, z.ZodObject<{
657
+ css: z.ZodOptional<z.ZodString>;
658
+ nth: z.ZodOptional<z.ZodInt>;
659
+ within: z.ZodOptional<z.ZodObject<{
660
+ role: z.ZodString;
661
+ has: z.ZodString;
662
+ }, z.core.$strict>>;
663
+ by: z.ZodLiteral<"text">;
664
+ text: z.ZodString;
665
+ }, z.core.$strict>], "by">;
666
+ }, z.core.$strict>, z.ZodObject<{
667
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
668
+ css: z.ZodOptional<z.ZodString>;
669
+ nth: z.ZodOptional<z.ZodInt>;
670
+ within: z.ZodOptional<z.ZodObject<{
671
+ role: z.ZodString;
672
+ has: z.ZodString;
673
+ }, z.core.$strict>>;
674
+ by: z.ZodLiteral<"role">;
675
+ role: z.ZodString;
676
+ name: z.ZodOptional<z.ZodString>;
677
+ }, z.core.$strict>, z.ZodObject<{
678
+ css: z.ZodOptional<z.ZodString>;
679
+ nth: z.ZodOptional<z.ZodInt>;
680
+ within: z.ZodOptional<z.ZodObject<{
681
+ role: z.ZodString;
682
+ has: z.ZodString;
683
+ }, z.core.$strict>>;
684
+ by: z.ZodLiteral<"label">;
685
+ label: z.ZodString;
686
+ }, z.core.$strict>, z.ZodObject<{
687
+ css: z.ZodOptional<z.ZodString>;
688
+ nth: z.ZodOptional<z.ZodInt>;
689
+ within: z.ZodOptional<z.ZodObject<{
690
+ role: z.ZodString;
691
+ has: z.ZodString;
692
+ }, z.core.$strict>>;
693
+ by: z.ZodLiteral<"text">;
694
+ text: z.ZodString;
695
+ }, z.core.$strict>], "by">;
696
+ }, z.core.$strict>, z.ZodObject<{
697
+ times: z.ZodInt;
698
+ }, z.core.$strict>]>;
699
+ max: z.ZodOptional<z.ZodInt>;
700
+ }, z.core.$strict>], "type">, unknown>>;
701
+ state: z.ZodEnum<{
702
+ fixed: "fixed";
703
+ open: "open";
704
+ }>;
705
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
+ }, z.core.$strip>;
707
+ export type FlowSubStep = z.infer<typeof FlowSubStep>;
708
+ export declare const FlowStep: z.ZodObject<{
709
+ steps: z.ZodArray<z.ZodObject<{
710
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
711
+ title: z.ZodString;
712
+ instruction: z.ZodString;
713
+ success: z.ZodString;
714
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
715
+ type: z.ZodLiteral<"open">;
716
+ url: z.ZodURL;
717
+ }, z.core.$strict>, z.ZodObject<{
718
+ type: z.ZodLiteral<"click">;
719
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
720
+ css: z.ZodOptional<z.ZodString>;
721
+ nth: z.ZodOptional<z.ZodInt>;
722
+ within: z.ZodOptional<z.ZodObject<{
723
+ role: z.ZodString;
724
+ has: z.ZodString;
725
+ }, z.core.$strict>>;
726
+ by: z.ZodLiteral<"role">;
727
+ role: z.ZodString;
728
+ name: z.ZodOptional<z.ZodString>;
729
+ }, z.core.$strict>, z.ZodObject<{
730
+ css: z.ZodOptional<z.ZodString>;
731
+ nth: z.ZodOptional<z.ZodInt>;
732
+ within: z.ZodOptional<z.ZodObject<{
733
+ role: z.ZodString;
734
+ has: z.ZodString;
735
+ }, z.core.$strict>>;
736
+ by: z.ZodLiteral<"label">;
737
+ label: z.ZodString;
738
+ }, z.core.$strict>, z.ZodObject<{
739
+ css: z.ZodOptional<z.ZodString>;
740
+ nth: z.ZodOptional<z.ZodInt>;
741
+ within: z.ZodOptional<z.ZodObject<{
742
+ role: z.ZodString;
743
+ has: z.ZodString;
744
+ }, z.core.$strict>>;
745
+ by: z.ZodLiteral<"text">;
746
+ text: z.ZodString;
747
+ }, z.core.$strict>], "by">;
748
+ }, z.core.$strict>, z.ZodObject<{
749
+ type: z.ZodLiteral<"fill">;
750
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
751
+ css: z.ZodOptional<z.ZodString>;
752
+ nth: z.ZodOptional<z.ZodInt>;
753
+ within: z.ZodOptional<z.ZodObject<{
754
+ role: z.ZodString;
755
+ has: z.ZodString;
756
+ }, z.core.$strict>>;
757
+ by: z.ZodLiteral<"role">;
758
+ role: z.ZodString;
759
+ name: z.ZodOptional<z.ZodString>;
760
+ }, z.core.$strict>, z.ZodObject<{
761
+ css: z.ZodOptional<z.ZodString>;
762
+ nth: z.ZodOptional<z.ZodInt>;
763
+ within: z.ZodOptional<z.ZodObject<{
764
+ role: z.ZodString;
765
+ has: z.ZodString;
766
+ }, z.core.$strict>>;
767
+ by: z.ZodLiteral<"label">;
768
+ label: z.ZodString;
769
+ }, z.core.$strict>, z.ZodObject<{
770
+ css: z.ZodOptional<z.ZodString>;
771
+ nth: z.ZodOptional<z.ZodInt>;
772
+ within: z.ZodOptional<z.ZodObject<{
773
+ role: z.ZodString;
774
+ has: z.ZodString;
775
+ }, z.core.$strict>>;
776
+ by: z.ZodLiteral<"text">;
777
+ text: z.ZodString;
778
+ }, z.core.$strict>], "by">;
779
+ value: z.ZodUnion<readonly [z.ZodObject<{
780
+ text: z.ZodString;
781
+ }, z.core.$strict>, z.ZodObject<{
782
+ credential: z.ZodString;
783
+ }, z.core.$strict>]>;
784
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
785
+ }, z.core.$strict>, z.ZodObject<{
786
+ type: z.ZodLiteral<"read">;
787
+ into: z.ZodString;
788
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
789
+ css: z.ZodOptional<z.ZodString>;
790
+ nth: z.ZodOptional<z.ZodInt>;
791
+ within: z.ZodOptional<z.ZodObject<{
792
+ role: z.ZodString;
793
+ has: z.ZodString;
794
+ }, z.core.$strict>>;
795
+ by: z.ZodLiteral<"role">;
796
+ role: z.ZodString;
797
+ name: z.ZodOptional<z.ZodString>;
798
+ }, z.core.$strict>, z.ZodObject<{
799
+ css: z.ZodOptional<z.ZodString>;
800
+ nth: z.ZodOptional<z.ZodInt>;
801
+ within: z.ZodOptional<z.ZodObject<{
802
+ role: z.ZodString;
803
+ has: z.ZodString;
804
+ }, z.core.$strict>>;
805
+ by: z.ZodLiteral<"label">;
806
+ label: z.ZodString;
807
+ }, z.core.$strict>, z.ZodObject<{
808
+ css: z.ZodOptional<z.ZodString>;
809
+ nth: z.ZodOptional<z.ZodInt>;
810
+ within: z.ZodOptional<z.ZodObject<{
811
+ role: z.ZodString;
812
+ has: z.ZodString;
813
+ }, z.core.$strict>>;
814
+ by: z.ZodLiteral<"text">;
815
+ text: z.ZodString;
816
+ }, z.core.$strict>], "by">>;
817
+ fields: z.ZodArray<z.ZodObject<{
818
+ name: z.ZodString;
819
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
820
+ css: z.ZodOptional<z.ZodString>;
821
+ nth: z.ZodOptional<z.ZodInt>;
822
+ within: z.ZodOptional<z.ZodObject<{
823
+ role: z.ZodString;
824
+ has: z.ZodString;
825
+ }, z.core.$strict>>;
826
+ by: z.ZodLiteral<"role">;
827
+ role: z.ZodString;
828
+ name: z.ZodOptional<z.ZodString>;
829
+ }, z.core.$strict>, z.ZodObject<{
830
+ css: z.ZodOptional<z.ZodString>;
831
+ nth: z.ZodOptional<z.ZodInt>;
832
+ within: z.ZodOptional<z.ZodObject<{
833
+ role: z.ZodString;
834
+ has: z.ZodString;
835
+ }, z.core.$strict>>;
836
+ by: z.ZodLiteral<"label">;
837
+ label: z.ZodString;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ css: z.ZodOptional<z.ZodString>;
840
+ nth: z.ZodOptional<z.ZodInt>;
841
+ within: z.ZodOptional<z.ZodObject<{
842
+ role: z.ZodString;
843
+ has: z.ZodString;
844
+ }, z.core.$strict>>;
845
+ by: z.ZodLiteral<"text">;
846
+ text: z.ZodString;
847
+ }, z.core.$strict>], "by">;
848
+ take: z.ZodOptional<z.ZodEnum<{
849
+ value: "value";
850
+ link: "link";
851
+ text: "text";
852
+ }>>;
853
+ pattern: z.ZodOptional<z.ZodString>;
854
+ }, z.core.$strict>>;
855
+ }, z.core.$strict>, z.ZodObject<{
856
+ type: z.ZodLiteral<"write">;
857
+ from: z.ZodString;
858
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
859
+ unique: z.ZodOptional<z.ZodString>;
860
+ }, z.core.$strict>, z.ZodObject<{
861
+ type: z.ZodLiteral<"repeat">;
862
+ over: z.ZodUnion<readonly [z.ZodObject<{
863
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
864
+ css: z.ZodOptional<z.ZodString>;
865
+ nth: z.ZodOptional<z.ZodInt>;
866
+ within: z.ZodOptional<z.ZodObject<{
867
+ role: z.ZodString;
868
+ has: z.ZodString;
869
+ }, z.core.$strict>>;
870
+ by: z.ZodLiteral<"role">;
871
+ role: z.ZodString;
872
+ name: z.ZodOptional<z.ZodString>;
873
+ }, z.core.$strict>, z.ZodObject<{
874
+ css: z.ZodOptional<z.ZodString>;
875
+ nth: z.ZodOptional<z.ZodInt>;
876
+ within: z.ZodOptional<z.ZodObject<{
877
+ role: z.ZodString;
878
+ has: z.ZodString;
879
+ }, z.core.$strict>>;
880
+ by: z.ZodLiteral<"label">;
881
+ label: z.ZodString;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ css: z.ZodOptional<z.ZodString>;
884
+ nth: z.ZodOptional<z.ZodInt>;
885
+ within: z.ZodOptional<z.ZodObject<{
886
+ role: z.ZodString;
887
+ has: z.ZodString;
888
+ }, z.core.$strict>>;
889
+ by: z.ZodLiteral<"text">;
890
+ text: z.ZodString;
891
+ }, z.core.$strict>], "by">;
892
+ }, z.core.$strict>, z.ZodObject<{
893
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
894
+ css: z.ZodOptional<z.ZodString>;
895
+ nth: z.ZodOptional<z.ZodInt>;
896
+ within: z.ZodOptional<z.ZodObject<{
897
+ role: z.ZodString;
898
+ has: z.ZodString;
899
+ }, z.core.$strict>>;
900
+ by: z.ZodLiteral<"role">;
901
+ role: z.ZodString;
902
+ name: z.ZodOptional<z.ZodString>;
903
+ }, z.core.$strict>, z.ZodObject<{
904
+ css: z.ZodOptional<z.ZodString>;
905
+ nth: z.ZodOptional<z.ZodInt>;
906
+ within: z.ZodOptional<z.ZodObject<{
907
+ role: z.ZodString;
908
+ has: z.ZodString;
909
+ }, z.core.$strict>>;
910
+ by: z.ZodLiteral<"label">;
911
+ label: z.ZodString;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ css: z.ZodOptional<z.ZodString>;
914
+ nth: z.ZodOptional<z.ZodInt>;
915
+ within: z.ZodOptional<z.ZodObject<{
916
+ role: z.ZodString;
917
+ has: z.ZodString;
918
+ }, z.core.$strict>>;
919
+ by: z.ZodLiteral<"text">;
920
+ text: z.ZodString;
921
+ }, z.core.$strict>], "by">;
922
+ }, z.core.$strict>, z.ZodObject<{
923
+ times: z.ZodInt;
924
+ }, z.core.$strict>]>;
925
+ max: z.ZodOptional<z.ZodInt>;
926
+ }, z.core.$strict>], "type">, unknown>>;
927
+ state: z.ZodEnum<{
928
+ fixed: "fixed";
929
+ open: "open";
930
+ }>;
931
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
932
+ }, z.core.$strip>>;
933
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
934
+ title: z.ZodString;
935
+ instruction: z.ZodString;
936
+ success: z.ZodString;
937
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
938
+ type: z.ZodLiteral<"open">;
939
+ url: z.ZodURL;
940
+ }, z.core.$strict>, z.ZodObject<{
941
+ type: z.ZodLiteral<"click">;
942
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
943
+ css: z.ZodOptional<z.ZodString>;
944
+ nth: z.ZodOptional<z.ZodInt>;
945
+ within: z.ZodOptional<z.ZodObject<{
946
+ role: z.ZodString;
947
+ has: z.ZodString;
948
+ }, z.core.$strict>>;
949
+ by: z.ZodLiteral<"role">;
950
+ role: z.ZodString;
951
+ name: z.ZodOptional<z.ZodString>;
952
+ }, z.core.$strict>, z.ZodObject<{
953
+ css: z.ZodOptional<z.ZodString>;
954
+ nth: z.ZodOptional<z.ZodInt>;
955
+ within: z.ZodOptional<z.ZodObject<{
956
+ role: z.ZodString;
957
+ has: z.ZodString;
958
+ }, z.core.$strict>>;
959
+ by: z.ZodLiteral<"label">;
960
+ label: z.ZodString;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ css: z.ZodOptional<z.ZodString>;
963
+ nth: z.ZodOptional<z.ZodInt>;
964
+ within: z.ZodOptional<z.ZodObject<{
965
+ role: z.ZodString;
966
+ has: z.ZodString;
967
+ }, z.core.$strict>>;
968
+ by: z.ZodLiteral<"text">;
969
+ text: z.ZodString;
970
+ }, z.core.$strict>], "by">;
971
+ }, z.core.$strict>, z.ZodObject<{
972
+ type: z.ZodLiteral<"fill">;
973
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
974
+ css: z.ZodOptional<z.ZodString>;
975
+ nth: z.ZodOptional<z.ZodInt>;
976
+ within: z.ZodOptional<z.ZodObject<{
977
+ role: z.ZodString;
978
+ has: z.ZodString;
979
+ }, z.core.$strict>>;
980
+ by: z.ZodLiteral<"role">;
981
+ role: z.ZodString;
982
+ name: z.ZodOptional<z.ZodString>;
983
+ }, z.core.$strict>, z.ZodObject<{
984
+ css: z.ZodOptional<z.ZodString>;
985
+ nth: z.ZodOptional<z.ZodInt>;
986
+ within: z.ZodOptional<z.ZodObject<{
987
+ role: z.ZodString;
988
+ has: z.ZodString;
989
+ }, z.core.$strict>>;
990
+ by: z.ZodLiteral<"label">;
991
+ label: z.ZodString;
992
+ }, z.core.$strict>, z.ZodObject<{
993
+ css: z.ZodOptional<z.ZodString>;
994
+ nth: z.ZodOptional<z.ZodInt>;
995
+ within: z.ZodOptional<z.ZodObject<{
996
+ role: z.ZodString;
997
+ has: z.ZodString;
998
+ }, z.core.$strict>>;
999
+ by: z.ZodLiteral<"text">;
1000
+ text: z.ZodString;
1001
+ }, z.core.$strict>], "by">;
1002
+ value: z.ZodUnion<readonly [z.ZodObject<{
1003
+ text: z.ZodString;
1004
+ }, z.core.$strict>, z.ZodObject<{
1005
+ credential: z.ZodString;
1006
+ }, z.core.$strict>]>;
1007
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ type: z.ZodLiteral<"read">;
1010
+ into: z.ZodString;
1011
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1012
+ css: z.ZodOptional<z.ZodString>;
1013
+ nth: z.ZodOptional<z.ZodInt>;
1014
+ within: z.ZodOptional<z.ZodObject<{
1015
+ role: z.ZodString;
1016
+ has: z.ZodString;
1017
+ }, z.core.$strict>>;
1018
+ by: z.ZodLiteral<"role">;
1019
+ role: z.ZodString;
1020
+ name: z.ZodOptional<z.ZodString>;
1021
+ }, z.core.$strict>, z.ZodObject<{
1022
+ css: z.ZodOptional<z.ZodString>;
1023
+ nth: z.ZodOptional<z.ZodInt>;
1024
+ within: z.ZodOptional<z.ZodObject<{
1025
+ role: z.ZodString;
1026
+ has: z.ZodString;
1027
+ }, z.core.$strict>>;
1028
+ by: z.ZodLiteral<"label">;
1029
+ label: z.ZodString;
1030
+ }, z.core.$strict>, z.ZodObject<{
1031
+ css: z.ZodOptional<z.ZodString>;
1032
+ nth: z.ZodOptional<z.ZodInt>;
1033
+ within: z.ZodOptional<z.ZodObject<{
1034
+ role: z.ZodString;
1035
+ has: z.ZodString;
1036
+ }, z.core.$strict>>;
1037
+ by: z.ZodLiteral<"text">;
1038
+ text: z.ZodString;
1039
+ }, z.core.$strict>], "by">>;
1040
+ fields: z.ZodArray<z.ZodObject<{
1041
+ name: z.ZodString;
1042
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1043
+ css: z.ZodOptional<z.ZodString>;
1044
+ nth: z.ZodOptional<z.ZodInt>;
1045
+ within: z.ZodOptional<z.ZodObject<{
1046
+ role: z.ZodString;
1047
+ has: z.ZodString;
1048
+ }, z.core.$strict>>;
1049
+ by: z.ZodLiteral<"role">;
1050
+ role: z.ZodString;
1051
+ name: z.ZodOptional<z.ZodString>;
1052
+ }, z.core.$strict>, z.ZodObject<{
1053
+ css: z.ZodOptional<z.ZodString>;
1054
+ nth: z.ZodOptional<z.ZodInt>;
1055
+ within: z.ZodOptional<z.ZodObject<{
1056
+ role: z.ZodString;
1057
+ has: z.ZodString;
1058
+ }, z.core.$strict>>;
1059
+ by: z.ZodLiteral<"label">;
1060
+ label: z.ZodString;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ css: z.ZodOptional<z.ZodString>;
1063
+ nth: z.ZodOptional<z.ZodInt>;
1064
+ within: z.ZodOptional<z.ZodObject<{
1065
+ role: z.ZodString;
1066
+ has: z.ZodString;
1067
+ }, z.core.$strict>>;
1068
+ by: z.ZodLiteral<"text">;
1069
+ text: z.ZodString;
1070
+ }, z.core.$strict>], "by">;
1071
+ take: z.ZodOptional<z.ZodEnum<{
1072
+ value: "value";
1073
+ link: "link";
1074
+ text: "text";
1075
+ }>>;
1076
+ pattern: z.ZodOptional<z.ZodString>;
1077
+ }, z.core.$strict>>;
1078
+ }, z.core.$strict>, z.ZodObject<{
1079
+ type: z.ZodLiteral<"write">;
1080
+ from: z.ZodString;
1081
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1082
+ unique: z.ZodOptional<z.ZodString>;
1083
+ }, z.core.$strict>, z.ZodObject<{
1084
+ type: z.ZodLiteral<"repeat">;
1085
+ over: z.ZodUnion<readonly [z.ZodObject<{
1086
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1087
+ css: z.ZodOptional<z.ZodString>;
1088
+ nth: z.ZodOptional<z.ZodInt>;
1089
+ within: z.ZodOptional<z.ZodObject<{
1090
+ role: z.ZodString;
1091
+ has: z.ZodString;
1092
+ }, z.core.$strict>>;
1093
+ by: z.ZodLiteral<"role">;
1094
+ role: z.ZodString;
1095
+ name: z.ZodOptional<z.ZodString>;
1096
+ }, z.core.$strict>, z.ZodObject<{
1097
+ css: z.ZodOptional<z.ZodString>;
1098
+ nth: z.ZodOptional<z.ZodInt>;
1099
+ within: z.ZodOptional<z.ZodObject<{
1100
+ role: z.ZodString;
1101
+ has: z.ZodString;
1102
+ }, z.core.$strict>>;
1103
+ by: z.ZodLiteral<"label">;
1104
+ label: z.ZodString;
1105
+ }, z.core.$strict>, z.ZodObject<{
1106
+ css: z.ZodOptional<z.ZodString>;
1107
+ nth: z.ZodOptional<z.ZodInt>;
1108
+ within: z.ZodOptional<z.ZodObject<{
1109
+ role: z.ZodString;
1110
+ has: z.ZodString;
1111
+ }, z.core.$strict>>;
1112
+ by: z.ZodLiteral<"text">;
1113
+ text: z.ZodString;
1114
+ }, z.core.$strict>], "by">;
1115
+ }, z.core.$strict>, z.ZodObject<{
1116
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1117
+ css: z.ZodOptional<z.ZodString>;
1118
+ nth: z.ZodOptional<z.ZodInt>;
1119
+ within: z.ZodOptional<z.ZodObject<{
1120
+ role: z.ZodString;
1121
+ has: z.ZodString;
1122
+ }, z.core.$strict>>;
1123
+ by: z.ZodLiteral<"role">;
1124
+ role: z.ZodString;
1125
+ name: z.ZodOptional<z.ZodString>;
1126
+ }, z.core.$strict>, z.ZodObject<{
1127
+ css: z.ZodOptional<z.ZodString>;
1128
+ nth: z.ZodOptional<z.ZodInt>;
1129
+ within: z.ZodOptional<z.ZodObject<{
1130
+ role: z.ZodString;
1131
+ has: z.ZodString;
1132
+ }, z.core.$strict>>;
1133
+ by: z.ZodLiteral<"label">;
1134
+ label: z.ZodString;
1135
+ }, z.core.$strict>, z.ZodObject<{
1136
+ css: z.ZodOptional<z.ZodString>;
1137
+ nth: z.ZodOptional<z.ZodInt>;
1138
+ within: z.ZodOptional<z.ZodObject<{
1139
+ role: z.ZodString;
1140
+ has: z.ZodString;
1141
+ }, z.core.$strict>>;
1142
+ by: z.ZodLiteral<"text">;
1143
+ text: z.ZodString;
1144
+ }, z.core.$strict>], "by">;
1145
+ }, z.core.$strict>, z.ZodObject<{
1146
+ times: z.ZodInt;
1147
+ }, z.core.$strict>]>;
1148
+ max: z.ZodOptional<z.ZodInt>;
1149
+ }, z.core.$strict>], "type">, unknown>>;
1150
+ state: z.ZodEnum<{
1151
+ fixed: "fixed";
1152
+ open: "open";
1153
+ }>;
1154
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
+ }, z.core.$strip>;
1156
+ export type FlowStep = z.infer<typeof FlowStep>;
1157
+ export declare const flowRhythms: readonly ["hourly", "daily", "weekly"];
1158
+ export declare const FlowHour: z.ZodString;
1159
+ export declare const FlowSchedule: z.ZodObject<{
1160
+ enabled: z.ZodBoolean;
1161
+ rhythm: z.ZodEnum<{
1162
+ daily: "daily";
1163
+ weekly: "weekly";
1164
+ hourly: "hourly";
1165
+ }>;
1166
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1167
+ monday: "monday";
1168
+ tuesday: "tuesday";
1169
+ wednesday: "wednesday";
1170
+ thursday: "thursday";
1171
+ friday: "friday";
1172
+ saturday: "saturday";
1173
+ sunday: "sunday";
1174
+ }>>>;
1175
+ time: z.ZodOptional<z.ZodString>;
1176
+ zone: z.ZodOptional<z.ZodString>;
1177
+ }, z.core.$strict>;
1178
+ export type FlowSchedule = z.infer<typeof FlowSchedule>;
1179
+ export declare function flowScheduleProblem(schedule: Pick<FlowSchedule, "rhythm" | "days" | "time">): {
1180
+ path: string;
1181
+ message: string;
1182
+ } | null;
1183
+ export declare const flowRecordingDays: readonly [7, 14, 30];
1184
+ export declare const FlowHost: z.ZodString;
1185
+ export type FlowHost = z.infer<typeof FlowHost>;
1186
+ export declare const FlowCreateInput: z.ZodObject<{
1187
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
1188
+ section: z.ZodOptional<z.ZodEnum<{
1189
+ own: "own";
1190
+ shared: "shared";
1191
+ }>>;
1192
+ name: z.ZodString;
1193
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1194
+ idempotencyKey: z.ZodString;
1195
+ }, z.core.$strict>;
1196
+ export type FlowCreateInput = z.infer<typeof FlowCreateInput>;
1197
+ export declare const FlowGetInput: z.ZodObject<{
1198
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1199
+ version: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodEnum<{
1200
+ live: "live";
1201
+ draft: "draft";
1202
+ }>, z.ZodNumber]>, unknown>>;
1203
+ }, z.core.$strict>;
1204
+ export type FlowGetInput = z.infer<typeof FlowGetInput>;
1205
+ export declare const FlowUpdateInput: z.ZodObject<{
1206
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1207
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1208
+ schedule: z.ZodOptional<z.ZodObject<{
1209
+ enabled: z.ZodBoolean;
1210
+ rhythm: z.ZodEnum<{
1211
+ daily: "daily";
1212
+ weekly: "weekly";
1213
+ hourly: "hourly";
1214
+ }>;
1215
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1216
+ monday: "monday";
1217
+ tuesday: "tuesday";
1218
+ wednesday: "wednesday";
1219
+ thursday: "thursday";
1220
+ friday: "friday";
1221
+ saturday: "saturday";
1222
+ sunday: "sunday";
1223
+ }>>>;
1224
+ time: z.ZodOptional<z.ZodString>;
1225
+ zone: z.ZodOptional<z.ZodString>;
1226
+ }, z.core.$strict>>;
1227
+ settings: z.ZodOptional<z.ZodObject<{
1228
+ responsibleId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
1229
+ recordingDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<14>, z.ZodLiteral<30>]>>;
1230
+ }, z.core.$strict>>;
1231
+ fromVersion: z.ZodOptional<z.ZodNumber>;
1232
+ discard: z.ZodOptional<z.ZodLiteral<true>>;
1233
+ rev: z.ZodNumber;
1234
+ }, z.core.$strict>;
1235
+ export type FlowUpdateInput = z.infer<typeof FlowUpdateInput>;
1236
+ export declare const FlowPublishInput: z.ZodObject<{
1237
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1238
+ rev: z.ZodNumber;
1239
+ }, z.core.$strict>;
1240
+ export type FlowPublishInput = z.infer<typeof FlowPublishInput>;
1241
+ export declare const FlowStepCreateInput: z.ZodObject<{
1242
+ rev: z.ZodNumber;
1243
+ parentStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1244
+ afterStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1245
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1246
+ title: z.ZodString;
1247
+ instruction: z.ZodString;
1248
+ success: z.ZodOptional<z.ZodString>;
1249
+ actions: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1250
+ type: z.ZodLiteral<"open">;
1251
+ url: z.ZodURL;
1252
+ }, z.core.$strict>, z.ZodObject<{
1253
+ type: z.ZodLiteral<"click">;
1254
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1255
+ css: z.ZodOptional<z.ZodString>;
1256
+ nth: z.ZodOptional<z.ZodInt>;
1257
+ within: z.ZodOptional<z.ZodObject<{
1258
+ role: z.ZodString;
1259
+ has: z.ZodString;
1260
+ }, z.core.$strict>>;
1261
+ by: z.ZodLiteral<"role">;
1262
+ role: z.ZodString;
1263
+ name: z.ZodOptional<z.ZodString>;
1264
+ }, z.core.$strict>, z.ZodObject<{
1265
+ css: z.ZodOptional<z.ZodString>;
1266
+ nth: z.ZodOptional<z.ZodInt>;
1267
+ within: z.ZodOptional<z.ZodObject<{
1268
+ role: z.ZodString;
1269
+ has: z.ZodString;
1270
+ }, z.core.$strict>>;
1271
+ by: z.ZodLiteral<"label">;
1272
+ label: z.ZodString;
1273
+ }, z.core.$strict>, z.ZodObject<{
1274
+ css: z.ZodOptional<z.ZodString>;
1275
+ nth: z.ZodOptional<z.ZodInt>;
1276
+ within: z.ZodOptional<z.ZodObject<{
1277
+ role: z.ZodString;
1278
+ has: z.ZodString;
1279
+ }, z.core.$strict>>;
1280
+ by: z.ZodLiteral<"text">;
1281
+ text: z.ZodString;
1282
+ }, z.core.$strict>], "by">;
1283
+ }, z.core.$strict>, z.ZodObject<{
1284
+ type: z.ZodLiteral<"fill">;
1285
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1286
+ css: z.ZodOptional<z.ZodString>;
1287
+ nth: z.ZodOptional<z.ZodInt>;
1288
+ within: z.ZodOptional<z.ZodObject<{
1289
+ role: z.ZodString;
1290
+ has: z.ZodString;
1291
+ }, z.core.$strict>>;
1292
+ by: z.ZodLiteral<"role">;
1293
+ role: z.ZodString;
1294
+ name: z.ZodOptional<z.ZodString>;
1295
+ }, z.core.$strict>, z.ZodObject<{
1296
+ css: z.ZodOptional<z.ZodString>;
1297
+ nth: z.ZodOptional<z.ZodInt>;
1298
+ within: z.ZodOptional<z.ZodObject<{
1299
+ role: z.ZodString;
1300
+ has: z.ZodString;
1301
+ }, z.core.$strict>>;
1302
+ by: z.ZodLiteral<"label">;
1303
+ label: z.ZodString;
1304
+ }, z.core.$strict>, z.ZodObject<{
1305
+ css: z.ZodOptional<z.ZodString>;
1306
+ nth: z.ZodOptional<z.ZodInt>;
1307
+ within: z.ZodOptional<z.ZodObject<{
1308
+ role: z.ZodString;
1309
+ has: z.ZodString;
1310
+ }, z.core.$strict>>;
1311
+ by: z.ZodLiteral<"text">;
1312
+ text: z.ZodString;
1313
+ }, z.core.$strict>], "by">;
1314
+ value: z.ZodUnion<readonly [z.ZodObject<{
1315
+ text: z.ZodString;
1316
+ }, z.core.$strict>, z.ZodObject<{
1317
+ credential: z.ZodString;
1318
+ }, z.core.$strict>]>;
1319
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1320
+ }, z.core.$strict>, z.ZodObject<{
1321
+ type: z.ZodLiteral<"read">;
1322
+ into: z.ZodString;
1323
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1324
+ css: z.ZodOptional<z.ZodString>;
1325
+ nth: z.ZodOptional<z.ZodInt>;
1326
+ within: z.ZodOptional<z.ZodObject<{
1327
+ role: z.ZodString;
1328
+ has: z.ZodString;
1329
+ }, z.core.$strict>>;
1330
+ by: z.ZodLiteral<"role">;
1331
+ role: z.ZodString;
1332
+ name: z.ZodOptional<z.ZodString>;
1333
+ }, z.core.$strict>, z.ZodObject<{
1334
+ css: z.ZodOptional<z.ZodString>;
1335
+ nth: z.ZodOptional<z.ZodInt>;
1336
+ within: z.ZodOptional<z.ZodObject<{
1337
+ role: z.ZodString;
1338
+ has: z.ZodString;
1339
+ }, z.core.$strict>>;
1340
+ by: z.ZodLiteral<"label">;
1341
+ label: z.ZodString;
1342
+ }, z.core.$strict>, z.ZodObject<{
1343
+ css: z.ZodOptional<z.ZodString>;
1344
+ nth: z.ZodOptional<z.ZodInt>;
1345
+ within: z.ZodOptional<z.ZodObject<{
1346
+ role: z.ZodString;
1347
+ has: z.ZodString;
1348
+ }, z.core.$strict>>;
1349
+ by: z.ZodLiteral<"text">;
1350
+ text: z.ZodString;
1351
+ }, z.core.$strict>], "by">>;
1352
+ fields: z.ZodArray<z.ZodObject<{
1353
+ name: z.ZodString;
1354
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1355
+ css: z.ZodOptional<z.ZodString>;
1356
+ nth: z.ZodOptional<z.ZodInt>;
1357
+ within: z.ZodOptional<z.ZodObject<{
1358
+ role: z.ZodString;
1359
+ has: z.ZodString;
1360
+ }, z.core.$strict>>;
1361
+ by: z.ZodLiteral<"role">;
1362
+ role: z.ZodString;
1363
+ name: z.ZodOptional<z.ZodString>;
1364
+ }, z.core.$strict>, z.ZodObject<{
1365
+ css: z.ZodOptional<z.ZodString>;
1366
+ nth: z.ZodOptional<z.ZodInt>;
1367
+ within: z.ZodOptional<z.ZodObject<{
1368
+ role: z.ZodString;
1369
+ has: z.ZodString;
1370
+ }, z.core.$strict>>;
1371
+ by: z.ZodLiteral<"label">;
1372
+ label: z.ZodString;
1373
+ }, z.core.$strict>, z.ZodObject<{
1374
+ css: z.ZodOptional<z.ZodString>;
1375
+ nth: z.ZodOptional<z.ZodInt>;
1376
+ within: z.ZodOptional<z.ZodObject<{
1377
+ role: z.ZodString;
1378
+ has: z.ZodString;
1379
+ }, z.core.$strict>>;
1380
+ by: z.ZodLiteral<"text">;
1381
+ text: z.ZodString;
1382
+ }, z.core.$strict>], "by">;
1383
+ take: z.ZodOptional<z.ZodEnum<{
1384
+ value: "value";
1385
+ link: "link";
1386
+ text: "text";
1387
+ }>>;
1388
+ pattern: z.ZodOptional<z.ZodString>;
1389
+ }, z.core.$strict>>;
1390
+ }, z.core.$strict>, z.ZodObject<{
1391
+ type: z.ZodLiteral<"write">;
1392
+ from: z.ZodString;
1393
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1394
+ unique: z.ZodOptional<z.ZodString>;
1395
+ }, z.core.$strict>, z.ZodObject<{
1396
+ type: z.ZodLiteral<"repeat">;
1397
+ over: z.ZodUnion<readonly [z.ZodObject<{
1398
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1399
+ css: z.ZodOptional<z.ZodString>;
1400
+ nth: z.ZodOptional<z.ZodInt>;
1401
+ within: z.ZodOptional<z.ZodObject<{
1402
+ role: z.ZodString;
1403
+ has: z.ZodString;
1404
+ }, z.core.$strict>>;
1405
+ by: z.ZodLiteral<"role">;
1406
+ role: z.ZodString;
1407
+ name: z.ZodOptional<z.ZodString>;
1408
+ }, z.core.$strict>, z.ZodObject<{
1409
+ css: z.ZodOptional<z.ZodString>;
1410
+ nth: z.ZodOptional<z.ZodInt>;
1411
+ within: z.ZodOptional<z.ZodObject<{
1412
+ role: z.ZodString;
1413
+ has: z.ZodString;
1414
+ }, z.core.$strict>>;
1415
+ by: z.ZodLiteral<"label">;
1416
+ label: z.ZodString;
1417
+ }, z.core.$strict>, z.ZodObject<{
1418
+ css: z.ZodOptional<z.ZodString>;
1419
+ nth: z.ZodOptional<z.ZodInt>;
1420
+ within: z.ZodOptional<z.ZodObject<{
1421
+ role: z.ZodString;
1422
+ has: z.ZodString;
1423
+ }, z.core.$strict>>;
1424
+ by: z.ZodLiteral<"text">;
1425
+ text: z.ZodString;
1426
+ }, z.core.$strict>], "by">;
1427
+ }, z.core.$strict>, z.ZodObject<{
1428
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1429
+ css: z.ZodOptional<z.ZodString>;
1430
+ nth: z.ZodOptional<z.ZodInt>;
1431
+ within: z.ZodOptional<z.ZodObject<{
1432
+ role: z.ZodString;
1433
+ has: z.ZodString;
1434
+ }, z.core.$strict>>;
1435
+ by: z.ZodLiteral<"role">;
1436
+ role: z.ZodString;
1437
+ name: z.ZodOptional<z.ZodString>;
1438
+ }, z.core.$strict>, z.ZodObject<{
1439
+ css: z.ZodOptional<z.ZodString>;
1440
+ nth: z.ZodOptional<z.ZodInt>;
1441
+ within: z.ZodOptional<z.ZodObject<{
1442
+ role: z.ZodString;
1443
+ has: z.ZodString;
1444
+ }, z.core.$strict>>;
1445
+ by: z.ZodLiteral<"label">;
1446
+ label: z.ZodString;
1447
+ }, z.core.$strict>, z.ZodObject<{
1448
+ css: z.ZodOptional<z.ZodString>;
1449
+ nth: z.ZodOptional<z.ZodInt>;
1450
+ within: z.ZodOptional<z.ZodObject<{
1451
+ role: z.ZodString;
1452
+ has: z.ZodString;
1453
+ }, z.core.$strict>>;
1454
+ by: z.ZodLiteral<"text">;
1455
+ text: z.ZodString;
1456
+ }, z.core.$strict>], "by">;
1457
+ }, z.core.$strict>, z.ZodObject<{
1458
+ times: z.ZodInt;
1459
+ }, z.core.$strict>]>;
1460
+ max: z.ZodOptional<z.ZodInt>;
1461
+ }, z.core.$strict>], "type">, unknown>>>;
1462
+ state: z.ZodOptional<z.ZodEnum<{
1463
+ fixed: "fixed";
1464
+ open: "open";
1465
+ }>>;
1466
+ reachedPath: z.ZodOptional<z.ZodString>;
1467
+ }, z.core.$strict>;
1468
+ export type FlowStepCreateInput = z.infer<typeof FlowStepCreateInput>;
1469
+ export declare const FlowStepUpdateInput: z.ZodObject<{
1470
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1471
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1472
+ title: z.ZodOptional<z.ZodString>;
1473
+ instruction: z.ZodOptional<z.ZodString>;
1474
+ success: z.ZodOptional<z.ZodString>;
1475
+ actions: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1476
+ type: z.ZodLiteral<"open">;
1477
+ url: z.ZodURL;
1478
+ }, z.core.$strict>, z.ZodObject<{
1479
+ type: z.ZodLiteral<"click">;
1480
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1481
+ css: z.ZodOptional<z.ZodString>;
1482
+ nth: z.ZodOptional<z.ZodInt>;
1483
+ within: z.ZodOptional<z.ZodObject<{
1484
+ role: z.ZodString;
1485
+ has: z.ZodString;
1486
+ }, z.core.$strict>>;
1487
+ by: z.ZodLiteral<"role">;
1488
+ role: z.ZodString;
1489
+ name: z.ZodOptional<z.ZodString>;
1490
+ }, z.core.$strict>, z.ZodObject<{
1491
+ css: z.ZodOptional<z.ZodString>;
1492
+ nth: z.ZodOptional<z.ZodInt>;
1493
+ within: z.ZodOptional<z.ZodObject<{
1494
+ role: z.ZodString;
1495
+ has: z.ZodString;
1496
+ }, z.core.$strict>>;
1497
+ by: z.ZodLiteral<"label">;
1498
+ label: z.ZodString;
1499
+ }, z.core.$strict>, z.ZodObject<{
1500
+ css: z.ZodOptional<z.ZodString>;
1501
+ nth: z.ZodOptional<z.ZodInt>;
1502
+ within: z.ZodOptional<z.ZodObject<{
1503
+ role: z.ZodString;
1504
+ has: z.ZodString;
1505
+ }, z.core.$strict>>;
1506
+ by: z.ZodLiteral<"text">;
1507
+ text: z.ZodString;
1508
+ }, z.core.$strict>], "by">;
1509
+ }, z.core.$strict>, z.ZodObject<{
1510
+ type: z.ZodLiteral<"fill">;
1511
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1512
+ css: z.ZodOptional<z.ZodString>;
1513
+ nth: z.ZodOptional<z.ZodInt>;
1514
+ within: z.ZodOptional<z.ZodObject<{
1515
+ role: z.ZodString;
1516
+ has: z.ZodString;
1517
+ }, z.core.$strict>>;
1518
+ by: z.ZodLiteral<"role">;
1519
+ role: z.ZodString;
1520
+ name: z.ZodOptional<z.ZodString>;
1521
+ }, z.core.$strict>, z.ZodObject<{
1522
+ css: z.ZodOptional<z.ZodString>;
1523
+ nth: z.ZodOptional<z.ZodInt>;
1524
+ within: z.ZodOptional<z.ZodObject<{
1525
+ role: z.ZodString;
1526
+ has: z.ZodString;
1527
+ }, z.core.$strict>>;
1528
+ by: z.ZodLiteral<"label">;
1529
+ label: z.ZodString;
1530
+ }, z.core.$strict>, z.ZodObject<{
1531
+ css: z.ZodOptional<z.ZodString>;
1532
+ nth: z.ZodOptional<z.ZodInt>;
1533
+ within: z.ZodOptional<z.ZodObject<{
1534
+ role: z.ZodString;
1535
+ has: z.ZodString;
1536
+ }, z.core.$strict>>;
1537
+ by: z.ZodLiteral<"text">;
1538
+ text: z.ZodString;
1539
+ }, z.core.$strict>], "by">;
1540
+ value: z.ZodUnion<readonly [z.ZodObject<{
1541
+ text: z.ZodString;
1542
+ }, z.core.$strict>, z.ZodObject<{
1543
+ credential: z.ZodString;
1544
+ }, z.core.$strict>]>;
1545
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1546
+ }, z.core.$strict>, z.ZodObject<{
1547
+ type: z.ZodLiteral<"read">;
1548
+ into: z.ZodString;
1549
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1550
+ css: z.ZodOptional<z.ZodString>;
1551
+ nth: z.ZodOptional<z.ZodInt>;
1552
+ within: z.ZodOptional<z.ZodObject<{
1553
+ role: z.ZodString;
1554
+ has: z.ZodString;
1555
+ }, z.core.$strict>>;
1556
+ by: z.ZodLiteral<"role">;
1557
+ role: z.ZodString;
1558
+ name: z.ZodOptional<z.ZodString>;
1559
+ }, z.core.$strict>, z.ZodObject<{
1560
+ css: z.ZodOptional<z.ZodString>;
1561
+ nth: z.ZodOptional<z.ZodInt>;
1562
+ within: z.ZodOptional<z.ZodObject<{
1563
+ role: z.ZodString;
1564
+ has: z.ZodString;
1565
+ }, z.core.$strict>>;
1566
+ by: z.ZodLiteral<"label">;
1567
+ label: z.ZodString;
1568
+ }, z.core.$strict>, z.ZodObject<{
1569
+ css: z.ZodOptional<z.ZodString>;
1570
+ nth: z.ZodOptional<z.ZodInt>;
1571
+ within: z.ZodOptional<z.ZodObject<{
1572
+ role: z.ZodString;
1573
+ has: z.ZodString;
1574
+ }, z.core.$strict>>;
1575
+ by: z.ZodLiteral<"text">;
1576
+ text: z.ZodString;
1577
+ }, z.core.$strict>], "by">>;
1578
+ fields: z.ZodArray<z.ZodObject<{
1579
+ name: z.ZodString;
1580
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1581
+ css: z.ZodOptional<z.ZodString>;
1582
+ nth: z.ZodOptional<z.ZodInt>;
1583
+ within: z.ZodOptional<z.ZodObject<{
1584
+ role: z.ZodString;
1585
+ has: z.ZodString;
1586
+ }, z.core.$strict>>;
1587
+ by: z.ZodLiteral<"role">;
1588
+ role: z.ZodString;
1589
+ name: z.ZodOptional<z.ZodString>;
1590
+ }, z.core.$strict>, z.ZodObject<{
1591
+ css: z.ZodOptional<z.ZodString>;
1592
+ nth: z.ZodOptional<z.ZodInt>;
1593
+ within: z.ZodOptional<z.ZodObject<{
1594
+ role: z.ZodString;
1595
+ has: z.ZodString;
1596
+ }, z.core.$strict>>;
1597
+ by: z.ZodLiteral<"label">;
1598
+ label: z.ZodString;
1599
+ }, z.core.$strict>, z.ZodObject<{
1600
+ css: z.ZodOptional<z.ZodString>;
1601
+ nth: z.ZodOptional<z.ZodInt>;
1602
+ within: z.ZodOptional<z.ZodObject<{
1603
+ role: z.ZodString;
1604
+ has: z.ZodString;
1605
+ }, z.core.$strict>>;
1606
+ by: z.ZodLiteral<"text">;
1607
+ text: z.ZodString;
1608
+ }, z.core.$strict>], "by">;
1609
+ take: z.ZodOptional<z.ZodEnum<{
1610
+ value: "value";
1611
+ link: "link";
1612
+ text: "text";
1613
+ }>>;
1614
+ pattern: z.ZodOptional<z.ZodString>;
1615
+ }, z.core.$strict>>;
1616
+ }, z.core.$strict>, z.ZodObject<{
1617
+ type: z.ZodLiteral<"write">;
1618
+ from: z.ZodString;
1619
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1620
+ unique: z.ZodOptional<z.ZodString>;
1621
+ }, z.core.$strict>, z.ZodObject<{
1622
+ type: z.ZodLiteral<"repeat">;
1623
+ over: z.ZodUnion<readonly [z.ZodObject<{
1624
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1625
+ css: z.ZodOptional<z.ZodString>;
1626
+ nth: z.ZodOptional<z.ZodInt>;
1627
+ within: z.ZodOptional<z.ZodObject<{
1628
+ role: z.ZodString;
1629
+ has: z.ZodString;
1630
+ }, z.core.$strict>>;
1631
+ by: z.ZodLiteral<"role">;
1632
+ role: z.ZodString;
1633
+ name: z.ZodOptional<z.ZodString>;
1634
+ }, z.core.$strict>, z.ZodObject<{
1635
+ css: z.ZodOptional<z.ZodString>;
1636
+ nth: z.ZodOptional<z.ZodInt>;
1637
+ within: z.ZodOptional<z.ZodObject<{
1638
+ role: z.ZodString;
1639
+ has: z.ZodString;
1640
+ }, z.core.$strict>>;
1641
+ by: z.ZodLiteral<"label">;
1642
+ label: z.ZodString;
1643
+ }, z.core.$strict>, z.ZodObject<{
1644
+ css: z.ZodOptional<z.ZodString>;
1645
+ nth: z.ZodOptional<z.ZodInt>;
1646
+ within: z.ZodOptional<z.ZodObject<{
1647
+ role: z.ZodString;
1648
+ has: z.ZodString;
1649
+ }, z.core.$strict>>;
1650
+ by: z.ZodLiteral<"text">;
1651
+ text: z.ZodString;
1652
+ }, z.core.$strict>], "by">;
1653
+ }, z.core.$strict>, z.ZodObject<{
1654
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1655
+ css: z.ZodOptional<z.ZodString>;
1656
+ nth: z.ZodOptional<z.ZodInt>;
1657
+ within: z.ZodOptional<z.ZodObject<{
1658
+ role: z.ZodString;
1659
+ has: z.ZodString;
1660
+ }, z.core.$strict>>;
1661
+ by: z.ZodLiteral<"role">;
1662
+ role: z.ZodString;
1663
+ name: z.ZodOptional<z.ZodString>;
1664
+ }, z.core.$strict>, z.ZodObject<{
1665
+ css: z.ZodOptional<z.ZodString>;
1666
+ nth: z.ZodOptional<z.ZodInt>;
1667
+ within: z.ZodOptional<z.ZodObject<{
1668
+ role: z.ZodString;
1669
+ has: z.ZodString;
1670
+ }, z.core.$strict>>;
1671
+ by: z.ZodLiteral<"label">;
1672
+ label: z.ZodString;
1673
+ }, z.core.$strict>, z.ZodObject<{
1674
+ css: z.ZodOptional<z.ZodString>;
1675
+ nth: z.ZodOptional<z.ZodInt>;
1676
+ within: z.ZodOptional<z.ZodObject<{
1677
+ role: z.ZodString;
1678
+ has: z.ZodString;
1679
+ }, z.core.$strict>>;
1680
+ by: z.ZodLiteral<"text">;
1681
+ text: z.ZodString;
1682
+ }, z.core.$strict>], "by">;
1683
+ }, z.core.$strict>, z.ZodObject<{
1684
+ times: z.ZodInt;
1685
+ }, z.core.$strict>]>;
1686
+ max: z.ZodOptional<z.ZodInt>;
1687
+ }, z.core.$strict>], "type">, unknown>>>;
1688
+ state: z.ZodOptional<z.ZodEnum<{
1689
+ fixed: "fixed";
1690
+ open: "open";
1691
+ }>>;
1692
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1693
+ rev: z.ZodNumber;
1694
+ }, z.core.$strict>;
1695
+ export type FlowStepUpdateInput = z.infer<typeof FlowStepUpdateInput>;
1696
+ export declare const FlowStepMoveInput: z.ZodObject<{
1697
+ rev: z.ZodNumber;
1698
+ parentStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1699
+ afterStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1700
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1701
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1702
+ }, z.core.$strict>;
1703
+ export type FlowStepMoveInput = z.infer<typeof FlowStepMoveInput>;
1704
+ export declare const FlowStepRemoveInput: z.ZodObject<{
1705
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1706
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1707
+ rev: z.ZodNumber;
1708
+ }, z.core.$strict>;
1709
+ export type FlowStepRemoveInput = z.infer<typeof FlowStepRemoveInput>;
1710
+ export declare const FlowSecretListInput: z.ZodObject<{
1711
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1712
+ }, z.core.$strict>;
1713
+ export type FlowSecretListInput = z.infer<typeof FlowSecretListInput>;
1714
+ export declare const FlowSecretCreateInput: z.ZodObject<{
1715
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1716
+ name: z.ZodString;
1717
+ value: z.ZodString;
1718
+ }, z.core.$strict>;
1719
+ export type FlowSecretCreateInput = z.infer<typeof FlowSecretCreateInput>;
1720
+ export declare const FlowSecretUpdateInput: z.ZodObject<{
1721
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1722
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1723
+ value: z.ZodString;
1724
+ }, z.core.$strict>;
1725
+ export type FlowSecretUpdateInput = z.infer<typeof FlowSecretUpdateInput>;
1726
+ export declare const FlowSecretRemoveInput: z.ZodObject<{
1727
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1728
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1729
+ }, z.core.$strict>;
1730
+ export type FlowSecretRemoveInput = z.infer<typeof FlowSecretRemoveInput>;
1731
+ export declare const FlowSecret: z.ZodObject<{
1732
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1733
+ name: z.ZodString;
1734
+ setAt: z.ZodISODateTime;
1735
+ }, z.core.$strip>;
1736
+ export type FlowSecret = z.infer<typeof FlowSecret>;
1737
+ export declare const FlowSecretList: z.ZodObject<{
1738
+ items: z.ZodArray<z.ZodObject<{
1739
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1740
+ name: z.ZodString;
1741
+ setAt: z.ZodISODateTime;
1742
+ }, z.core.$strip>>;
1743
+ }, z.core.$strip>;
1744
+ export type FlowSecretList = z.infer<typeof FlowSecretList>;
1745
+ export declare const FlowSecretRemoved: z.ZodObject<{
1746
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1747
+ removed: z.ZodLiteral<true>;
1748
+ }, z.core.$strip>;
1749
+ export type FlowSecretRemoved = z.infer<typeof FlowSecretRemoved>;
1750
+ export declare const FlowScheduleDetail: z.ZodObject<{
1751
+ enabled: z.ZodBoolean;
1752
+ rhythm: z.ZodEnum<{
1753
+ daily: "daily";
1754
+ weekly: "weekly";
1755
+ hourly: "hourly";
1756
+ }>;
1757
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1758
+ monday: "monday";
1759
+ tuesday: "tuesday";
1760
+ wednesday: "wednesday";
1761
+ thursday: "thursday";
1762
+ friday: "friday";
1763
+ saturday: "saturday";
1764
+ sunday: "sunday";
1765
+ }>>>;
1766
+ time: z.ZodOptional<z.ZodString>;
1767
+ zone: z.ZodString;
1768
+ }, z.core.$strip>;
1769
+ export type FlowScheduleDetail = z.infer<typeof FlowScheduleDetail>;
1770
+ export declare const FlowDetail: z.ZodObject<{
1771
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1772
+ name: z.ZodString;
1773
+ hidden: z.ZodBoolean;
1774
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
1775
+ path: z.ZodObject<{
1776
+ section: z.ZodEnum<{
1777
+ users: "users";
1778
+ own: "own";
1779
+ shared: "shared";
1780
+ }>;
1781
+ items: z.ZodArray<z.ZodObject<{
1782
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1783
+ name: z.ZodString;
1784
+ }, z.core.$strip>>;
1785
+ }, z.core.$strip>;
1786
+ hosts: z.ZodArray<z.ZodString>;
1787
+ schedule: z.ZodObject<{
1788
+ enabled: z.ZodBoolean;
1789
+ rhythm: z.ZodEnum<{
1790
+ daily: "daily";
1791
+ weekly: "weekly";
1792
+ hourly: "hourly";
1793
+ }>;
1794
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1795
+ monday: "monday";
1796
+ tuesday: "tuesday";
1797
+ wednesday: "wednesday";
1798
+ thursday: "thursday";
1799
+ friday: "friday";
1800
+ saturday: "saturday";
1801
+ sunday: "sunday";
1802
+ }>>>;
1803
+ time: z.ZodOptional<z.ZodString>;
1804
+ zone: z.ZodString;
1805
+ }, z.core.$strip>;
1806
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
1807
+ version: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>>;
1808
+ steps: z.ZodArray<z.ZodObject<{
1809
+ steps: z.ZodArray<z.ZodObject<{
1810
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1811
+ title: z.ZodString;
1812
+ instruction: z.ZodString;
1813
+ success: z.ZodString;
1814
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1815
+ type: z.ZodLiteral<"open">;
1816
+ url: z.ZodURL;
1817
+ }, z.core.$strict>, z.ZodObject<{
1818
+ type: z.ZodLiteral<"click">;
1819
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1820
+ css: z.ZodOptional<z.ZodString>;
1821
+ nth: z.ZodOptional<z.ZodInt>;
1822
+ within: z.ZodOptional<z.ZodObject<{
1823
+ role: z.ZodString;
1824
+ has: z.ZodString;
1825
+ }, z.core.$strict>>;
1826
+ by: z.ZodLiteral<"role">;
1827
+ role: z.ZodString;
1828
+ name: z.ZodOptional<z.ZodString>;
1829
+ }, z.core.$strict>, z.ZodObject<{
1830
+ css: z.ZodOptional<z.ZodString>;
1831
+ nth: z.ZodOptional<z.ZodInt>;
1832
+ within: z.ZodOptional<z.ZodObject<{
1833
+ role: z.ZodString;
1834
+ has: z.ZodString;
1835
+ }, z.core.$strict>>;
1836
+ by: z.ZodLiteral<"label">;
1837
+ label: z.ZodString;
1838
+ }, z.core.$strict>, z.ZodObject<{
1839
+ css: z.ZodOptional<z.ZodString>;
1840
+ nth: z.ZodOptional<z.ZodInt>;
1841
+ within: z.ZodOptional<z.ZodObject<{
1842
+ role: z.ZodString;
1843
+ has: z.ZodString;
1844
+ }, z.core.$strict>>;
1845
+ by: z.ZodLiteral<"text">;
1846
+ text: z.ZodString;
1847
+ }, z.core.$strict>], "by">;
1848
+ }, z.core.$strict>, z.ZodObject<{
1849
+ type: z.ZodLiteral<"fill">;
1850
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1851
+ css: z.ZodOptional<z.ZodString>;
1852
+ nth: z.ZodOptional<z.ZodInt>;
1853
+ within: z.ZodOptional<z.ZodObject<{
1854
+ role: z.ZodString;
1855
+ has: z.ZodString;
1856
+ }, z.core.$strict>>;
1857
+ by: z.ZodLiteral<"role">;
1858
+ role: z.ZodString;
1859
+ name: z.ZodOptional<z.ZodString>;
1860
+ }, z.core.$strict>, z.ZodObject<{
1861
+ css: z.ZodOptional<z.ZodString>;
1862
+ nth: z.ZodOptional<z.ZodInt>;
1863
+ within: z.ZodOptional<z.ZodObject<{
1864
+ role: z.ZodString;
1865
+ has: z.ZodString;
1866
+ }, z.core.$strict>>;
1867
+ by: z.ZodLiteral<"label">;
1868
+ label: z.ZodString;
1869
+ }, z.core.$strict>, z.ZodObject<{
1870
+ css: z.ZodOptional<z.ZodString>;
1871
+ nth: z.ZodOptional<z.ZodInt>;
1872
+ within: z.ZodOptional<z.ZodObject<{
1873
+ role: z.ZodString;
1874
+ has: z.ZodString;
1875
+ }, z.core.$strict>>;
1876
+ by: z.ZodLiteral<"text">;
1877
+ text: z.ZodString;
1878
+ }, z.core.$strict>], "by">;
1879
+ value: z.ZodUnion<readonly [z.ZodObject<{
1880
+ text: z.ZodString;
1881
+ }, z.core.$strict>, z.ZodObject<{
1882
+ credential: z.ZodString;
1883
+ }, z.core.$strict>]>;
1884
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1885
+ }, z.core.$strict>, z.ZodObject<{
1886
+ type: z.ZodLiteral<"read">;
1887
+ into: z.ZodString;
1888
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1889
+ css: z.ZodOptional<z.ZodString>;
1890
+ nth: z.ZodOptional<z.ZodInt>;
1891
+ within: z.ZodOptional<z.ZodObject<{
1892
+ role: z.ZodString;
1893
+ has: z.ZodString;
1894
+ }, z.core.$strict>>;
1895
+ by: z.ZodLiteral<"role">;
1896
+ role: z.ZodString;
1897
+ name: z.ZodOptional<z.ZodString>;
1898
+ }, z.core.$strict>, z.ZodObject<{
1899
+ css: z.ZodOptional<z.ZodString>;
1900
+ nth: z.ZodOptional<z.ZodInt>;
1901
+ within: z.ZodOptional<z.ZodObject<{
1902
+ role: z.ZodString;
1903
+ has: z.ZodString;
1904
+ }, z.core.$strict>>;
1905
+ by: z.ZodLiteral<"label">;
1906
+ label: z.ZodString;
1907
+ }, z.core.$strict>, z.ZodObject<{
1908
+ css: z.ZodOptional<z.ZodString>;
1909
+ nth: z.ZodOptional<z.ZodInt>;
1910
+ within: z.ZodOptional<z.ZodObject<{
1911
+ role: z.ZodString;
1912
+ has: z.ZodString;
1913
+ }, z.core.$strict>>;
1914
+ by: z.ZodLiteral<"text">;
1915
+ text: z.ZodString;
1916
+ }, z.core.$strict>], "by">>;
1917
+ fields: z.ZodArray<z.ZodObject<{
1918
+ name: z.ZodString;
1919
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1920
+ css: z.ZodOptional<z.ZodString>;
1921
+ nth: z.ZodOptional<z.ZodInt>;
1922
+ within: z.ZodOptional<z.ZodObject<{
1923
+ role: z.ZodString;
1924
+ has: z.ZodString;
1925
+ }, z.core.$strict>>;
1926
+ by: z.ZodLiteral<"role">;
1927
+ role: z.ZodString;
1928
+ name: z.ZodOptional<z.ZodString>;
1929
+ }, z.core.$strict>, z.ZodObject<{
1930
+ css: z.ZodOptional<z.ZodString>;
1931
+ nth: z.ZodOptional<z.ZodInt>;
1932
+ within: z.ZodOptional<z.ZodObject<{
1933
+ role: z.ZodString;
1934
+ has: z.ZodString;
1935
+ }, z.core.$strict>>;
1936
+ by: z.ZodLiteral<"label">;
1937
+ label: z.ZodString;
1938
+ }, z.core.$strict>, z.ZodObject<{
1939
+ css: z.ZodOptional<z.ZodString>;
1940
+ nth: z.ZodOptional<z.ZodInt>;
1941
+ within: z.ZodOptional<z.ZodObject<{
1942
+ role: z.ZodString;
1943
+ has: z.ZodString;
1944
+ }, z.core.$strict>>;
1945
+ by: z.ZodLiteral<"text">;
1946
+ text: z.ZodString;
1947
+ }, z.core.$strict>], "by">;
1948
+ take: z.ZodOptional<z.ZodEnum<{
1949
+ value: "value";
1950
+ link: "link";
1951
+ text: "text";
1952
+ }>>;
1953
+ pattern: z.ZodOptional<z.ZodString>;
1954
+ }, z.core.$strict>>;
1955
+ }, z.core.$strict>, z.ZodObject<{
1956
+ type: z.ZodLiteral<"write">;
1957
+ from: z.ZodString;
1958
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1959
+ unique: z.ZodOptional<z.ZodString>;
1960
+ }, z.core.$strict>, z.ZodObject<{
1961
+ type: z.ZodLiteral<"repeat">;
1962
+ over: z.ZodUnion<readonly [z.ZodObject<{
1963
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1964
+ css: z.ZodOptional<z.ZodString>;
1965
+ nth: z.ZodOptional<z.ZodInt>;
1966
+ within: z.ZodOptional<z.ZodObject<{
1967
+ role: z.ZodString;
1968
+ has: z.ZodString;
1969
+ }, z.core.$strict>>;
1970
+ by: z.ZodLiteral<"role">;
1971
+ role: z.ZodString;
1972
+ name: z.ZodOptional<z.ZodString>;
1973
+ }, z.core.$strict>, z.ZodObject<{
1974
+ css: z.ZodOptional<z.ZodString>;
1975
+ nth: z.ZodOptional<z.ZodInt>;
1976
+ within: z.ZodOptional<z.ZodObject<{
1977
+ role: z.ZodString;
1978
+ has: z.ZodString;
1979
+ }, z.core.$strict>>;
1980
+ by: z.ZodLiteral<"label">;
1981
+ label: z.ZodString;
1982
+ }, z.core.$strict>, z.ZodObject<{
1983
+ css: z.ZodOptional<z.ZodString>;
1984
+ nth: z.ZodOptional<z.ZodInt>;
1985
+ within: z.ZodOptional<z.ZodObject<{
1986
+ role: z.ZodString;
1987
+ has: z.ZodString;
1988
+ }, z.core.$strict>>;
1989
+ by: z.ZodLiteral<"text">;
1990
+ text: z.ZodString;
1991
+ }, z.core.$strict>], "by">;
1992
+ }, z.core.$strict>, z.ZodObject<{
1993
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1994
+ css: z.ZodOptional<z.ZodString>;
1995
+ nth: z.ZodOptional<z.ZodInt>;
1996
+ within: z.ZodOptional<z.ZodObject<{
1997
+ role: z.ZodString;
1998
+ has: z.ZodString;
1999
+ }, z.core.$strict>>;
2000
+ by: z.ZodLiteral<"role">;
2001
+ role: z.ZodString;
2002
+ name: z.ZodOptional<z.ZodString>;
2003
+ }, z.core.$strict>, z.ZodObject<{
2004
+ css: z.ZodOptional<z.ZodString>;
2005
+ nth: z.ZodOptional<z.ZodInt>;
2006
+ within: z.ZodOptional<z.ZodObject<{
2007
+ role: z.ZodString;
2008
+ has: z.ZodString;
2009
+ }, z.core.$strict>>;
2010
+ by: z.ZodLiteral<"label">;
2011
+ label: z.ZodString;
2012
+ }, z.core.$strict>, z.ZodObject<{
2013
+ css: z.ZodOptional<z.ZodString>;
2014
+ nth: z.ZodOptional<z.ZodInt>;
2015
+ within: z.ZodOptional<z.ZodObject<{
2016
+ role: z.ZodString;
2017
+ has: z.ZodString;
2018
+ }, z.core.$strict>>;
2019
+ by: z.ZodLiteral<"text">;
2020
+ text: z.ZodString;
2021
+ }, z.core.$strict>], "by">;
2022
+ }, z.core.$strict>, z.ZodObject<{
2023
+ times: z.ZodInt;
2024
+ }, z.core.$strict>]>;
2025
+ max: z.ZodOptional<z.ZodInt>;
2026
+ }, z.core.$strict>], "type">, unknown>>;
2027
+ state: z.ZodEnum<{
2028
+ fixed: "fixed";
2029
+ open: "open";
2030
+ }>;
2031
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
+ }, z.core.$strip>>;
2033
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
2034
+ title: z.ZodString;
2035
+ instruction: z.ZodString;
2036
+ success: z.ZodString;
2037
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2038
+ type: z.ZodLiteral<"open">;
2039
+ url: z.ZodURL;
2040
+ }, z.core.$strict>, z.ZodObject<{
2041
+ type: z.ZodLiteral<"click">;
2042
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2043
+ css: z.ZodOptional<z.ZodString>;
2044
+ nth: z.ZodOptional<z.ZodInt>;
2045
+ within: z.ZodOptional<z.ZodObject<{
2046
+ role: z.ZodString;
2047
+ has: z.ZodString;
2048
+ }, z.core.$strict>>;
2049
+ by: z.ZodLiteral<"role">;
2050
+ role: z.ZodString;
2051
+ name: z.ZodOptional<z.ZodString>;
2052
+ }, z.core.$strict>, z.ZodObject<{
2053
+ css: z.ZodOptional<z.ZodString>;
2054
+ nth: z.ZodOptional<z.ZodInt>;
2055
+ within: z.ZodOptional<z.ZodObject<{
2056
+ role: z.ZodString;
2057
+ has: z.ZodString;
2058
+ }, z.core.$strict>>;
2059
+ by: z.ZodLiteral<"label">;
2060
+ label: z.ZodString;
2061
+ }, z.core.$strict>, z.ZodObject<{
2062
+ css: z.ZodOptional<z.ZodString>;
2063
+ nth: z.ZodOptional<z.ZodInt>;
2064
+ within: z.ZodOptional<z.ZodObject<{
2065
+ role: z.ZodString;
2066
+ has: z.ZodString;
2067
+ }, z.core.$strict>>;
2068
+ by: z.ZodLiteral<"text">;
2069
+ text: z.ZodString;
2070
+ }, z.core.$strict>], "by">;
2071
+ }, z.core.$strict>, z.ZodObject<{
2072
+ type: z.ZodLiteral<"fill">;
2073
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2074
+ css: z.ZodOptional<z.ZodString>;
2075
+ nth: z.ZodOptional<z.ZodInt>;
2076
+ within: z.ZodOptional<z.ZodObject<{
2077
+ role: z.ZodString;
2078
+ has: z.ZodString;
2079
+ }, z.core.$strict>>;
2080
+ by: z.ZodLiteral<"role">;
2081
+ role: z.ZodString;
2082
+ name: z.ZodOptional<z.ZodString>;
2083
+ }, z.core.$strict>, z.ZodObject<{
2084
+ css: z.ZodOptional<z.ZodString>;
2085
+ nth: z.ZodOptional<z.ZodInt>;
2086
+ within: z.ZodOptional<z.ZodObject<{
2087
+ role: z.ZodString;
2088
+ has: z.ZodString;
2089
+ }, z.core.$strict>>;
2090
+ by: z.ZodLiteral<"label">;
2091
+ label: z.ZodString;
2092
+ }, z.core.$strict>, z.ZodObject<{
2093
+ css: z.ZodOptional<z.ZodString>;
2094
+ nth: z.ZodOptional<z.ZodInt>;
2095
+ within: z.ZodOptional<z.ZodObject<{
2096
+ role: z.ZodString;
2097
+ has: z.ZodString;
2098
+ }, z.core.$strict>>;
2099
+ by: z.ZodLiteral<"text">;
2100
+ text: z.ZodString;
2101
+ }, z.core.$strict>], "by">;
2102
+ value: z.ZodUnion<readonly [z.ZodObject<{
2103
+ text: z.ZodString;
2104
+ }, z.core.$strict>, z.ZodObject<{
2105
+ credential: z.ZodString;
2106
+ }, z.core.$strict>]>;
2107
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
2108
+ }, z.core.$strict>, z.ZodObject<{
2109
+ type: z.ZodLiteral<"read">;
2110
+ into: z.ZodString;
2111
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2112
+ css: z.ZodOptional<z.ZodString>;
2113
+ nth: z.ZodOptional<z.ZodInt>;
2114
+ within: z.ZodOptional<z.ZodObject<{
2115
+ role: z.ZodString;
2116
+ has: z.ZodString;
2117
+ }, z.core.$strict>>;
2118
+ by: z.ZodLiteral<"role">;
2119
+ role: z.ZodString;
2120
+ name: z.ZodOptional<z.ZodString>;
2121
+ }, z.core.$strict>, z.ZodObject<{
2122
+ css: z.ZodOptional<z.ZodString>;
2123
+ nth: z.ZodOptional<z.ZodInt>;
2124
+ within: z.ZodOptional<z.ZodObject<{
2125
+ role: z.ZodString;
2126
+ has: z.ZodString;
2127
+ }, z.core.$strict>>;
2128
+ by: z.ZodLiteral<"label">;
2129
+ label: z.ZodString;
2130
+ }, z.core.$strict>, z.ZodObject<{
2131
+ css: z.ZodOptional<z.ZodString>;
2132
+ nth: z.ZodOptional<z.ZodInt>;
2133
+ within: z.ZodOptional<z.ZodObject<{
2134
+ role: z.ZodString;
2135
+ has: z.ZodString;
2136
+ }, z.core.$strict>>;
2137
+ by: z.ZodLiteral<"text">;
2138
+ text: z.ZodString;
2139
+ }, z.core.$strict>], "by">>;
2140
+ fields: z.ZodArray<z.ZodObject<{
2141
+ name: z.ZodString;
2142
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2143
+ css: z.ZodOptional<z.ZodString>;
2144
+ nth: z.ZodOptional<z.ZodInt>;
2145
+ within: z.ZodOptional<z.ZodObject<{
2146
+ role: z.ZodString;
2147
+ has: z.ZodString;
2148
+ }, z.core.$strict>>;
2149
+ by: z.ZodLiteral<"role">;
2150
+ role: z.ZodString;
2151
+ name: z.ZodOptional<z.ZodString>;
2152
+ }, z.core.$strict>, z.ZodObject<{
2153
+ css: z.ZodOptional<z.ZodString>;
2154
+ nth: z.ZodOptional<z.ZodInt>;
2155
+ within: z.ZodOptional<z.ZodObject<{
2156
+ role: z.ZodString;
2157
+ has: z.ZodString;
2158
+ }, z.core.$strict>>;
2159
+ by: z.ZodLiteral<"label">;
2160
+ label: z.ZodString;
2161
+ }, z.core.$strict>, z.ZodObject<{
2162
+ css: z.ZodOptional<z.ZodString>;
2163
+ nth: z.ZodOptional<z.ZodInt>;
2164
+ within: z.ZodOptional<z.ZodObject<{
2165
+ role: z.ZodString;
2166
+ has: z.ZodString;
2167
+ }, z.core.$strict>>;
2168
+ by: z.ZodLiteral<"text">;
2169
+ text: z.ZodString;
2170
+ }, z.core.$strict>], "by">;
2171
+ take: z.ZodOptional<z.ZodEnum<{
2172
+ value: "value";
2173
+ link: "link";
2174
+ text: "text";
2175
+ }>>;
2176
+ pattern: z.ZodOptional<z.ZodString>;
2177
+ }, z.core.$strict>>;
2178
+ }, z.core.$strict>, z.ZodObject<{
2179
+ type: z.ZodLiteral<"write">;
2180
+ from: z.ZodString;
2181
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2182
+ unique: z.ZodOptional<z.ZodString>;
2183
+ }, z.core.$strict>, z.ZodObject<{
2184
+ type: z.ZodLiteral<"repeat">;
2185
+ over: z.ZodUnion<readonly [z.ZodObject<{
2186
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
2187
+ css: z.ZodOptional<z.ZodString>;
2188
+ nth: z.ZodOptional<z.ZodInt>;
2189
+ within: z.ZodOptional<z.ZodObject<{
2190
+ role: z.ZodString;
2191
+ has: z.ZodString;
2192
+ }, z.core.$strict>>;
2193
+ by: z.ZodLiteral<"role">;
2194
+ role: z.ZodString;
2195
+ name: z.ZodOptional<z.ZodString>;
2196
+ }, z.core.$strict>, z.ZodObject<{
2197
+ css: z.ZodOptional<z.ZodString>;
2198
+ nth: z.ZodOptional<z.ZodInt>;
2199
+ within: z.ZodOptional<z.ZodObject<{
2200
+ role: z.ZodString;
2201
+ has: z.ZodString;
2202
+ }, z.core.$strict>>;
2203
+ by: z.ZodLiteral<"label">;
2204
+ label: z.ZodString;
2205
+ }, z.core.$strict>, z.ZodObject<{
2206
+ css: z.ZodOptional<z.ZodString>;
2207
+ nth: z.ZodOptional<z.ZodInt>;
2208
+ within: z.ZodOptional<z.ZodObject<{
2209
+ role: z.ZodString;
2210
+ has: z.ZodString;
2211
+ }, z.core.$strict>>;
2212
+ by: z.ZodLiteral<"text">;
2213
+ text: z.ZodString;
2214
+ }, z.core.$strict>], "by">;
2215
+ }, z.core.$strict>, z.ZodObject<{
2216
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
2217
+ css: z.ZodOptional<z.ZodString>;
2218
+ nth: z.ZodOptional<z.ZodInt>;
2219
+ within: z.ZodOptional<z.ZodObject<{
2220
+ role: z.ZodString;
2221
+ has: z.ZodString;
2222
+ }, z.core.$strict>>;
2223
+ by: z.ZodLiteral<"role">;
2224
+ role: z.ZodString;
2225
+ name: z.ZodOptional<z.ZodString>;
2226
+ }, z.core.$strict>, z.ZodObject<{
2227
+ css: z.ZodOptional<z.ZodString>;
2228
+ nth: z.ZodOptional<z.ZodInt>;
2229
+ within: z.ZodOptional<z.ZodObject<{
2230
+ role: z.ZodString;
2231
+ has: z.ZodString;
2232
+ }, z.core.$strict>>;
2233
+ by: z.ZodLiteral<"label">;
2234
+ label: z.ZodString;
2235
+ }, z.core.$strict>, z.ZodObject<{
2236
+ css: z.ZodOptional<z.ZodString>;
2237
+ nth: z.ZodOptional<z.ZodInt>;
2238
+ within: z.ZodOptional<z.ZodObject<{
2239
+ role: z.ZodString;
2240
+ has: z.ZodString;
2241
+ }, z.core.$strict>>;
2242
+ by: z.ZodLiteral<"text">;
2243
+ text: z.ZodString;
2244
+ }, z.core.$strict>], "by">;
2245
+ }, z.core.$strict>, z.ZodObject<{
2246
+ times: z.ZodInt;
2247
+ }, z.core.$strict>]>;
2248
+ max: z.ZodOptional<z.ZodInt>;
2249
+ }, z.core.$strict>], "type">, unknown>>;
2250
+ state: z.ZodEnum<{
2251
+ fixed: "fixed";
2252
+ open: "open";
2253
+ }>;
2254
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2255
+ }, z.core.$strip>>;
2256
+ live: z.ZodNullable<z.ZodObject<{
2257
+ version: z.ZodNumber;
2258
+ publishedAt: z.ZodISODateTime;
2259
+ publishedBy: z.ZodObject<{
2260
+ userId: z.ZodString;
2261
+ name: z.ZodNullable<z.ZodString>;
2262
+ kind: z.ZodNullable<z.ZodEnum<{
2263
+ machine: "machine";
2264
+ human: "human";
2265
+ }>>;
2266
+ }, z.core.$strip>;
2267
+ }, z.core.$strip>>;
2268
+ draft: z.ZodNullable<z.ZodObject<{
2269
+ updatedAt: z.ZodISODateTime;
2270
+ updatedBy: z.ZodObject<{
2271
+ userId: z.ZodString;
2272
+ name: z.ZodNullable<z.ZodString>;
2273
+ kind: z.ZodNullable<z.ZodEnum<{
2274
+ machine: "machine";
2275
+ human: "human";
2276
+ }>>;
2277
+ }, z.core.$strip>;
2278
+ }, z.core.$strip>>;
2279
+ settings: z.ZodNullable<z.ZodObject<{
2280
+ responsible: z.ZodNullable<z.ZodObject<{
2281
+ userId: z.ZodString;
2282
+ name: z.ZodNullable<z.ZodString>;
2283
+ kind: z.ZodNullable<z.ZodEnum<{
2284
+ machine: "machine";
2285
+ human: "human";
2286
+ }>>;
2287
+ }, z.core.$strip>>;
2288
+ recordingDays: z.ZodNumber;
2289
+ credentials: z.ZodArray<z.ZodObject<{
2290
+ name: z.ZodString;
2291
+ setAt: z.ZodISODateTime;
2292
+ }, z.core.$strip>>;
2293
+ }, z.core.$strip>>;
2294
+ rights: z.ZodObject<{
2295
+ write: z.ZodBoolean;
2296
+ }, z.core.$strip>;
2297
+ rev: z.ZodNumber;
2298
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
2299
+ }, z.core.$strip>;
2300
+ export type FlowDetail = z.infer<typeof FlowDetail>;
2301
+ export declare const FlowVersionContent: z.ZodObject<{
2302
+ steps: z.ZodArray<z.ZodObject<{
2303
+ steps: z.ZodArray<z.ZodObject<{
2304
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
2305
+ title: z.ZodString;
2306
+ instruction: z.ZodString;
2307
+ success: z.ZodString;
2308
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2309
+ type: z.ZodLiteral<"open">;
2310
+ url: z.ZodURL;
2311
+ }, z.core.$strict>, z.ZodObject<{
2312
+ type: z.ZodLiteral<"click">;
2313
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2314
+ css: z.ZodOptional<z.ZodString>;
2315
+ nth: z.ZodOptional<z.ZodInt>;
2316
+ within: z.ZodOptional<z.ZodObject<{
2317
+ role: z.ZodString;
2318
+ has: z.ZodString;
2319
+ }, z.core.$strict>>;
2320
+ by: z.ZodLiteral<"role">;
2321
+ role: z.ZodString;
2322
+ name: z.ZodOptional<z.ZodString>;
2323
+ }, z.core.$strict>, z.ZodObject<{
2324
+ css: z.ZodOptional<z.ZodString>;
2325
+ nth: z.ZodOptional<z.ZodInt>;
2326
+ within: z.ZodOptional<z.ZodObject<{
2327
+ role: z.ZodString;
2328
+ has: z.ZodString;
2329
+ }, z.core.$strict>>;
2330
+ by: z.ZodLiteral<"label">;
2331
+ label: z.ZodString;
2332
+ }, z.core.$strict>, z.ZodObject<{
2333
+ css: z.ZodOptional<z.ZodString>;
2334
+ nth: z.ZodOptional<z.ZodInt>;
2335
+ within: z.ZodOptional<z.ZodObject<{
2336
+ role: z.ZodString;
2337
+ has: z.ZodString;
2338
+ }, z.core.$strict>>;
2339
+ by: z.ZodLiteral<"text">;
2340
+ text: z.ZodString;
2341
+ }, z.core.$strict>], "by">;
2342
+ }, z.core.$strict>, z.ZodObject<{
2343
+ type: z.ZodLiteral<"fill">;
2344
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2345
+ css: z.ZodOptional<z.ZodString>;
2346
+ nth: z.ZodOptional<z.ZodInt>;
2347
+ within: z.ZodOptional<z.ZodObject<{
2348
+ role: z.ZodString;
2349
+ has: z.ZodString;
2350
+ }, z.core.$strict>>;
2351
+ by: z.ZodLiteral<"role">;
2352
+ role: z.ZodString;
2353
+ name: z.ZodOptional<z.ZodString>;
2354
+ }, z.core.$strict>, z.ZodObject<{
2355
+ css: z.ZodOptional<z.ZodString>;
2356
+ nth: z.ZodOptional<z.ZodInt>;
2357
+ within: z.ZodOptional<z.ZodObject<{
2358
+ role: z.ZodString;
2359
+ has: z.ZodString;
2360
+ }, z.core.$strict>>;
2361
+ by: z.ZodLiteral<"label">;
2362
+ label: z.ZodString;
2363
+ }, z.core.$strict>, z.ZodObject<{
2364
+ css: z.ZodOptional<z.ZodString>;
2365
+ nth: z.ZodOptional<z.ZodInt>;
2366
+ within: z.ZodOptional<z.ZodObject<{
2367
+ role: z.ZodString;
2368
+ has: z.ZodString;
2369
+ }, z.core.$strict>>;
2370
+ by: z.ZodLiteral<"text">;
2371
+ text: z.ZodString;
2372
+ }, z.core.$strict>], "by">;
2373
+ value: z.ZodUnion<readonly [z.ZodObject<{
2374
+ text: z.ZodString;
2375
+ }, z.core.$strict>, z.ZodObject<{
2376
+ credential: z.ZodString;
2377
+ }, z.core.$strict>]>;
2378
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
2379
+ }, z.core.$strict>, z.ZodObject<{
2380
+ type: z.ZodLiteral<"read">;
2381
+ into: z.ZodString;
2382
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2383
+ css: z.ZodOptional<z.ZodString>;
2384
+ nth: z.ZodOptional<z.ZodInt>;
2385
+ within: z.ZodOptional<z.ZodObject<{
2386
+ role: z.ZodString;
2387
+ has: z.ZodString;
2388
+ }, z.core.$strict>>;
2389
+ by: z.ZodLiteral<"role">;
2390
+ role: z.ZodString;
2391
+ name: z.ZodOptional<z.ZodString>;
2392
+ }, z.core.$strict>, z.ZodObject<{
2393
+ css: z.ZodOptional<z.ZodString>;
2394
+ nth: z.ZodOptional<z.ZodInt>;
2395
+ within: z.ZodOptional<z.ZodObject<{
2396
+ role: z.ZodString;
2397
+ has: z.ZodString;
2398
+ }, z.core.$strict>>;
2399
+ by: z.ZodLiteral<"label">;
2400
+ label: z.ZodString;
2401
+ }, z.core.$strict>, z.ZodObject<{
2402
+ css: z.ZodOptional<z.ZodString>;
2403
+ nth: z.ZodOptional<z.ZodInt>;
2404
+ within: z.ZodOptional<z.ZodObject<{
2405
+ role: z.ZodString;
2406
+ has: z.ZodString;
2407
+ }, z.core.$strict>>;
2408
+ by: z.ZodLiteral<"text">;
2409
+ text: z.ZodString;
2410
+ }, z.core.$strict>], "by">>;
2411
+ fields: z.ZodArray<z.ZodObject<{
2412
+ name: z.ZodString;
2413
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2414
+ css: z.ZodOptional<z.ZodString>;
2415
+ nth: z.ZodOptional<z.ZodInt>;
2416
+ within: z.ZodOptional<z.ZodObject<{
2417
+ role: z.ZodString;
2418
+ has: z.ZodString;
2419
+ }, z.core.$strict>>;
2420
+ by: z.ZodLiteral<"role">;
2421
+ role: z.ZodString;
2422
+ name: z.ZodOptional<z.ZodString>;
2423
+ }, z.core.$strict>, z.ZodObject<{
2424
+ css: z.ZodOptional<z.ZodString>;
2425
+ nth: z.ZodOptional<z.ZodInt>;
2426
+ within: z.ZodOptional<z.ZodObject<{
2427
+ role: z.ZodString;
2428
+ has: z.ZodString;
2429
+ }, z.core.$strict>>;
2430
+ by: z.ZodLiteral<"label">;
2431
+ label: z.ZodString;
2432
+ }, z.core.$strict>, z.ZodObject<{
2433
+ css: z.ZodOptional<z.ZodString>;
2434
+ nth: z.ZodOptional<z.ZodInt>;
2435
+ within: z.ZodOptional<z.ZodObject<{
2436
+ role: z.ZodString;
2437
+ has: z.ZodString;
2438
+ }, z.core.$strict>>;
2439
+ by: z.ZodLiteral<"text">;
2440
+ text: z.ZodString;
2441
+ }, z.core.$strict>], "by">;
2442
+ take: z.ZodOptional<z.ZodEnum<{
2443
+ value: "value";
2444
+ link: "link";
2445
+ text: "text";
2446
+ }>>;
2447
+ pattern: z.ZodOptional<z.ZodString>;
2448
+ }, z.core.$strict>>;
2449
+ }, z.core.$strict>, z.ZodObject<{
2450
+ type: z.ZodLiteral<"write">;
2451
+ from: z.ZodString;
2452
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2453
+ unique: z.ZodOptional<z.ZodString>;
2454
+ }, z.core.$strict>, z.ZodObject<{
2455
+ type: z.ZodLiteral<"repeat">;
2456
+ over: z.ZodUnion<readonly [z.ZodObject<{
2457
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
2458
+ css: z.ZodOptional<z.ZodString>;
2459
+ nth: z.ZodOptional<z.ZodInt>;
2460
+ within: z.ZodOptional<z.ZodObject<{
2461
+ role: z.ZodString;
2462
+ has: z.ZodString;
2463
+ }, z.core.$strict>>;
2464
+ by: z.ZodLiteral<"role">;
2465
+ role: z.ZodString;
2466
+ name: z.ZodOptional<z.ZodString>;
2467
+ }, z.core.$strict>, z.ZodObject<{
2468
+ css: z.ZodOptional<z.ZodString>;
2469
+ nth: z.ZodOptional<z.ZodInt>;
2470
+ within: z.ZodOptional<z.ZodObject<{
2471
+ role: z.ZodString;
2472
+ has: z.ZodString;
2473
+ }, z.core.$strict>>;
2474
+ by: z.ZodLiteral<"label">;
2475
+ label: z.ZodString;
2476
+ }, z.core.$strict>, z.ZodObject<{
2477
+ css: z.ZodOptional<z.ZodString>;
2478
+ nth: z.ZodOptional<z.ZodInt>;
2479
+ within: z.ZodOptional<z.ZodObject<{
2480
+ role: z.ZodString;
2481
+ has: z.ZodString;
2482
+ }, z.core.$strict>>;
2483
+ by: z.ZodLiteral<"text">;
2484
+ text: z.ZodString;
2485
+ }, z.core.$strict>], "by">;
2486
+ }, z.core.$strict>, z.ZodObject<{
2487
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
2488
+ css: z.ZodOptional<z.ZodString>;
2489
+ nth: z.ZodOptional<z.ZodInt>;
2490
+ within: z.ZodOptional<z.ZodObject<{
2491
+ role: z.ZodString;
2492
+ has: z.ZodString;
2493
+ }, z.core.$strict>>;
2494
+ by: z.ZodLiteral<"role">;
2495
+ role: z.ZodString;
2496
+ name: z.ZodOptional<z.ZodString>;
2497
+ }, z.core.$strict>, z.ZodObject<{
2498
+ css: z.ZodOptional<z.ZodString>;
2499
+ nth: z.ZodOptional<z.ZodInt>;
2500
+ within: z.ZodOptional<z.ZodObject<{
2501
+ role: z.ZodString;
2502
+ has: z.ZodString;
2503
+ }, z.core.$strict>>;
2504
+ by: z.ZodLiteral<"label">;
2505
+ label: z.ZodString;
2506
+ }, z.core.$strict>, z.ZodObject<{
2507
+ css: z.ZodOptional<z.ZodString>;
2508
+ nth: z.ZodOptional<z.ZodInt>;
2509
+ within: z.ZodOptional<z.ZodObject<{
2510
+ role: z.ZodString;
2511
+ has: z.ZodString;
2512
+ }, z.core.$strict>>;
2513
+ by: z.ZodLiteral<"text">;
2514
+ text: z.ZodString;
2515
+ }, z.core.$strict>], "by">;
2516
+ }, z.core.$strict>, z.ZodObject<{
2517
+ times: z.ZodInt;
2518
+ }, z.core.$strict>]>;
2519
+ max: z.ZodOptional<z.ZodInt>;
2520
+ }, z.core.$strict>], "type">, unknown>>;
2521
+ state: z.ZodEnum<{
2522
+ fixed: "fixed";
2523
+ open: "open";
2524
+ }>;
2525
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2526
+ }, z.core.$strip>>;
2527
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
2528
+ title: z.ZodString;
2529
+ instruction: z.ZodString;
2530
+ success: z.ZodString;
2531
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2532
+ type: z.ZodLiteral<"open">;
2533
+ url: z.ZodURL;
2534
+ }, z.core.$strict>, z.ZodObject<{
2535
+ type: z.ZodLiteral<"click">;
2536
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2537
+ css: z.ZodOptional<z.ZodString>;
2538
+ nth: z.ZodOptional<z.ZodInt>;
2539
+ within: z.ZodOptional<z.ZodObject<{
2540
+ role: z.ZodString;
2541
+ has: z.ZodString;
2542
+ }, z.core.$strict>>;
2543
+ by: z.ZodLiteral<"role">;
2544
+ role: z.ZodString;
2545
+ name: z.ZodOptional<z.ZodString>;
2546
+ }, z.core.$strict>, z.ZodObject<{
2547
+ css: z.ZodOptional<z.ZodString>;
2548
+ nth: z.ZodOptional<z.ZodInt>;
2549
+ within: z.ZodOptional<z.ZodObject<{
2550
+ role: z.ZodString;
2551
+ has: z.ZodString;
2552
+ }, z.core.$strict>>;
2553
+ by: z.ZodLiteral<"label">;
2554
+ label: z.ZodString;
2555
+ }, z.core.$strict>, z.ZodObject<{
2556
+ css: z.ZodOptional<z.ZodString>;
2557
+ nth: z.ZodOptional<z.ZodInt>;
2558
+ within: z.ZodOptional<z.ZodObject<{
2559
+ role: z.ZodString;
2560
+ has: z.ZodString;
2561
+ }, z.core.$strict>>;
2562
+ by: z.ZodLiteral<"text">;
2563
+ text: z.ZodString;
2564
+ }, z.core.$strict>], "by">;
2565
+ }, z.core.$strict>, z.ZodObject<{
2566
+ type: z.ZodLiteral<"fill">;
2567
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2568
+ css: z.ZodOptional<z.ZodString>;
2569
+ nth: z.ZodOptional<z.ZodInt>;
2570
+ within: z.ZodOptional<z.ZodObject<{
2571
+ role: z.ZodString;
2572
+ has: z.ZodString;
2573
+ }, z.core.$strict>>;
2574
+ by: z.ZodLiteral<"role">;
2575
+ role: z.ZodString;
2576
+ name: z.ZodOptional<z.ZodString>;
2577
+ }, z.core.$strict>, z.ZodObject<{
2578
+ css: z.ZodOptional<z.ZodString>;
2579
+ nth: z.ZodOptional<z.ZodInt>;
2580
+ within: z.ZodOptional<z.ZodObject<{
2581
+ role: z.ZodString;
2582
+ has: z.ZodString;
2583
+ }, z.core.$strict>>;
2584
+ by: z.ZodLiteral<"label">;
2585
+ label: z.ZodString;
2586
+ }, z.core.$strict>, z.ZodObject<{
2587
+ css: z.ZodOptional<z.ZodString>;
2588
+ nth: z.ZodOptional<z.ZodInt>;
2589
+ within: z.ZodOptional<z.ZodObject<{
2590
+ role: z.ZodString;
2591
+ has: z.ZodString;
2592
+ }, z.core.$strict>>;
2593
+ by: z.ZodLiteral<"text">;
2594
+ text: z.ZodString;
2595
+ }, z.core.$strict>], "by">;
2596
+ value: z.ZodUnion<readonly [z.ZodObject<{
2597
+ text: z.ZodString;
2598
+ }, z.core.$strict>, z.ZodObject<{
2599
+ credential: z.ZodString;
2600
+ }, z.core.$strict>]>;
2601
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
2602
+ }, z.core.$strict>, z.ZodObject<{
2603
+ type: z.ZodLiteral<"read">;
2604
+ into: z.ZodString;
2605
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2606
+ css: z.ZodOptional<z.ZodString>;
2607
+ nth: z.ZodOptional<z.ZodInt>;
2608
+ within: z.ZodOptional<z.ZodObject<{
2609
+ role: z.ZodString;
2610
+ has: z.ZodString;
2611
+ }, z.core.$strict>>;
2612
+ by: z.ZodLiteral<"role">;
2613
+ role: z.ZodString;
2614
+ name: z.ZodOptional<z.ZodString>;
2615
+ }, z.core.$strict>, z.ZodObject<{
2616
+ css: z.ZodOptional<z.ZodString>;
2617
+ nth: z.ZodOptional<z.ZodInt>;
2618
+ within: z.ZodOptional<z.ZodObject<{
2619
+ role: z.ZodString;
2620
+ has: z.ZodString;
2621
+ }, z.core.$strict>>;
2622
+ by: z.ZodLiteral<"label">;
2623
+ label: z.ZodString;
2624
+ }, z.core.$strict>, z.ZodObject<{
2625
+ css: z.ZodOptional<z.ZodString>;
2626
+ nth: z.ZodOptional<z.ZodInt>;
2627
+ within: z.ZodOptional<z.ZodObject<{
2628
+ role: z.ZodString;
2629
+ has: z.ZodString;
2630
+ }, z.core.$strict>>;
2631
+ by: z.ZodLiteral<"text">;
2632
+ text: z.ZodString;
2633
+ }, z.core.$strict>], "by">>;
2634
+ fields: z.ZodArray<z.ZodObject<{
2635
+ name: z.ZodString;
2636
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2637
+ css: z.ZodOptional<z.ZodString>;
2638
+ nth: z.ZodOptional<z.ZodInt>;
2639
+ within: z.ZodOptional<z.ZodObject<{
2640
+ role: z.ZodString;
2641
+ has: z.ZodString;
2642
+ }, z.core.$strict>>;
2643
+ by: z.ZodLiteral<"role">;
2644
+ role: z.ZodString;
2645
+ name: z.ZodOptional<z.ZodString>;
2646
+ }, z.core.$strict>, z.ZodObject<{
2647
+ css: z.ZodOptional<z.ZodString>;
2648
+ nth: z.ZodOptional<z.ZodInt>;
2649
+ within: z.ZodOptional<z.ZodObject<{
2650
+ role: z.ZodString;
2651
+ has: z.ZodString;
2652
+ }, z.core.$strict>>;
2653
+ by: z.ZodLiteral<"label">;
2654
+ label: z.ZodString;
2655
+ }, z.core.$strict>, z.ZodObject<{
2656
+ css: z.ZodOptional<z.ZodString>;
2657
+ nth: z.ZodOptional<z.ZodInt>;
2658
+ within: z.ZodOptional<z.ZodObject<{
2659
+ role: z.ZodString;
2660
+ has: z.ZodString;
2661
+ }, z.core.$strict>>;
2662
+ by: z.ZodLiteral<"text">;
2663
+ text: z.ZodString;
2664
+ }, z.core.$strict>], "by">;
2665
+ take: z.ZodOptional<z.ZodEnum<{
2666
+ value: "value";
2667
+ link: "link";
2668
+ text: "text";
2669
+ }>>;
2670
+ pattern: z.ZodOptional<z.ZodString>;
2671
+ }, z.core.$strict>>;
2672
+ }, z.core.$strict>, z.ZodObject<{
2673
+ type: z.ZodLiteral<"write">;
2674
+ from: z.ZodString;
2675
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2676
+ unique: z.ZodOptional<z.ZodString>;
2677
+ }, z.core.$strict>, z.ZodObject<{
2678
+ type: z.ZodLiteral<"repeat">;
2679
+ over: z.ZodUnion<readonly [z.ZodObject<{
2680
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
2681
+ css: z.ZodOptional<z.ZodString>;
2682
+ nth: z.ZodOptional<z.ZodInt>;
2683
+ within: z.ZodOptional<z.ZodObject<{
2684
+ role: z.ZodString;
2685
+ has: z.ZodString;
2686
+ }, z.core.$strict>>;
2687
+ by: z.ZodLiteral<"role">;
2688
+ role: z.ZodString;
2689
+ name: z.ZodOptional<z.ZodString>;
2690
+ }, z.core.$strict>, z.ZodObject<{
2691
+ css: z.ZodOptional<z.ZodString>;
2692
+ nth: z.ZodOptional<z.ZodInt>;
2693
+ within: z.ZodOptional<z.ZodObject<{
2694
+ role: z.ZodString;
2695
+ has: z.ZodString;
2696
+ }, z.core.$strict>>;
2697
+ by: z.ZodLiteral<"label">;
2698
+ label: z.ZodString;
2699
+ }, z.core.$strict>, z.ZodObject<{
2700
+ css: z.ZodOptional<z.ZodString>;
2701
+ nth: z.ZodOptional<z.ZodInt>;
2702
+ within: z.ZodOptional<z.ZodObject<{
2703
+ role: z.ZodString;
2704
+ has: z.ZodString;
2705
+ }, z.core.$strict>>;
2706
+ by: z.ZodLiteral<"text">;
2707
+ text: z.ZodString;
2708
+ }, z.core.$strict>], "by">;
2709
+ }, z.core.$strict>, z.ZodObject<{
2710
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
2711
+ css: z.ZodOptional<z.ZodString>;
2712
+ nth: z.ZodOptional<z.ZodInt>;
2713
+ within: z.ZodOptional<z.ZodObject<{
2714
+ role: z.ZodString;
2715
+ has: z.ZodString;
2716
+ }, z.core.$strict>>;
2717
+ by: z.ZodLiteral<"role">;
2718
+ role: z.ZodString;
2719
+ name: z.ZodOptional<z.ZodString>;
2720
+ }, z.core.$strict>, z.ZodObject<{
2721
+ css: z.ZodOptional<z.ZodString>;
2722
+ nth: z.ZodOptional<z.ZodInt>;
2723
+ within: z.ZodOptional<z.ZodObject<{
2724
+ role: z.ZodString;
2725
+ has: z.ZodString;
2726
+ }, z.core.$strict>>;
2727
+ by: z.ZodLiteral<"label">;
2728
+ label: z.ZodString;
2729
+ }, z.core.$strict>, z.ZodObject<{
2730
+ css: z.ZodOptional<z.ZodString>;
2731
+ nth: z.ZodOptional<z.ZodInt>;
2732
+ within: z.ZodOptional<z.ZodObject<{
2733
+ role: z.ZodString;
2734
+ has: z.ZodString;
2735
+ }, z.core.$strict>>;
2736
+ by: z.ZodLiteral<"text">;
2737
+ text: z.ZodString;
2738
+ }, z.core.$strict>], "by">;
2739
+ }, z.core.$strict>, z.ZodObject<{
2740
+ times: z.ZodInt;
2741
+ }, z.core.$strict>]>;
2742
+ max: z.ZodOptional<z.ZodInt>;
2743
+ }, z.core.$strict>], "type">, unknown>>;
2744
+ state: z.ZodEnum<{
2745
+ fixed: "fixed";
2746
+ open: "open";
2747
+ }>;
2748
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2749
+ }, z.core.$strip>>;
2750
+ }, z.core.$strip>;
2751
+ export type FlowVersionContent = z.infer<typeof FlowVersionContent>;