@tinkerlandai/longplay-sdk 0.0.0-stage → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +209 -0
  2. package/README.md +485 -2
  3. package/README.zh-CN.md +375 -0
  4. package/THIRD_PARTY_NOTICES.md +101 -0
  5. package/dist/ai-usage-Btwg1nD7.d.ts +247 -0
  6. package/dist/api-5gAz4-Sb.d.ts +16897 -0
  7. package/dist/chunk-2HFA34QO.js +6 -0
  8. package/dist/chunk-7DXL3LHT.js +1 -0
  9. package/dist/chunk-ACF2FBUB.js +1 -0
  10. package/dist/chunk-CLXORAOK.js +1 -0
  11. package/dist/chunk-DSPLGTQI.js +1 -0
  12. package/dist/chunk-EARSGITJ.js +1 -0
  13. package/dist/chunk-G56XGVMS.js +1 -0
  14. package/dist/chunk-HOW7NIIR.js +1 -0
  15. package/dist/chunk-JB46ZKGZ.js +1 -0
  16. package/dist/chunk-KBM7BYQY.js +1 -0
  17. package/dist/chunk-MRN4HP4W.js +1 -0
  18. package/dist/chunk-RE6BIFLN.js +2 -0
  19. package/dist/chunk-SBPTOOYB.js +1 -0
  20. package/dist/chunk-SSLZKIIU.js +1 -0
  21. package/dist/chunk-VMM3GA3L.js +4 -0
  22. package/dist/chunk-VOEFXEPP.js +1 -0
  23. package/dist/chunk-X6BCUINI.js +173 -0
  24. package/dist/chunk-XSVQHPQT.js +17 -0
  25. package/dist/chunk-YQHPEP4X.js +1 -0
  26. package/dist/chunk-ZPZVSC4J.js +1 -0
  27. package/dist/configuration-sync-CywDxRkX.d.ts +1698 -0
  28. package/dist/content-NYMIZRNR.js +1 -0
  29. package/dist/coupon-fA1QujHt.d.ts +184 -0
  30. package/dist/customer-page-km5f1PJZ.d.ts +480 -0
  31. package/dist/funnel-local-client-CVokI0rx.d.ts +46997 -0
  32. package/dist/funnel-node-evaluation-P5B4fPfJ.d.ts +2054 -0
  33. package/dist/funnel-resource-client-Cv5OjfAn.d.ts +14525 -0
  34. package/dist/funnel-runtime-host-UL4DEJDU.js +1 -0
  35. package/dist/growth-rules-B4YYy64R.d.ts +173 -0
  36. package/dist/index.d.ts +23545 -0
  37. package/dist/index.js +1 -0
  38. package/dist/native-shell.d.ts +4 -0
  39. package/dist/native-shell.js +1 -0
  40. package/dist/openrouter.d.ts +43 -0
  41. package/dist/openrouter.js +1 -0
  42. package/dist/page.d.ts +134 -0
  43. package/dist/page.js +1 -0
  44. package/dist/paywall-EJCNWDHK.js +1 -0
  45. package/dist/popup.d.ts +191 -0
  46. package/dist/popup.js +1 -0
  47. package/dist/react-native.d.ts +36701 -0
  48. package/dist/react-native.js +1 -0
  49. package/dist/screen-D81zCpfi.d.ts +3000 -0
  50. package/dist/screen-renderer-JMHV4GPP.js +1 -0
  51. package/dist/server.d.ts +7073 -0
  52. package/dist/server.js +1 -0
  53. package/dist/visual-dom-DQLPBZ2Z.js +1 -0
  54. package/dist/visual.d.ts +87 -0
  55. package/dist/visual.js +1 -0
  56. package/package.json +90 -3
@@ -0,0 +1,3000 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const textNodeSchema: z.ZodObject<{
4
+ type: z.ZodLiteral<"text">;
5
+ productField: z.ZodOptional<z.ZodEnum<{
6
+ name: "name";
7
+ period: "period";
8
+ price: "price";
9
+ trial: "trial";
10
+ }>>;
11
+ feature: z.ZodOptional<z.ZodObject<{
12
+ id: z.ZodUUID;
13
+ field: z.ZodEnum<{
14
+ name: "name";
15
+ allowance: "allowance";
16
+ }>;
17
+ }, z.core.$strict>>;
18
+ text: z.ZodString;
19
+ variant: z.ZodEnum<{
20
+ title: "title";
21
+ body: "body";
22
+ heading: "heading";
23
+ caption: "caption";
24
+ }>;
25
+ id: z.ZodString;
26
+ name: z.ZodOptional<z.ZodString>;
27
+ hidden: z.ZodOptional<z.ZodBoolean>;
28
+ style: z.ZodOptional<z.ZodObject<{
29
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
30
+ fill: "fill";
31
+ fit: "fit";
32
+ }>, z.ZodNumber]>>;
33
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
34
+ fill: "fill";
35
+ fit: "fit";
36
+ }>, z.ZodNumber]>>;
37
+ padding: z.ZodOptional<z.ZodObject<{
38
+ top: z.ZodNumber;
39
+ right: z.ZodNumber;
40
+ bottom: z.ZodNumber;
41
+ left: z.ZodNumber;
42
+ }, z.core.$strict>>;
43
+ margin: z.ZodOptional<z.ZodObject<{
44
+ top: z.ZodNumber;
45
+ right: z.ZodNumber;
46
+ bottom: z.ZodNumber;
47
+ left: z.ZodNumber;
48
+ }, z.core.$strict>>;
49
+ gap: z.ZodOptional<z.ZodNumber>;
50
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
51
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
52
+ type: z.ZodLiteral<"color">;
53
+ color: z.ZodUnion<readonly [z.ZodEnum<{
54
+ text: "text";
55
+ background: "background";
56
+ primary: "primary";
57
+ muted: "muted";
58
+ surface: "surface";
59
+ }>, z.ZodString]>;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ type: z.ZodLiteral<"linear">;
62
+ angle: z.ZodNumber;
63
+ stops: z.ZodArray<z.ZodObject<{
64
+ color: z.ZodUnion<readonly [z.ZodEnum<{
65
+ text: "text";
66
+ background: "background";
67
+ primary: "primary";
68
+ muted: "muted";
69
+ surface: "surface";
70
+ }>, z.ZodString]>;
71
+ at: z.ZodNumber;
72
+ }, z.core.$strict>>;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ type: z.ZodLiteral<"image">;
75
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
76
+ fit: z.ZodEnum<{
77
+ cover: "cover";
78
+ contain: "contain";
79
+ }>;
80
+ position: z.ZodOptional<z.ZodObject<{
81
+ x: z.ZodNumber;
82
+ y: z.ZodNumber;
83
+ }, z.core.$strict>>;
84
+ }, z.core.$strict>], "type">>;
85
+ opacity: z.ZodOptional<z.ZodNumber>;
86
+ clipContent: z.ZodOptional<z.ZodBoolean>;
87
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
88
+ type: z.ZodLiteral<"rect">;
89
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
90
+ topLeft: z.ZodNumber;
91
+ topRight: z.ZodNumber;
92
+ bottomRight: z.ZodNumber;
93
+ bottomLeft: z.ZodNumber;
94
+ }, z.core.$strict>]>;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ type: z.ZodLiteral<"pill">;
97
+ }, z.core.$strict>], "type">>;
98
+ border: z.ZodOptional<z.ZodObject<{
99
+ width: z.ZodNumber;
100
+ color: z.ZodUnion<readonly [z.ZodEnum<{
101
+ text: "text";
102
+ background: "background";
103
+ primary: "primary";
104
+ muted: "muted";
105
+ surface: "surface";
106
+ }>, z.ZodString]>;
107
+ style: z.ZodEnum<{
108
+ solid: "solid";
109
+ dashed: "dashed";
110
+ }>;
111
+ }, z.core.$strict>>;
112
+ shadow: z.ZodOptional<z.ZodObject<{
113
+ x: z.ZodNumber;
114
+ y: z.ZodNumber;
115
+ blur: z.ZodNumber;
116
+ spread: z.ZodNumber;
117
+ color: z.ZodUnion<readonly [z.ZodEnum<{
118
+ text: "text";
119
+ background: "background";
120
+ primary: "primary";
121
+ muted: "muted";
122
+ surface: "surface";
123
+ }>, z.ZodString]>;
124
+ }, z.core.$strict>>;
125
+ text: z.ZodOptional<z.ZodObject<{
126
+ font: z.ZodOptional<z.ZodEnum<{
127
+ system: "system";
128
+ serif: "serif";
129
+ rounded: "rounded";
130
+ mono: "mono";
131
+ }>>;
132
+ size: z.ZodOptional<z.ZodNumber>;
133
+ weight: z.ZodOptional<z.ZodNumber>;
134
+ lineHeight: z.ZodOptional<z.ZodNumber>;
135
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
136
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
137
+ text: "text";
138
+ background: "background";
139
+ primary: "primary";
140
+ muted: "muted";
141
+ surface: "surface";
142
+ }>, z.ZodString]>>;
143
+ align: z.ZodOptional<z.ZodEnum<{
144
+ start: "start";
145
+ end: "end";
146
+ center: "center";
147
+ }>>;
148
+ italic: z.ZodOptional<z.ZodBoolean>;
149
+ decoration: z.ZodOptional<z.ZodEnum<{
150
+ none: "none";
151
+ underline: "underline";
152
+ "line-through": "line-through";
153
+ }>>;
154
+ transform: z.ZodOptional<z.ZodEnum<{
155
+ none: "none";
156
+ uppercase: "uppercase";
157
+ }>>;
158
+ }, z.core.$strict>>;
159
+ }, z.core.$strict>>;
160
+ fallback: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strict>;
162
+ declare const imageNodeSchema: z.ZodObject<{
163
+ type: z.ZodLiteral<"image">;
164
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
165
+ localizedSrc: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>>>;
166
+ alt: z.ZodString;
167
+ aspect: z.ZodEnum<{
168
+ auto: "auto";
169
+ "1:1": "1:1";
170
+ "4:3": "4:3";
171
+ "16:9": "16:9";
172
+ "3:1": "3:1";
173
+ }>;
174
+ fit: z.ZodEnum<{
175
+ cover: "cover";
176
+ contain: "contain";
177
+ }>;
178
+ position: z.ZodOptional<z.ZodObject<{
179
+ x: z.ZodNumber;
180
+ y: z.ZodNumber;
181
+ }, z.core.$strict>>;
182
+ id: z.ZodString;
183
+ name: z.ZodOptional<z.ZodString>;
184
+ hidden: z.ZodOptional<z.ZodBoolean>;
185
+ style: z.ZodOptional<z.ZodObject<{
186
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
187
+ fill: "fill";
188
+ fit: "fit";
189
+ }>, z.ZodNumber]>>;
190
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
191
+ fill: "fill";
192
+ fit: "fit";
193
+ }>, z.ZodNumber]>>;
194
+ padding: z.ZodOptional<z.ZodObject<{
195
+ top: z.ZodNumber;
196
+ right: z.ZodNumber;
197
+ bottom: z.ZodNumber;
198
+ left: z.ZodNumber;
199
+ }, z.core.$strict>>;
200
+ margin: z.ZodOptional<z.ZodObject<{
201
+ top: z.ZodNumber;
202
+ right: z.ZodNumber;
203
+ bottom: z.ZodNumber;
204
+ left: z.ZodNumber;
205
+ }, z.core.$strict>>;
206
+ gap: z.ZodOptional<z.ZodNumber>;
207
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
208
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
209
+ type: z.ZodLiteral<"color">;
210
+ color: z.ZodUnion<readonly [z.ZodEnum<{
211
+ text: "text";
212
+ background: "background";
213
+ primary: "primary";
214
+ muted: "muted";
215
+ surface: "surface";
216
+ }>, z.ZodString]>;
217
+ }, z.core.$strict>, z.ZodObject<{
218
+ type: z.ZodLiteral<"linear">;
219
+ angle: z.ZodNumber;
220
+ stops: z.ZodArray<z.ZodObject<{
221
+ color: z.ZodUnion<readonly [z.ZodEnum<{
222
+ text: "text";
223
+ background: "background";
224
+ primary: "primary";
225
+ muted: "muted";
226
+ surface: "surface";
227
+ }>, z.ZodString]>;
228
+ at: z.ZodNumber;
229
+ }, z.core.$strict>>;
230
+ }, z.core.$strict>, z.ZodObject<{
231
+ type: z.ZodLiteral<"image">;
232
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
233
+ fit: z.ZodEnum<{
234
+ cover: "cover";
235
+ contain: "contain";
236
+ }>;
237
+ position: z.ZodOptional<z.ZodObject<{
238
+ x: z.ZodNumber;
239
+ y: z.ZodNumber;
240
+ }, z.core.$strict>>;
241
+ }, z.core.$strict>], "type">>;
242
+ opacity: z.ZodOptional<z.ZodNumber>;
243
+ clipContent: z.ZodOptional<z.ZodBoolean>;
244
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
245
+ type: z.ZodLiteral<"rect">;
246
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
247
+ topLeft: z.ZodNumber;
248
+ topRight: z.ZodNumber;
249
+ bottomRight: z.ZodNumber;
250
+ bottomLeft: z.ZodNumber;
251
+ }, z.core.$strict>]>;
252
+ }, z.core.$strict>, z.ZodObject<{
253
+ type: z.ZodLiteral<"pill">;
254
+ }, z.core.$strict>], "type">>;
255
+ border: z.ZodOptional<z.ZodObject<{
256
+ width: z.ZodNumber;
257
+ color: z.ZodUnion<readonly [z.ZodEnum<{
258
+ text: "text";
259
+ background: "background";
260
+ primary: "primary";
261
+ muted: "muted";
262
+ surface: "surface";
263
+ }>, z.ZodString]>;
264
+ style: z.ZodEnum<{
265
+ solid: "solid";
266
+ dashed: "dashed";
267
+ }>;
268
+ }, z.core.$strict>>;
269
+ shadow: z.ZodOptional<z.ZodObject<{
270
+ x: z.ZodNumber;
271
+ y: z.ZodNumber;
272
+ blur: z.ZodNumber;
273
+ spread: z.ZodNumber;
274
+ color: z.ZodUnion<readonly [z.ZodEnum<{
275
+ text: "text";
276
+ background: "background";
277
+ primary: "primary";
278
+ muted: "muted";
279
+ surface: "surface";
280
+ }>, z.ZodString]>;
281
+ }, z.core.$strict>>;
282
+ text: z.ZodOptional<z.ZodObject<{
283
+ font: z.ZodOptional<z.ZodEnum<{
284
+ system: "system";
285
+ serif: "serif";
286
+ rounded: "rounded";
287
+ mono: "mono";
288
+ }>>;
289
+ size: z.ZodOptional<z.ZodNumber>;
290
+ weight: z.ZodOptional<z.ZodNumber>;
291
+ lineHeight: z.ZodOptional<z.ZodNumber>;
292
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
293
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
294
+ text: "text";
295
+ background: "background";
296
+ primary: "primary";
297
+ muted: "muted";
298
+ surface: "surface";
299
+ }>, z.ZodString]>>;
300
+ align: z.ZodOptional<z.ZodEnum<{
301
+ start: "start";
302
+ end: "end";
303
+ center: "center";
304
+ }>>;
305
+ italic: z.ZodOptional<z.ZodBoolean>;
306
+ decoration: z.ZodOptional<z.ZodEnum<{
307
+ none: "none";
308
+ underline: "underline";
309
+ "line-through": "line-through";
310
+ }>>;
311
+ transform: z.ZodOptional<z.ZodEnum<{
312
+ none: "none";
313
+ uppercase: "uppercase";
314
+ }>>;
315
+ }, z.core.$strict>>;
316
+ }, z.core.$strict>>;
317
+ fallback: z.ZodOptional<z.ZodString>;
318
+ }, z.core.$strict>;
319
+ declare const buttonNodeSchema: z.ZodObject<{
320
+ type: z.ZodLiteral<"button">;
321
+ label: z.ZodString;
322
+ variant: z.ZodEnum<{
323
+ link: "link";
324
+ primary: "primary";
325
+ secondary: "secondary";
326
+ }>;
327
+ action: z.ZodString;
328
+ purpose: z.ZodOptional<z.ZodEnum<{
329
+ purchase: "purchase";
330
+ navigation: "navigation";
331
+ close: "close";
332
+ }>>;
333
+ bind: z.ZodOptional<z.ZodObject<{
334
+ plan: z.ZodOptional<z.ZodString>;
335
+ coupon: z.ZodOptional<z.ZodUUID>;
336
+ promotionCode: z.ZodOptional<z.ZodUUID>;
337
+ picker: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strict>>;
339
+ id: z.ZodString;
340
+ name: z.ZodOptional<z.ZodString>;
341
+ hidden: z.ZodOptional<z.ZodBoolean>;
342
+ style: z.ZodOptional<z.ZodObject<{
343
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
344
+ fill: "fill";
345
+ fit: "fit";
346
+ }>, z.ZodNumber]>>;
347
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
348
+ fill: "fill";
349
+ fit: "fit";
350
+ }>, z.ZodNumber]>>;
351
+ padding: z.ZodOptional<z.ZodObject<{
352
+ top: z.ZodNumber;
353
+ right: z.ZodNumber;
354
+ bottom: z.ZodNumber;
355
+ left: z.ZodNumber;
356
+ }, z.core.$strict>>;
357
+ margin: z.ZodOptional<z.ZodObject<{
358
+ top: z.ZodNumber;
359
+ right: z.ZodNumber;
360
+ bottom: z.ZodNumber;
361
+ left: z.ZodNumber;
362
+ }, z.core.$strict>>;
363
+ gap: z.ZodOptional<z.ZodNumber>;
364
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
365
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
366
+ type: z.ZodLiteral<"color">;
367
+ color: z.ZodUnion<readonly [z.ZodEnum<{
368
+ text: "text";
369
+ background: "background";
370
+ primary: "primary";
371
+ muted: "muted";
372
+ surface: "surface";
373
+ }>, z.ZodString]>;
374
+ }, z.core.$strict>, z.ZodObject<{
375
+ type: z.ZodLiteral<"linear">;
376
+ angle: z.ZodNumber;
377
+ stops: z.ZodArray<z.ZodObject<{
378
+ color: z.ZodUnion<readonly [z.ZodEnum<{
379
+ text: "text";
380
+ background: "background";
381
+ primary: "primary";
382
+ muted: "muted";
383
+ surface: "surface";
384
+ }>, z.ZodString]>;
385
+ at: z.ZodNumber;
386
+ }, z.core.$strict>>;
387
+ }, z.core.$strict>, z.ZodObject<{
388
+ type: z.ZodLiteral<"image">;
389
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
390
+ fit: z.ZodEnum<{
391
+ cover: "cover";
392
+ contain: "contain";
393
+ }>;
394
+ position: z.ZodOptional<z.ZodObject<{
395
+ x: z.ZodNumber;
396
+ y: z.ZodNumber;
397
+ }, z.core.$strict>>;
398
+ }, z.core.$strict>], "type">>;
399
+ opacity: z.ZodOptional<z.ZodNumber>;
400
+ clipContent: z.ZodOptional<z.ZodBoolean>;
401
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
402
+ type: z.ZodLiteral<"rect">;
403
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
404
+ topLeft: z.ZodNumber;
405
+ topRight: z.ZodNumber;
406
+ bottomRight: z.ZodNumber;
407
+ bottomLeft: z.ZodNumber;
408
+ }, z.core.$strict>]>;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ type: z.ZodLiteral<"pill">;
411
+ }, z.core.$strict>], "type">>;
412
+ border: z.ZodOptional<z.ZodObject<{
413
+ width: z.ZodNumber;
414
+ color: z.ZodUnion<readonly [z.ZodEnum<{
415
+ text: "text";
416
+ background: "background";
417
+ primary: "primary";
418
+ muted: "muted";
419
+ surface: "surface";
420
+ }>, z.ZodString]>;
421
+ style: z.ZodEnum<{
422
+ solid: "solid";
423
+ dashed: "dashed";
424
+ }>;
425
+ }, z.core.$strict>>;
426
+ shadow: z.ZodOptional<z.ZodObject<{
427
+ x: z.ZodNumber;
428
+ y: z.ZodNumber;
429
+ blur: z.ZodNumber;
430
+ spread: z.ZodNumber;
431
+ color: z.ZodUnion<readonly [z.ZodEnum<{
432
+ text: "text";
433
+ background: "background";
434
+ primary: "primary";
435
+ muted: "muted";
436
+ surface: "surface";
437
+ }>, z.ZodString]>;
438
+ }, z.core.$strict>>;
439
+ text: z.ZodOptional<z.ZodObject<{
440
+ font: z.ZodOptional<z.ZodEnum<{
441
+ system: "system";
442
+ serif: "serif";
443
+ rounded: "rounded";
444
+ mono: "mono";
445
+ }>>;
446
+ size: z.ZodOptional<z.ZodNumber>;
447
+ weight: z.ZodOptional<z.ZodNumber>;
448
+ lineHeight: z.ZodOptional<z.ZodNumber>;
449
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
450
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
451
+ text: "text";
452
+ background: "background";
453
+ primary: "primary";
454
+ muted: "muted";
455
+ surface: "surface";
456
+ }>, z.ZodString]>>;
457
+ align: z.ZodOptional<z.ZodEnum<{
458
+ start: "start";
459
+ end: "end";
460
+ center: "center";
461
+ }>>;
462
+ italic: z.ZodOptional<z.ZodBoolean>;
463
+ decoration: z.ZodOptional<z.ZodEnum<{
464
+ none: "none";
465
+ underline: "underline";
466
+ "line-through": "line-through";
467
+ }>>;
468
+ transform: z.ZodOptional<z.ZodEnum<{
469
+ none: "none";
470
+ uppercase: "uppercase";
471
+ }>>;
472
+ }, z.core.$strict>>;
473
+ }, z.core.$strict>>;
474
+ fallback: z.ZodOptional<z.ZodString>;
475
+ }, z.core.$strict>;
476
+ declare const dividerNodeSchema: z.ZodObject<{
477
+ type: z.ZodLiteral<"divider">;
478
+ id: z.ZodString;
479
+ name: z.ZodOptional<z.ZodString>;
480
+ hidden: z.ZodOptional<z.ZodBoolean>;
481
+ style: z.ZodOptional<z.ZodObject<{
482
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
483
+ fill: "fill";
484
+ fit: "fit";
485
+ }>, z.ZodNumber]>>;
486
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
487
+ fill: "fill";
488
+ fit: "fit";
489
+ }>, z.ZodNumber]>>;
490
+ padding: z.ZodOptional<z.ZodObject<{
491
+ top: z.ZodNumber;
492
+ right: z.ZodNumber;
493
+ bottom: z.ZodNumber;
494
+ left: z.ZodNumber;
495
+ }, z.core.$strict>>;
496
+ margin: z.ZodOptional<z.ZodObject<{
497
+ top: z.ZodNumber;
498
+ right: z.ZodNumber;
499
+ bottom: z.ZodNumber;
500
+ left: z.ZodNumber;
501
+ }, z.core.$strict>>;
502
+ gap: z.ZodOptional<z.ZodNumber>;
503
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
504
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
505
+ type: z.ZodLiteral<"color">;
506
+ color: z.ZodUnion<readonly [z.ZodEnum<{
507
+ text: "text";
508
+ background: "background";
509
+ primary: "primary";
510
+ muted: "muted";
511
+ surface: "surface";
512
+ }>, z.ZodString]>;
513
+ }, z.core.$strict>, z.ZodObject<{
514
+ type: z.ZodLiteral<"linear">;
515
+ angle: z.ZodNumber;
516
+ stops: z.ZodArray<z.ZodObject<{
517
+ color: z.ZodUnion<readonly [z.ZodEnum<{
518
+ text: "text";
519
+ background: "background";
520
+ primary: "primary";
521
+ muted: "muted";
522
+ surface: "surface";
523
+ }>, z.ZodString]>;
524
+ at: z.ZodNumber;
525
+ }, z.core.$strict>>;
526
+ }, z.core.$strict>, z.ZodObject<{
527
+ type: z.ZodLiteral<"image">;
528
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
529
+ fit: z.ZodEnum<{
530
+ cover: "cover";
531
+ contain: "contain";
532
+ }>;
533
+ position: z.ZodOptional<z.ZodObject<{
534
+ x: z.ZodNumber;
535
+ y: z.ZodNumber;
536
+ }, z.core.$strict>>;
537
+ }, z.core.$strict>], "type">>;
538
+ opacity: z.ZodOptional<z.ZodNumber>;
539
+ clipContent: z.ZodOptional<z.ZodBoolean>;
540
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
541
+ type: z.ZodLiteral<"rect">;
542
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
543
+ topLeft: z.ZodNumber;
544
+ topRight: z.ZodNumber;
545
+ bottomRight: z.ZodNumber;
546
+ bottomLeft: z.ZodNumber;
547
+ }, z.core.$strict>]>;
548
+ }, z.core.$strict>, z.ZodObject<{
549
+ type: z.ZodLiteral<"pill">;
550
+ }, z.core.$strict>], "type">>;
551
+ border: z.ZodOptional<z.ZodObject<{
552
+ width: z.ZodNumber;
553
+ color: z.ZodUnion<readonly [z.ZodEnum<{
554
+ text: "text";
555
+ background: "background";
556
+ primary: "primary";
557
+ muted: "muted";
558
+ surface: "surface";
559
+ }>, z.ZodString]>;
560
+ style: z.ZodEnum<{
561
+ solid: "solid";
562
+ dashed: "dashed";
563
+ }>;
564
+ }, z.core.$strict>>;
565
+ shadow: z.ZodOptional<z.ZodObject<{
566
+ x: z.ZodNumber;
567
+ y: z.ZodNumber;
568
+ blur: z.ZodNumber;
569
+ spread: z.ZodNumber;
570
+ color: z.ZodUnion<readonly [z.ZodEnum<{
571
+ text: "text";
572
+ background: "background";
573
+ primary: "primary";
574
+ muted: "muted";
575
+ surface: "surface";
576
+ }>, z.ZodString]>;
577
+ }, z.core.$strict>>;
578
+ text: z.ZodOptional<z.ZodObject<{
579
+ font: z.ZodOptional<z.ZodEnum<{
580
+ system: "system";
581
+ serif: "serif";
582
+ rounded: "rounded";
583
+ mono: "mono";
584
+ }>>;
585
+ size: z.ZodOptional<z.ZodNumber>;
586
+ weight: z.ZodOptional<z.ZodNumber>;
587
+ lineHeight: z.ZodOptional<z.ZodNumber>;
588
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
589
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
590
+ text: "text";
591
+ background: "background";
592
+ primary: "primary";
593
+ muted: "muted";
594
+ surface: "surface";
595
+ }>, z.ZodString]>>;
596
+ align: z.ZodOptional<z.ZodEnum<{
597
+ start: "start";
598
+ end: "end";
599
+ center: "center";
600
+ }>>;
601
+ italic: z.ZodOptional<z.ZodBoolean>;
602
+ decoration: z.ZodOptional<z.ZodEnum<{
603
+ none: "none";
604
+ underline: "underline";
605
+ "line-through": "line-through";
606
+ }>>;
607
+ transform: z.ZodOptional<z.ZodEnum<{
608
+ none: "none";
609
+ uppercase: "uppercase";
610
+ }>>;
611
+ }, z.core.$strict>>;
612
+ }, z.core.$strict>>;
613
+ fallback: z.ZodOptional<z.ZodString>;
614
+ }, z.core.$strict>;
615
+ declare const customerDataNodeSchema: z.ZodObject<{
616
+ type: z.ZodLiteral<"customer_data">;
617
+ title: z.ZodString;
618
+ data: z.ZodObject<{
619
+ source: z.ZodEnum<{
620
+ membership: "membership";
621
+ credit_balance: "credit_balance";
622
+ credit_transactions: "credit_transactions";
623
+ billing: "billing";
624
+ billing_controls: "billing_controls";
625
+ customer_plans: "customer_plans";
626
+ credit_packs: "credit_packs";
627
+ credit_pack_orders: "credit_pack_orders";
628
+ offer_history: "offer_history";
629
+ }>;
630
+ layout: z.ZodEnum<{
631
+ full: "full";
632
+ compact: "compact";
633
+ }>;
634
+ resourceKey: z.ZodOptional<z.ZodString>;
635
+ pageSize: z.ZodNumber;
636
+ showSources: z.ZodBoolean;
637
+ allowPurchase: z.ZodBoolean;
638
+ outputs: z.ZodOptional<z.ZodObject<{
639
+ billing_adjustment: z.ZodOptional<z.ZodString>;
640
+ billing_authorization: z.ZodOptional<z.ZodString>;
641
+ buy_pack: z.ZodOptional<z.ZodString>;
642
+ billing_portal: z.ZodOptional<z.ZodString>;
643
+ cancel_membership: z.ZodOptional<z.ZodString>;
644
+ resume_membership: z.ZodOptional<z.ZodString>;
645
+ }, z.core.$strict>>;
646
+ }, z.core.$strict>;
647
+ id: z.ZodString;
648
+ name: z.ZodOptional<z.ZodString>;
649
+ hidden: z.ZodOptional<z.ZodBoolean>;
650
+ style: z.ZodOptional<z.ZodObject<{
651
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
652
+ fill: "fill";
653
+ fit: "fit";
654
+ }>, z.ZodNumber]>>;
655
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
656
+ fill: "fill";
657
+ fit: "fit";
658
+ }>, z.ZodNumber]>>;
659
+ padding: z.ZodOptional<z.ZodObject<{
660
+ top: z.ZodNumber;
661
+ right: z.ZodNumber;
662
+ bottom: z.ZodNumber;
663
+ left: z.ZodNumber;
664
+ }, z.core.$strict>>;
665
+ margin: z.ZodOptional<z.ZodObject<{
666
+ top: z.ZodNumber;
667
+ right: z.ZodNumber;
668
+ bottom: z.ZodNumber;
669
+ left: z.ZodNumber;
670
+ }, z.core.$strict>>;
671
+ gap: z.ZodOptional<z.ZodNumber>;
672
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
673
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
674
+ type: z.ZodLiteral<"color">;
675
+ color: z.ZodUnion<readonly [z.ZodEnum<{
676
+ text: "text";
677
+ background: "background";
678
+ primary: "primary";
679
+ muted: "muted";
680
+ surface: "surface";
681
+ }>, z.ZodString]>;
682
+ }, z.core.$strict>, z.ZodObject<{
683
+ type: z.ZodLiteral<"linear">;
684
+ angle: z.ZodNumber;
685
+ stops: z.ZodArray<z.ZodObject<{
686
+ color: z.ZodUnion<readonly [z.ZodEnum<{
687
+ text: "text";
688
+ background: "background";
689
+ primary: "primary";
690
+ muted: "muted";
691
+ surface: "surface";
692
+ }>, z.ZodString]>;
693
+ at: z.ZodNumber;
694
+ }, z.core.$strict>>;
695
+ }, z.core.$strict>, z.ZodObject<{
696
+ type: z.ZodLiteral<"image">;
697
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
698
+ fit: z.ZodEnum<{
699
+ cover: "cover";
700
+ contain: "contain";
701
+ }>;
702
+ position: z.ZodOptional<z.ZodObject<{
703
+ x: z.ZodNumber;
704
+ y: z.ZodNumber;
705
+ }, z.core.$strict>>;
706
+ }, z.core.$strict>], "type">>;
707
+ opacity: z.ZodOptional<z.ZodNumber>;
708
+ clipContent: z.ZodOptional<z.ZodBoolean>;
709
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
710
+ type: z.ZodLiteral<"rect">;
711
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
712
+ topLeft: z.ZodNumber;
713
+ topRight: z.ZodNumber;
714
+ bottomRight: z.ZodNumber;
715
+ bottomLeft: z.ZodNumber;
716
+ }, z.core.$strict>]>;
717
+ }, z.core.$strict>, z.ZodObject<{
718
+ type: z.ZodLiteral<"pill">;
719
+ }, z.core.$strict>], "type">>;
720
+ border: z.ZodOptional<z.ZodObject<{
721
+ width: z.ZodNumber;
722
+ color: z.ZodUnion<readonly [z.ZodEnum<{
723
+ text: "text";
724
+ background: "background";
725
+ primary: "primary";
726
+ muted: "muted";
727
+ surface: "surface";
728
+ }>, z.ZodString]>;
729
+ style: z.ZodEnum<{
730
+ solid: "solid";
731
+ dashed: "dashed";
732
+ }>;
733
+ }, z.core.$strict>>;
734
+ shadow: z.ZodOptional<z.ZodObject<{
735
+ x: z.ZodNumber;
736
+ y: z.ZodNumber;
737
+ blur: z.ZodNumber;
738
+ spread: z.ZodNumber;
739
+ color: z.ZodUnion<readonly [z.ZodEnum<{
740
+ text: "text";
741
+ background: "background";
742
+ primary: "primary";
743
+ muted: "muted";
744
+ surface: "surface";
745
+ }>, z.ZodString]>;
746
+ }, z.core.$strict>>;
747
+ text: z.ZodOptional<z.ZodObject<{
748
+ font: z.ZodOptional<z.ZodEnum<{
749
+ system: "system";
750
+ serif: "serif";
751
+ rounded: "rounded";
752
+ mono: "mono";
753
+ }>>;
754
+ size: z.ZodOptional<z.ZodNumber>;
755
+ weight: z.ZodOptional<z.ZodNumber>;
756
+ lineHeight: z.ZodOptional<z.ZodNumber>;
757
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
758
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
759
+ text: "text";
760
+ background: "background";
761
+ primary: "primary";
762
+ muted: "muted";
763
+ surface: "surface";
764
+ }>, z.ZodString]>>;
765
+ align: z.ZodOptional<z.ZodEnum<{
766
+ start: "start";
767
+ end: "end";
768
+ center: "center";
769
+ }>>;
770
+ italic: z.ZodOptional<z.ZodBoolean>;
771
+ decoration: z.ZodOptional<z.ZodEnum<{
772
+ none: "none";
773
+ underline: "underline";
774
+ "line-through": "line-through";
775
+ }>>;
776
+ transform: z.ZodOptional<z.ZodEnum<{
777
+ none: "none";
778
+ uppercase: "uppercase";
779
+ }>>;
780
+ }, z.core.$strict>>;
781
+ }, z.core.$strict>>;
782
+ fallback: z.ZodOptional<z.ZodString>;
783
+ }, z.core.$strict>;
784
+ type CustomerDataNode = z.infer<typeof customerDataNodeSchema>;
785
+ declare const spacerNodeSchema: z.ZodObject<{
786
+ type: z.ZodLiteral<"spacer">;
787
+ size: z.ZodEnum<{
788
+ none: "none";
789
+ xs: "xs";
790
+ sm: "sm";
791
+ md: "md";
792
+ lg: "lg";
793
+ xl: "xl";
794
+ }>;
795
+ id: z.ZodString;
796
+ name: z.ZodOptional<z.ZodString>;
797
+ hidden: z.ZodOptional<z.ZodBoolean>;
798
+ style: z.ZodOptional<z.ZodObject<{
799
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
800
+ fill: "fill";
801
+ fit: "fit";
802
+ }>, z.ZodNumber]>>;
803
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
804
+ fill: "fill";
805
+ fit: "fit";
806
+ }>, z.ZodNumber]>>;
807
+ padding: z.ZodOptional<z.ZodObject<{
808
+ top: z.ZodNumber;
809
+ right: z.ZodNumber;
810
+ bottom: z.ZodNumber;
811
+ left: z.ZodNumber;
812
+ }, z.core.$strict>>;
813
+ margin: z.ZodOptional<z.ZodObject<{
814
+ top: z.ZodNumber;
815
+ right: z.ZodNumber;
816
+ bottom: z.ZodNumber;
817
+ left: z.ZodNumber;
818
+ }, z.core.$strict>>;
819
+ gap: z.ZodOptional<z.ZodNumber>;
820
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
821
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
822
+ type: z.ZodLiteral<"color">;
823
+ color: z.ZodUnion<readonly [z.ZodEnum<{
824
+ text: "text";
825
+ background: "background";
826
+ primary: "primary";
827
+ muted: "muted";
828
+ surface: "surface";
829
+ }>, z.ZodString]>;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ type: z.ZodLiteral<"linear">;
832
+ angle: z.ZodNumber;
833
+ stops: z.ZodArray<z.ZodObject<{
834
+ color: z.ZodUnion<readonly [z.ZodEnum<{
835
+ text: "text";
836
+ background: "background";
837
+ primary: "primary";
838
+ muted: "muted";
839
+ surface: "surface";
840
+ }>, z.ZodString]>;
841
+ at: z.ZodNumber;
842
+ }, z.core.$strict>>;
843
+ }, z.core.$strict>, z.ZodObject<{
844
+ type: z.ZodLiteral<"image">;
845
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
846
+ fit: z.ZodEnum<{
847
+ cover: "cover";
848
+ contain: "contain";
849
+ }>;
850
+ position: z.ZodOptional<z.ZodObject<{
851
+ x: z.ZodNumber;
852
+ y: z.ZodNumber;
853
+ }, z.core.$strict>>;
854
+ }, z.core.$strict>], "type">>;
855
+ opacity: z.ZodOptional<z.ZodNumber>;
856
+ clipContent: z.ZodOptional<z.ZodBoolean>;
857
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
858
+ type: z.ZodLiteral<"rect">;
859
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
860
+ topLeft: z.ZodNumber;
861
+ topRight: z.ZodNumber;
862
+ bottomRight: z.ZodNumber;
863
+ bottomLeft: z.ZodNumber;
864
+ }, z.core.$strict>]>;
865
+ }, z.core.$strict>, z.ZodObject<{
866
+ type: z.ZodLiteral<"pill">;
867
+ }, z.core.$strict>], "type">>;
868
+ border: z.ZodOptional<z.ZodObject<{
869
+ width: z.ZodNumber;
870
+ color: z.ZodUnion<readonly [z.ZodEnum<{
871
+ text: "text";
872
+ background: "background";
873
+ primary: "primary";
874
+ muted: "muted";
875
+ surface: "surface";
876
+ }>, z.ZodString]>;
877
+ style: z.ZodEnum<{
878
+ solid: "solid";
879
+ dashed: "dashed";
880
+ }>;
881
+ }, z.core.$strict>>;
882
+ shadow: z.ZodOptional<z.ZodObject<{
883
+ x: z.ZodNumber;
884
+ y: z.ZodNumber;
885
+ blur: z.ZodNumber;
886
+ spread: z.ZodNumber;
887
+ color: z.ZodUnion<readonly [z.ZodEnum<{
888
+ text: "text";
889
+ background: "background";
890
+ primary: "primary";
891
+ muted: "muted";
892
+ surface: "surface";
893
+ }>, z.ZodString]>;
894
+ }, z.core.$strict>>;
895
+ text: z.ZodOptional<z.ZodObject<{
896
+ font: z.ZodOptional<z.ZodEnum<{
897
+ system: "system";
898
+ serif: "serif";
899
+ rounded: "rounded";
900
+ mono: "mono";
901
+ }>>;
902
+ size: z.ZodOptional<z.ZodNumber>;
903
+ weight: z.ZodOptional<z.ZodNumber>;
904
+ lineHeight: z.ZodOptional<z.ZodNumber>;
905
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
906
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
907
+ text: "text";
908
+ background: "background";
909
+ primary: "primary";
910
+ muted: "muted";
911
+ surface: "surface";
912
+ }>, z.ZodString]>>;
913
+ align: z.ZodOptional<z.ZodEnum<{
914
+ start: "start";
915
+ end: "end";
916
+ center: "center";
917
+ }>>;
918
+ italic: z.ZodOptional<z.ZodBoolean>;
919
+ decoration: z.ZodOptional<z.ZodEnum<{
920
+ none: "none";
921
+ underline: "underline";
922
+ "line-through": "line-through";
923
+ }>>;
924
+ transform: z.ZodOptional<z.ZodEnum<{
925
+ none: "none";
926
+ uppercase: "uppercase";
927
+ }>>;
928
+ }, z.core.$strict>>;
929
+ }, z.core.$strict>>;
930
+ fallback: z.ZodOptional<z.ZodString>;
931
+ }, z.core.$strict>;
932
+ /** 给开发者用的自定义 HTML 块:按语言分别存 HTML,CSS 各语言共用;发布前经服务端清洗。 */
933
+ declare const customHtmlNodeSchema: z.ZodObject<{
934
+ type: z.ZodLiteral<"custom_html">;
935
+ html: z.ZodRecord<z.ZodString, z.ZodString>;
936
+ css: z.ZodString;
937
+ id: z.ZodString;
938
+ name: z.ZodOptional<z.ZodString>;
939
+ hidden: z.ZodOptional<z.ZodBoolean>;
940
+ style: z.ZodOptional<z.ZodObject<{
941
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
942
+ fill: "fill";
943
+ fit: "fit";
944
+ }>, z.ZodNumber]>>;
945
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
946
+ fill: "fill";
947
+ fit: "fit";
948
+ }>, z.ZodNumber]>>;
949
+ padding: z.ZodOptional<z.ZodObject<{
950
+ top: z.ZodNumber;
951
+ right: z.ZodNumber;
952
+ bottom: z.ZodNumber;
953
+ left: z.ZodNumber;
954
+ }, z.core.$strict>>;
955
+ margin: z.ZodOptional<z.ZodObject<{
956
+ top: z.ZodNumber;
957
+ right: z.ZodNumber;
958
+ bottom: z.ZodNumber;
959
+ left: z.ZodNumber;
960
+ }, z.core.$strict>>;
961
+ gap: z.ZodOptional<z.ZodNumber>;
962
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
963
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
964
+ type: z.ZodLiteral<"color">;
965
+ color: z.ZodUnion<readonly [z.ZodEnum<{
966
+ text: "text";
967
+ background: "background";
968
+ primary: "primary";
969
+ muted: "muted";
970
+ surface: "surface";
971
+ }>, z.ZodString]>;
972
+ }, z.core.$strict>, z.ZodObject<{
973
+ type: z.ZodLiteral<"linear">;
974
+ angle: z.ZodNumber;
975
+ stops: z.ZodArray<z.ZodObject<{
976
+ color: z.ZodUnion<readonly [z.ZodEnum<{
977
+ text: "text";
978
+ background: "background";
979
+ primary: "primary";
980
+ muted: "muted";
981
+ surface: "surface";
982
+ }>, z.ZodString]>;
983
+ at: z.ZodNumber;
984
+ }, z.core.$strict>>;
985
+ }, z.core.$strict>, z.ZodObject<{
986
+ type: z.ZodLiteral<"image">;
987
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
988
+ fit: z.ZodEnum<{
989
+ cover: "cover";
990
+ contain: "contain";
991
+ }>;
992
+ position: z.ZodOptional<z.ZodObject<{
993
+ x: z.ZodNumber;
994
+ y: z.ZodNumber;
995
+ }, z.core.$strict>>;
996
+ }, z.core.$strict>], "type">>;
997
+ opacity: z.ZodOptional<z.ZodNumber>;
998
+ clipContent: z.ZodOptional<z.ZodBoolean>;
999
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1000
+ type: z.ZodLiteral<"rect">;
1001
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1002
+ topLeft: z.ZodNumber;
1003
+ topRight: z.ZodNumber;
1004
+ bottomRight: z.ZodNumber;
1005
+ bottomLeft: z.ZodNumber;
1006
+ }, z.core.$strict>]>;
1007
+ }, z.core.$strict>, z.ZodObject<{
1008
+ type: z.ZodLiteral<"pill">;
1009
+ }, z.core.$strict>], "type">>;
1010
+ border: z.ZodOptional<z.ZodObject<{
1011
+ width: z.ZodNumber;
1012
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1013
+ text: "text";
1014
+ background: "background";
1015
+ primary: "primary";
1016
+ muted: "muted";
1017
+ surface: "surface";
1018
+ }>, z.ZodString]>;
1019
+ style: z.ZodEnum<{
1020
+ solid: "solid";
1021
+ dashed: "dashed";
1022
+ }>;
1023
+ }, z.core.$strict>>;
1024
+ shadow: z.ZodOptional<z.ZodObject<{
1025
+ x: z.ZodNumber;
1026
+ y: z.ZodNumber;
1027
+ blur: z.ZodNumber;
1028
+ spread: z.ZodNumber;
1029
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1030
+ text: "text";
1031
+ background: "background";
1032
+ primary: "primary";
1033
+ muted: "muted";
1034
+ surface: "surface";
1035
+ }>, z.ZodString]>;
1036
+ }, z.core.$strict>>;
1037
+ text: z.ZodOptional<z.ZodObject<{
1038
+ font: z.ZodOptional<z.ZodEnum<{
1039
+ system: "system";
1040
+ serif: "serif";
1041
+ rounded: "rounded";
1042
+ mono: "mono";
1043
+ }>>;
1044
+ size: z.ZodOptional<z.ZodNumber>;
1045
+ weight: z.ZodOptional<z.ZodNumber>;
1046
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1047
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1048
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1049
+ text: "text";
1050
+ background: "background";
1051
+ primary: "primary";
1052
+ muted: "muted";
1053
+ surface: "surface";
1054
+ }>, z.ZodString]>>;
1055
+ align: z.ZodOptional<z.ZodEnum<{
1056
+ start: "start";
1057
+ end: "end";
1058
+ center: "center";
1059
+ }>>;
1060
+ italic: z.ZodOptional<z.ZodBoolean>;
1061
+ decoration: z.ZodOptional<z.ZodEnum<{
1062
+ none: "none";
1063
+ underline: "underline";
1064
+ "line-through": "line-through";
1065
+ }>>;
1066
+ transform: z.ZodOptional<z.ZodEnum<{
1067
+ none: "none";
1068
+ uppercase: "uppercase";
1069
+ }>>;
1070
+ }, z.core.$strict>>;
1071
+ }, z.core.$strict>>;
1072
+ fallback: z.ZodOptional<z.ZodString>;
1073
+ }, z.core.$strict>;
1074
+ declare const priceNodeSchema: z.ZodObject<{
1075
+ type: z.ZodLiteral<"price">;
1076
+ fallback: z.ZodString;
1077
+ parts: z.ZodOptional<z.ZodObject<{
1078
+ current: z.ZodOptional<z.ZodObject<{
1079
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1080
+ fill: "fill";
1081
+ fit: "fit";
1082
+ }>, z.ZodNumber]>>;
1083
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1084
+ fill: "fill";
1085
+ fit: "fit";
1086
+ }>, z.ZodNumber]>>;
1087
+ padding: z.ZodOptional<z.ZodObject<{
1088
+ top: z.ZodNumber;
1089
+ right: z.ZodNumber;
1090
+ bottom: z.ZodNumber;
1091
+ left: z.ZodNumber;
1092
+ }, z.core.$strict>>;
1093
+ margin: z.ZodOptional<z.ZodObject<{
1094
+ top: z.ZodNumber;
1095
+ right: z.ZodNumber;
1096
+ bottom: z.ZodNumber;
1097
+ left: z.ZodNumber;
1098
+ }, z.core.$strict>>;
1099
+ gap: z.ZodOptional<z.ZodNumber>;
1100
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1101
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1102
+ type: z.ZodLiteral<"color">;
1103
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1104
+ text: "text";
1105
+ background: "background";
1106
+ primary: "primary";
1107
+ muted: "muted";
1108
+ surface: "surface";
1109
+ }>, z.ZodString]>;
1110
+ }, z.core.$strict>, z.ZodObject<{
1111
+ type: z.ZodLiteral<"linear">;
1112
+ angle: z.ZodNumber;
1113
+ stops: z.ZodArray<z.ZodObject<{
1114
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1115
+ text: "text";
1116
+ background: "background";
1117
+ primary: "primary";
1118
+ muted: "muted";
1119
+ surface: "surface";
1120
+ }>, z.ZodString]>;
1121
+ at: z.ZodNumber;
1122
+ }, z.core.$strict>>;
1123
+ }, z.core.$strict>, z.ZodObject<{
1124
+ type: z.ZodLiteral<"image">;
1125
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1126
+ fit: z.ZodEnum<{
1127
+ cover: "cover";
1128
+ contain: "contain";
1129
+ }>;
1130
+ position: z.ZodOptional<z.ZodObject<{
1131
+ x: z.ZodNumber;
1132
+ y: z.ZodNumber;
1133
+ }, z.core.$strict>>;
1134
+ }, z.core.$strict>], "type">>;
1135
+ opacity: z.ZodOptional<z.ZodNumber>;
1136
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1137
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1138
+ type: z.ZodLiteral<"rect">;
1139
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1140
+ topLeft: z.ZodNumber;
1141
+ topRight: z.ZodNumber;
1142
+ bottomRight: z.ZodNumber;
1143
+ bottomLeft: z.ZodNumber;
1144
+ }, z.core.$strict>]>;
1145
+ }, z.core.$strict>, z.ZodObject<{
1146
+ type: z.ZodLiteral<"pill">;
1147
+ }, z.core.$strict>], "type">>;
1148
+ border: z.ZodOptional<z.ZodObject<{
1149
+ width: z.ZodNumber;
1150
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1151
+ text: "text";
1152
+ background: "background";
1153
+ primary: "primary";
1154
+ muted: "muted";
1155
+ surface: "surface";
1156
+ }>, z.ZodString]>;
1157
+ style: z.ZodEnum<{
1158
+ solid: "solid";
1159
+ dashed: "dashed";
1160
+ }>;
1161
+ }, z.core.$strict>>;
1162
+ shadow: z.ZodOptional<z.ZodObject<{
1163
+ x: z.ZodNumber;
1164
+ y: z.ZodNumber;
1165
+ blur: z.ZodNumber;
1166
+ spread: z.ZodNumber;
1167
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1168
+ text: "text";
1169
+ background: "background";
1170
+ primary: "primary";
1171
+ muted: "muted";
1172
+ surface: "surface";
1173
+ }>, z.ZodString]>;
1174
+ }, z.core.$strict>>;
1175
+ text: z.ZodOptional<z.ZodObject<{
1176
+ font: z.ZodOptional<z.ZodEnum<{
1177
+ system: "system";
1178
+ serif: "serif";
1179
+ rounded: "rounded";
1180
+ mono: "mono";
1181
+ }>>;
1182
+ size: z.ZodOptional<z.ZodNumber>;
1183
+ weight: z.ZodOptional<z.ZodNumber>;
1184
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1185
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1186
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1187
+ text: "text";
1188
+ background: "background";
1189
+ primary: "primary";
1190
+ muted: "muted";
1191
+ surface: "surface";
1192
+ }>, z.ZodString]>>;
1193
+ align: z.ZodOptional<z.ZodEnum<{
1194
+ start: "start";
1195
+ end: "end";
1196
+ center: "center";
1197
+ }>>;
1198
+ italic: z.ZodOptional<z.ZodBoolean>;
1199
+ decoration: z.ZodOptional<z.ZodEnum<{
1200
+ none: "none";
1201
+ underline: "underline";
1202
+ "line-through": "line-through";
1203
+ }>>;
1204
+ transform: z.ZodOptional<z.ZodEnum<{
1205
+ none: "none";
1206
+ uppercase: "uppercase";
1207
+ }>>;
1208
+ }, z.core.$strict>>;
1209
+ }, z.core.$strict>>;
1210
+ original: z.ZodOptional<z.ZodObject<{
1211
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1212
+ fill: "fill";
1213
+ fit: "fit";
1214
+ }>, z.ZodNumber]>>;
1215
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1216
+ fill: "fill";
1217
+ fit: "fit";
1218
+ }>, z.ZodNumber]>>;
1219
+ padding: z.ZodOptional<z.ZodObject<{
1220
+ top: z.ZodNumber;
1221
+ right: z.ZodNumber;
1222
+ bottom: z.ZodNumber;
1223
+ left: z.ZodNumber;
1224
+ }, z.core.$strict>>;
1225
+ margin: z.ZodOptional<z.ZodObject<{
1226
+ top: z.ZodNumber;
1227
+ right: z.ZodNumber;
1228
+ bottom: z.ZodNumber;
1229
+ left: z.ZodNumber;
1230
+ }, z.core.$strict>>;
1231
+ gap: z.ZodOptional<z.ZodNumber>;
1232
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1233
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1234
+ type: z.ZodLiteral<"color">;
1235
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1236
+ text: "text";
1237
+ background: "background";
1238
+ primary: "primary";
1239
+ muted: "muted";
1240
+ surface: "surface";
1241
+ }>, z.ZodString]>;
1242
+ }, z.core.$strict>, z.ZodObject<{
1243
+ type: z.ZodLiteral<"linear">;
1244
+ angle: z.ZodNumber;
1245
+ stops: z.ZodArray<z.ZodObject<{
1246
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1247
+ text: "text";
1248
+ background: "background";
1249
+ primary: "primary";
1250
+ muted: "muted";
1251
+ surface: "surface";
1252
+ }>, z.ZodString]>;
1253
+ at: z.ZodNumber;
1254
+ }, z.core.$strict>>;
1255
+ }, z.core.$strict>, z.ZodObject<{
1256
+ type: z.ZodLiteral<"image">;
1257
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1258
+ fit: z.ZodEnum<{
1259
+ cover: "cover";
1260
+ contain: "contain";
1261
+ }>;
1262
+ position: z.ZodOptional<z.ZodObject<{
1263
+ x: z.ZodNumber;
1264
+ y: z.ZodNumber;
1265
+ }, z.core.$strict>>;
1266
+ }, z.core.$strict>], "type">>;
1267
+ opacity: z.ZodOptional<z.ZodNumber>;
1268
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1269
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1270
+ type: z.ZodLiteral<"rect">;
1271
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1272
+ topLeft: z.ZodNumber;
1273
+ topRight: z.ZodNumber;
1274
+ bottomRight: z.ZodNumber;
1275
+ bottomLeft: z.ZodNumber;
1276
+ }, z.core.$strict>]>;
1277
+ }, z.core.$strict>, z.ZodObject<{
1278
+ type: z.ZodLiteral<"pill">;
1279
+ }, z.core.$strict>], "type">>;
1280
+ border: z.ZodOptional<z.ZodObject<{
1281
+ width: z.ZodNumber;
1282
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1283
+ text: "text";
1284
+ background: "background";
1285
+ primary: "primary";
1286
+ muted: "muted";
1287
+ surface: "surface";
1288
+ }>, z.ZodString]>;
1289
+ style: z.ZodEnum<{
1290
+ solid: "solid";
1291
+ dashed: "dashed";
1292
+ }>;
1293
+ }, z.core.$strict>>;
1294
+ shadow: z.ZodOptional<z.ZodObject<{
1295
+ x: z.ZodNumber;
1296
+ y: z.ZodNumber;
1297
+ blur: z.ZodNumber;
1298
+ spread: z.ZodNumber;
1299
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1300
+ text: "text";
1301
+ background: "background";
1302
+ primary: "primary";
1303
+ muted: "muted";
1304
+ surface: "surface";
1305
+ }>, z.ZodString]>;
1306
+ }, z.core.$strict>>;
1307
+ text: z.ZodOptional<z.ZodObject<{
1308
+ font: z.ZodOptional<z.ZodEnum<{
1309
+ system: "system";
1310
+ serif: "serif";
1311
+ rounded: "rounded";
1312
+ mono: "mono";
1313
+ }>>;
1314
+ size: z.ZodOptional<z.ZodNumber>;
1315
+ weight: z.ZodOptional<z.ZodNumber>;
1316
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1317
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1318
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1319
+ text: "text";
1320
+ background: "background";
1321
+ primary: "primary";
1322
+ muted: "muted";
1323
+ surface: "surface";
1324
+ }>, z.ZodString]>>;
1325
+ align: z.ZodOptional<z.ZodEnum<{
1326
+ start: "start";
1327
+ end: "end";
1328
+ center: "center";
1329
+ }>>;
1330
+ italic: z.ZodOptional<z.ZodBoolean>;
1331
+ decoration: z.ZodOptional<z.ZodEnum<{
1332
+ none: "none";
1333
+ underline: "underline";
1334
+ "line-through": "line-through";
1335
+ }>>;
1336
+ transform: z.ZodOptional<z.ZodEnum<{
1337
+ none: "none";
1338
+ uppercase: "uppercase";
1339
+ }>>;
1340
+ }, z.core.$strict>>;
1341
+ }, z.core.$strict>>;
1342
+ period: z.ZodOptional<z.ZodObject<{
1343
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1344
+ fill: "fill";
1345
+ fit: "fit";
1346
+ }>, z.ZodNumber]>>;
1347
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1348
+ fill: "fill";
1349
+ fit: "fit";
1350
+ }>, z.ZodNumber]>>;
1351
+ padding: z.ZodOptional<z.ZodObject<{
1352
+ top: z.ZodNumber;
1353
+ right: z.ZodNumber;
1354
+ bottom: z.ZodNumber;
1355
+ left: z.ZodNumber;
1356
+ }, z.core.$strict>>;
1357
+ margin: z.ZodOptional<z.ZodObject<{
1358
+ top: z.ZodNumber;
1359
+ right: z.ZodNumber;
1360
+ bottom: z.ZodNumber;
1361
+ left: z.ZodNumber;
1362
+ }, z.core.$strict>>;
1363
+ gap: z.ZodOptional<z.ZodNumber>;
1364
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1365
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1366
+ type: z.ZodLiteral<"color">;
1367
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1368
+ text: "text";
1369
+ background: "background";
1370
+ primary: "primary";
1371
+ muted: "muted";
1372
+ surface: "surface";
1373
+ }>, z.ZodString]>;
1374
+ }, z.core.$strict>, z.ZodObject<{
1375
+ type: z.ZodLiteral<"linear">;
1376
+ angle: z.ZodNumber;
1377
+ stops: z.ZodArray<z.ZodObject<{
1378
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1379
+ text: "text";
1380
+ background: "background";
1381
+ primary: "primary";
1382
+ muted: "muted";
1383
+ surface: "surface";
1384
+ }>, z.ZodString]>;
1385
+ at: z.ZodNumber;
1386
+ }, z.core.$strict>>;
1387
+ }, z.core.$strict>, z.ZodObject<{
1388
+ type: z.ZodLiteral<"image">;
1389
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1390
+ fit: z.ZodEnum<{
1391
+ cover: "cover";
1392
+ contain: "contain";
1393
+ }>;
1394
+ position: z.ZodOptional<z.ZodObject<{
1395
+ x: z.ZodNumber;
1396
+ y: z.ZodNumber;
1397
+ }, z.core.$strict>>;
1398
+ }, z.core.$strict>], "type">>;
1399
+ opacity: z.ZodOptional<z.ZodNumber>;
1400
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1401
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1402
+ type: z.ZodLiteral<"rect">;
1403
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1404
+ topLeft: z.ZodNumber;
1405
+ topRight: z.ZodNumber;
1406
+ bottomRight: z.ZodNumber;
1407
+ bottomLeft: z.ZodNumber;
1408
+ }, z.core.$strict>]>;
1409
+ }, z.core.$strict>, z.ZodObject<{
1410
+ type: z.ZodLiteral<"pill">;
1411
+ }, z.core.$strict>], "type">>;
1412
+ border: z.ZodOptional<z.ZodObject<{
1413
+ width: z.ZodNumber;
1414
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1415
+ text: "text";
1416
+ background: "background";
1417
+ primary: "primary";
1418
+ muted: "muted";
1419
+ surface: "surface";
1420
+ }>, z.ZodString]>;
1421
+ style: z.ZodEnum<{
1422
+ solid: "solid";
1423
+ dashed: "dashed";
1424
+ }>;
1425
+ }, z.core.$strict>>;
1426
+ shadow: z.ZodOptional<z.ZodObject<{
1427
+ x: z.ZodNumber;
1428
+ y: z.ZodNumber;
1429
+ blur: z.ZodNumber;
1430
+ spread: z.ZodNumber;
1431
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1432
+ text: "text";
1433
+ background: "background";
1434
+ primary: "primary";
1435
+ muted: "muted";
1436
+ surface: "surface";
1437
+ }>, z.ZodString]>;
1438
+ }, z.core.$strict>>;
1439
+ text: z.ZodOptional<z.ZodObject<{
1440
+ font: z.ZodOptional<z.ZodEnum<{
1441
+ system: "system";
1442
+ serif: "serif";
1443
+ rounded: "rounded";
1444
+ mono: "mono";
1445
+ }>>;
1446
+ size: z.ZodOptional<z.ZodNumber>;
1447
+ weight: z.ZodOptional<z.ZodNumber>;
1448
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1449
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1450
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1451
+ text: "text";
1452
+ background: "background";
1453
+ primary: "primary";
1454
+ muted: "muted";
1455
+ surface: "surface";
1456
+ }>, z.ZodString]>>;
1457
+ align: z.ZodOptional<z.ZodEnum<{
1458
+ start: "start";
1459
+ end: "end";
1460
+ center: "center";
1461
+ }>>;
1462
+ italic: z.ZodOptional<z.ZodBoolean>;
1463
+ decoration: z.ZodOptional<z.ZodEnum<{
1464
+ none: "none";
1465
+ underline: "underline";
1466
+ "line-through": "line-through";
1467
+ }>>;
1468
+ transform: z.ZodOptional<z.ZodEnum<{
1469
+ none: "none";
1470
+ uppercase: "uppercase";
1471
+ }>>;
1472
+ }, z.core.$strict>>;
1473
+ }, z.core.$strict>>;
1474
+ }, z.core.$strict>>;
1475
+ id: z.ZodString;
1476
+ name: z.ZodOptional<z.ZodString>;
1477
+ hidden: z.ZodOptional<z.ZodBoolean>;
1478
+ style: z.ZodOptional<z.ZodObject<{
1479
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1480
+ fill: "fill";
1481
+ fit: "fit";
1482
+ }>, z.ZodNumber]>>;
1483
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1484
+ fill: "fill";
1485
+ fit: "fit";
1486
+ }>, z.ZodNumber]>>;
1487
+ padding: z.ZodOptional<z.ZodObject<{
1488
+ top: z.ZodNumber;
1489
+ right: z.ZodNumber;
1490
+ bottom: z.ZodNumber;
1491
+ left: z.ZodNumber;
1492
+ }, z.core.$strict>>;
1493
+ margin: z.ZodOptional<z.ZodObject<{
1494
+ top: z.ZodNumber;
1495
+ right: z.ZodNumber;
1496
+ bottom: z.ZodNumber;
1497
+ left: z.ZodNumber;
1498
+ }, z.core.$strict>>;
1499
+ gap: z.ZodOptional<z.ZodNumber>;
1500
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1501
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1502
+ type: z.ZodLiteral<"color">;
1503
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1504
+ text: "text";
1505
+ background: "background";
1506
+ primary: "primary";
1507
+ muted: "muted";
1508
+ surface: "surface";
1509
+ }>, z.ZodString]>;
1510
+ }, z.core.$strict>, z.ZodObject<{
1511
+ type: z.ZodLiteral<"linear">;
1512
+ angle: z.ZodNumber;
1513
+ stops: z.ZodArray<z.ZodObject<{
1514
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1515
+ text: "text";
1516
+ background: "background";
1517
+ primary: "primary";
1518
+ muted: "muted";
1519
+ surface: "surface";
1520
+ }>, z.ZodString]>;
1521
+ at: z.ZodNumber;
1522
+ }, z.core.$strict>>;
1523
+ }, z.core.$strict>, z.ZodObject<{
1524
+ type: z.ZodLiteral<"image">;
1525
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1526
+ fit: z.ZodEnum<{
1527
+ cover: "cover";
1528
+ contain: "contain";
1529
+ }>;
1530
+ position: z.ZodOptional<z.ZodObject<{
1531
+ x: z.ZodNumber;
1532
+ y: z.ZodNumber;
1533
+ }, z.core.$strict>>;
1534
+ }, z.core.$strict>], "type">>;
1535
+ opacity: z.ZodOptional<z.ZodNumber>;
1536
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1537
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1538
+ type: z.ZodLiteral<"rect">;
1539
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1540
+ topLeft: z.ZodNumber;
1541
+ topRight: z.ZodNumber;
1542
+ bottomRight: z.ZodNumber;
1543
+ bottomLeft: z.ZodNumber;
1544
+ }, z.core.$strict>]>;
1545
+ }, z.core.$strict>, z.ZodObject<{
1546
+ type: z.ZodLiteral<"pill">;
1547
+ }, z.core.$strict>], "type">>;
1548
+ border: z.ZodOptional<z.ZodObject<{
1549
+ width: z.ZodNumber;
1550
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1551
+ text: "text";
1552
+ background: "background";
1553
+ primary: "primary";
1554
+ muted: "muted";
1555
+ surface: "surface";
1556
+ }>, z.ZodString]>;
1557
+ style: z.ZodEnum<{
1558
+ solid: "solid";
1559
+ dashed: "dashed";
1560
+ }>;
1561
+ }, z.core.$strict>>;
1562
+ shadow: z.ZodOptional<z.ZodObject<{
1563
+ x: z.ZodNumber;
1564
+ y: z.ZodNumber;
1565
+ blur: z.ZodNumber;
1566
+ spread: z.ZodNumber;
1567
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1568
+ text: "text";
1569
+ background: "background";
1570
+ primary: "primary";
1571
+ muted: "muted";
1572
+ surface: "surface";
1573
+ }>, z.ZodString]>;
1574
+ }, z.core.$strict>>;
1575
+ text: z.ZodOptional<z.ZodObject<{
1576
+ font: z.ZodOptional<z.ZodEnum<{
1577
+ system: "system";
1578
+ serif: "serif";
1579
+ rounded: "rounded";
1580
+ mono: "mono";
1581
+ }>>;
1582
+ size: z.ZodOptional<z.ZodNumber>;
1583
+ weight: z.ZodOptional<z.ZodNumber>;
1584
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1585
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1586
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1587
+ text: "text";
1588
+ background: "background";
1589
+ primary: "primary";
1590
+ muted: "muted";
1591
+ surface: "surface";
1592
+ }>, z.ZodString]>>;
1593
+ align: z.ZodOptional<z.ZodEnum<{
1594
+ start: "start";
1595
+ end: "end";
1596
+ center: "center";
1597
+ }>>;
1598
+ italic: z.ZodOptional<z.ZodBoolean>;
1599
+ decoration: z.ZodOptional<z.ZodEnum<{
1600
+ none: "none";
1601
+ underline: "underline";
1602
+ "line-through": "line-through";
1603
+ }>>;
1604
+ transform: z.ZodOptional<z.ZodEnum<{
1605
+ none: "none";
1606
+ uppercase: "uppercase";
1607
+ }>>;
1608
+ }, z.core.$strict>>;
1609
+ }, z.core.$strict>>;
1610
+ }, z.core.$strict>;
1611
+ declare const couponCodeNodeSchema: z.ZodObject<{
1612
+ type: z.ZodLiteral<"coupon_code">;
1613
+ label: z.ZodString;
1614
+ fallback: z.ZodString;
1615
+ id: z.ZodString;
1616
+ name: z.ZodOptional<z.ZodString>;
1617
+ hidden: z.ZodOptional<z.ZodBoolean>;
1618
+ style: z.ZodOptional<z.ZodObject<{
1619
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1620
+ fill: "fill";
1621
+ fit: "fit";
1622
+ }>, z.ZodNumber]>>;
1623
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1624
+ fill: "fill";
1625
+ fit: "fit";
1626
+ }>, z.ZodNumber]>>;
1627
+ padding: z.ZodOptional<z.ZodObject<{
1628
+ top: z.ZodNumber;
1629
+ right: z.ZodNumber;
1630
+ bottom: z.ZodNumber;
1631
+ left: z.ZodNumber;
1632
+ }, z.core.$strict>>;
1633
+ margin: z.ZodOptional<z.ZodObject<{
1634
+ top: z.ZodNumber;
1635
+ right: z.ZodNumber;
1636
+ bottom: z.ZodNumber;
1637
+ left: z.ZodNumber;
1638
+ }, z.core.$strict>>;
1639
+ gap: z.ZodOptional<z.ZodNumber>;
1640
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1641
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1642
+ type: z.ZodLiteral<"color">;
1643
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1644
+ text: "text";
1645
+ background: "background";
1646
+ primary: "primary";
1647
+ muted: "muted";
1648
+ surface: "surface";
1649
+ }>, z.ZodString]>;
1650
+ }, z.core.$strict>, z.ZodObject<{
1651
+ type: z.ZodLiteral<"linear">;
1652
+ angle: z.ZodNumber;
1653
+ stops: z.ZodArray<z.ZodObject<{
1654
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1655
+ text: "text";
1656
+ background: "background";
1657
+ primary: "primary";
1658
+ muted: "muted";
1659
+ surface: "surface";
1660
+ }>, z.ZodString]>;
1661
+ at: z.ZodNumber;
1662
+ }, z.core.$strict>>;
1663
+ }, z.core.$strict>, z.ZodObject<{
1664
+ type: z.ZodLiteral<"image">;
1665
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1666
+ fit: z.ZodEnum<{
1667
+ cover: "cover";
1668
+ contain: "contain";
1669
+ }>;
1670
+ position: z.ZodOptional<z.ZodObject<{
1671
+ x: z.ZodNumber;
1672
+ y: z.ZodNumber;
1673
+ }, z.core.$strict>>;
1674
+ }, z.core.$strict>], "type">>;
1675
+ opacity: z.ZodOptional<z.ZodNumber>;
1676
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1677
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1678
+ type: z.ZodLiteral<"rect">;
1679
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1680
+ topLeft: z.ZodNumber;
1681
+ topRight: z.ZodNumber;
1682
+ bottomRight: z.ZodNumber;
1683
+ bottomLeft: z.ZodNumber;
1684
+ }, z.core.$strict>]>;
1685
+ }, z.core.$strict>, z.ZodObject<{
1686
+ type: z.ZodLiteral<"pill">;
1687
+ }, z.core.$strict>], "type">>;
1688
+ border: z.ZodOptional<z.ZodObject<{
1689
+ width: z.ZodNumber;
1690
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1691
+ text: "text";
1692
+ background: "background";
1693
+ primary: "primary";
1694
+ muted: "muted";
1695
+ surface: "surface";
1696
+ }>, z.ZodString]>;
1697
+ style: z.ZodEnum<{
1698
+ solid: "solid";
1699
+ dashed: "dashed";
1700
+ }>;
1701
+ }, z.core.$strict>>;
1702
+ shadow: z.ZodOptional<z.ZodObject<{
1703
+ x: z.ZodNumber;
1704
+ y: z.ZodNumber;
1705
+ blur: z.ZodNumber;
1706
+ spread: z.ZodNumber;
1707
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1708
+ text: "text";
1709
+ background: "background";
1710
+ primary: "primary";
1711
+ muted: "muted";
1712
+ surface: "surface";
1713
+ }>, z.ZodString]>;
1714
+ }, z.core.$strict>>;
1715
+ text: z.ZodOptional<z.ZodObject<{
1716
+ font: z.ZodOptional<z.ZodEnum<{
1717
+ system: "system";
1718
+ serif: "serif";
1719
+ rounded: "rounded";
1720
+ mono: "mono";
1721
+ }>>;
1722
+ size: z.ZodOptional<z.ZodNumber>;
1723
+ weight: z.ZodOptional<z.ZodNumber>;
1724
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1725
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1726
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1727
+ text: "text";
1728
+ background: "background";
1729
+ primary: "primary";
1730
+ muted: "muted";
1731
+ surface: "surface";
1732
+ }>, z.ZodString]>>;
1733
+ align: z.ZodOptional<z.ZodEnum<{
1734
+ start: "start";
1735
+ end: "end";
1736
+ center: "center";
1737
+ }>>;
1738
+ italic: z.ZodOptional<z.ZodBoolean>;
1739
+ decoration: z.ZodOptional<z.ZodEnum<{
1740
+ none: "none";
1741
+ underline: "underline";
1742
+ "line-through": "line-through";
1743
+ }>>;
1744
+ transform: z.ZodOptional<z.ZodEnum<{
1745
+ none: "none";
1746
+ uppercase: "uppercase";
1747
+ }>>;
1748
+ }, z.core.$strict>>;
1749
+ }, z.core.$strict>>;
1750
+ }, z.core.$strict>;
1751
+ declare const countdownNodeSchema: z.ZodObject<{
1752
+ type: z.ZodLiteral<"countdown">;
1753
+ source: z.ZodEnum<{
1754
+ fixed: "fixed";
1755
+ "offer.ends_at": "offer.ends_at";
1756
+ "offer.expires_at": "offer.expires_at";
1757
+ }>;
1758
+ at: z.ZodOptional<z.ZodISODateTime>;
1759
+ granularity: z.ZodEnum<{
1760
+ hour: "hour";
1761
+ day: "day";
1762
+ minute: "minute";
1763
+ second: "second";
1764
+ }>;
1765
+ expired: z.ZodString;
1766
+ fallback: z.ZodString;
1767
+ id: z.ZodString;
1768
+ name: z.ZodOptional<z.ZodString>;
1769
+ hidden: z.ZodOptional<z.ZodBoolean>;
1770
+ style: z.ZodOptional<z.ZodObject<{
1771
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1772
+ fill: "fill";
1773
+ fit: "fit";
1774
+ }>, z.ZodNumber]>>;
1775
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1776
+ fill: "fill";
1777
+ fit: "fit";
1778
+ }>, z.ZodNumber]>>;
1779
+ padding: z.ZodOptional<z.ZodObject<{
1780
+ top: z.ZodNumber;
1781
+ right: z.ZodNumber;
1782
+ bottom: z.ZodNumber;
1783
+ left: z.ZodNumber;
1784
+ }, z.core.$strict>>;
1785
+ margin: z.ZodOptional<z.ZodObject<{
1786
+ top: z.ZodNumber;
1787
+ right: z.ZodNumber;
1788
+ bottom: z.ZodNumber;
1789
+ left: z.ZodNumber;
1790
+ }, z.core.$strict>>;
1791
+ gap: z.ZodOptional<z.ZodNumber>;
1792
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1793
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1794
+ type: z.ZodLiteral<"color">;
1795
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1796
+ text: "text";
1797
+ background: "background";
1798
+ primary: "primary";
1799
+ muted: "muted";
1800
+ surface: "surface";
1801
+ }>, z.ZodString]>;
1802
+ }, z.core.$strict>, z.ZodObject<{
1803
+ type: z.ZodLiteral<"linear">;
1804
+ angle: z.ZodNumber;
1805
+ stops: z.ZodArray<z.ZodObject<{
1806
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1807
+ text: "text";
1808
+ background: "background";
1809
+ primary: "primary";
1810
+ muted: "muted";
1811
+ surface: "surface";
1812
+ }>, z.ZodString]>;
1813
+ at: z.ZodNumber;
1814
+ }, z.core.$strict>>;
1815
+ }, z.core.$strict>, z.ZodObject<{
1816
+ type: z.ZodLiteral<"image">;
1817
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1818
+ fit: z.ZodEnum<{
1819
+ cover: "cover";
1820
+ contain: "contain";
1821
+ }>;
1822
+ position: z.ZodOptional<z.ZodObject<{
1823
+ x: z.ZodNumber;
1824
+ y: z.ZodNumber;
1825
+ }, z.core.$strict>>;
1826
+ }, z.core.$strict>], "type">>;
1827
+ opacity: z.ZodOptional<z.ZodNumber>;
1828
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1829
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1830
+ type: z.ZodLiteral<"rect">;
1831
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1832
+ topLeft: z.ZodNumber;
1833
+ topRight: z.ZodNumber;
1834
+ bottomRight: z.ZodNumber;
1835
+ bottomLeft: z.ZodNumber;
1836
+ }, z.core.$strict>]>;
1837
+ }, z.core.$strict>, z.ZodObject<{
1838
+ type: z.ZodLiteral<"pill">;
1839
+ }, z.core.$strict>], "type">>;
1840
+ border: z.ZodOptional<z.ZodObject<{
1841
+ width: z.ZodNumber;
1842
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1843
+ text: "text";
1844
+ background: "background";
1845
+ primary: "primary";
1846
+ muted: "muted";
1847
+ surface: "surface";
1848
+ }>, z.ZodString]>;
1849
+ style: z.ZodEnum<{
1850
+ solid: "solid";
1851
+ dashed: "dashed";
1852
+ }>;
1853
+ }, z.core.$strict>>;
1854
+ shadow: z.ZodOptional<z.ZodObject<{
1855
+ x: z.ZodNumber;
1856
+ y: z.ZodNumber;
1857
+ blur: z.ZodNumber;
1858
+ spread: z.ZodNumber;
1859
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1860
+ text: "text";
1861
+ background: "background";
1862
+ primary: "primary";
1863
+ muted: "muted";
1864
+ surface: "surface";
1865
+ }>, z.ZodString]>;
1866
+ }, z.core.$strict>>;
1867
+ text: z.ZodOptional<z.ZodObject<{
1868
+ font: z.ZodOptional<z.ZodEnum<{
1869
+ system: "system";
1870
+ serif: "serif";
1871
+ rounded: "rounded";
1872
+ mono: "mono";
1873
+ }>>;
1874
+ size: z.ZodOptional<z.ZodNumber>;
1875
+ weight: z.ZodOptional<z.ZodNumber>;
1876
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1877
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
1878
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1879
+ text: "text";
1880
+ background: "background";
1881
+ primary: "primary";
1882
+ muted: "muted";
1883
+ surface: "surface";
1884
+ }>, z.ZodString]>>;
1885
+ align: z.ZodOptional<z.ZodEnum<{
1886
+ start: "start";
1887
+ end: "end";
1888
+ center: "center";
1889
+ }>>;
1890
+ italic: z.ZodOptional<z.ZodBoolean>;
1891
+ decoration: z.ZodOptional<z.ZodEnum<{
1892
+ none: "none";
1893
+ underline: "underline";
1894
+ "line-through": "line-through";
1895
+ }>>;
1896
+ transform: z.ZodOptional<z.ZodEnum<{
1897
+ none: "none";
1898
+ uppercase: "uppercase";
1899
+ }>>;
1900
+ }, z.core.$strict>>;
1901
+ }, z.core.$strict>>;
1902
+ }, z.core.$strict>;
1903
+ declare const planPickerNodeSchema: z.ZodObject<{
1904
+ type: z.ZodLiteral<"plan_picker">;
1905
+ label: z.ZodString;
1906
+ fallback: z.ZodString;
1907
+ planIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1908
+ defaultPlan: z.ZodOptional<z.ZodString>;
1909
+ grouping: z.ZodOptional<z.ZodObject<{
1910
+ tiers: z.ZodArray<z.ZodObject<{
1911
+ id: z.ZodString;
1912
+ name: z.ZodString;
1913
+ }, z.core.$strict>>;
1914
+ assignments: z.ZodArray<z.ZodObject<{
1915
+ productVersionId: z.ZodString;
1916
+ tierId: z.ZodString;
1917
+ period: z.ZodEnum<{
1918
+ month: "month";
1919
+ year: "year";
1920
+ }>;
1921
+ }, z.core.$strict>>;
1922
+ monthLabel: z.ZodString;
1923
+ yearLabel: z.ZodString;
1924
+ unavailableLabel: z.ZodString;
1925
+ }, z.core.$strict>>;
1926
+ states: z.ZodOptional<z.ZodObject<{
1927
+ selected: z.ZodOptional<z.ZodObject<{
1928
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1929
+ fill: "fill";
1930
+ fit: "fit";
1931
+ }>, z.ZodNumber]>>;
1932
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1933
+ fill: "fill";
1934
+ fit: "fit";
1935
+ }>, z.ZodNumber]>>;
1936
+ padding: z.ZodOptional<z.ZodObject<{
1937
+ top: z.ZodNumber;
1938
+ right: z.ZodNumber;
1939
+ bottom: z.ZodNumber;
1940
+ left: z.ZodNumber;
1941
+ }, z.core.$strict>>;
1942
+ margin: z.ZodOptional<z.ZodObject<{
1943
+ top: z.ZodNumber;
1944
+ right: z.ZodNumber;
1945
+ bottom: z.ZodNumber;
1946
+ left: z.ZodNumber;
1947
+ }, z.core.$strict>>;
1948
+ gap: z.ZodOptional<z.ZodNumber>;
1949
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
1950
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1951
+ type: z.ZodLiteral<"color">;
1952
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1953
+ text: "text";
1954
+ background: "background";
1955
+ primary: "primary";
1956
+ muted: "muted";
1957
+ surface: "surface";
1958
+ }>, z.ZodString]>;
1959
+ }, z.core.$strict>, z.ZodObject<{
1960
+ type: z.ZodLiteral<"linear">;
1961
+ angle: z.ZodNumber;
1962
+ stops: z.ZodArray<z.ZodObject<{
1963
+ color: z.ZodUnion<readonly [z.ZodEnum<{
1964
+ text: "text";
1965
+ background: "background";
1966
+ primary: "primary";
1967
+ muted: "muted";
1968
+ surface: "surface";
1969
+ }>, z.ZodString]>;
1970
+ at: z.ZodNumber;
1971
+ }, z.core.$strict>>;
1972
+ }, z.core.$strict>, z.ZodObject<{
1973
+ type: z.ZodLiteral<"image">;
1974
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
1975
+ fit: z.ZodEnum<{
1976
+ cover: "cover";
1977
+ contain: "contain";
1978
+ }>;
1979
+ position: z.ZodOptional<z.ZodObject<{
1980
+ x: z.ZodNumber;
1981
+ y: z.ZodNumber;
1982
+ }, z.core.$strict>>;
1983
+ }, z.core.$strict>], "type">>;
1984
+ opacity: z.ZodOptional<z.ZodNumber>;
1985
+ clipContent: z.ZodOptional<z.ZodBoolean>;
1986
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1987
+ type: z.ZodLiteral<"rect">;
1988
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1989
+ topLeft: z.ZodNumber;
1990
+ topRight: z.ZodNumber;
1991
+ bottomRight: z.ZodNumber;
1992
+ bottomLeft: z.ZodNumber;
1993
+ }, z.core.$strict>]>;
1994
+ }, z.core.$strict>, z.ZodObject<{
1995
+ type: z.ZodLiteral<"pill">;
1996
+ }, z.core.$strict>], "type">>;
1997
+ border: z.ZodOptional<z.ZodObject<{
1998
+ width: z.ZodNumber;
1999
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2000
+ text: "text";
2001
+ background: "background";
2002
+ primary: "primary";
2003
+ muted: "muted";
2004
+ surface: "surface";
2005
+ }>, z.ZodString]>;
2006
+ style: z.ZodEnum<{
2007
+ solid: "solid";
2008
+ dashed: "dashed";
2009
+ }>;
2010
+ }, z.core.$strict>>;
2011
+ shadow: z.ZodOptional<z.ZodObject<{
2012
+ x: z.ZodNumber;
2013
+ y: z.ZodNumber;
2014
+ blur: z.ZodNumber;
2015
+ spread: z.ZodNumber;
2016
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2017
+ text: "text";
2018
+ background: "background";
2019
+ primary: "primary";
2020
+ muted: "muted";
2021
+ surface: "surface";
2022
+ }>, z.ZodString]>;
2023
+ }, z.core.$strict>>;
2024
+ text: z.ZodOptional<z.ZodObject<{
2025
+ font: z.ZodOptional<z.ZodEnum<{
2026
+ system: "system";
2027
+ serif: "serif";
2028
+ rounded: "rounded";
2029
+ mono: "mono";
2030
+ }>>;
2031
+ size: z.ZodOptional<z.ZodNumber>;
2032
+ weight: z.ZodOptional<z.ZodNumber>;
2033
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2034
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2035
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2036
+ text: "text";
2037
+ background: "background";
2038
+ primary: "primary";
2039
+ muted: "muted";
2040
+ surface: "surface";
2041
+ }>, z.ZodString]>>;
2042
+ align: z.ZodOptional<z.ZodEnum<{
2043
+ start: "start";
2044
+ end: "end";
2045
+ center: "center";
2046
+ }>>;
2047
+ italic: z.ZodOptional<z.ZodBoolean>;
2048
+ decoration: z.ZodOptional<z.ZodEnum<{
2049
+ none: "none";
2050
+ underline: "underline";
2051
+ "line-through": "line-through";
2052
+ }>>;
2053
+ transform: z.ZodOptional<z.ZodEnum<{
2054
+ none: "none";
2055
+ uppercase: "uppercase";
2056
+ }>>;
2057
+ }, z.core.$strict>>;
2058
+ }, z.core.$strict>>;
2059
+ }, z.core.$strict>>;
2060
+ id: z.ZodString;
2061
+ name: z.ZodOptional<z.ZodString>;
2062
+ hidden: z.ZodOptional<z.ZodBoolean>;
2063
+ style: z.ZodOptional<z.ZodObject<{
2064
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2065
+ fill: "fill";
2066
+ fit: "fit";
2067
+ }>, z.ZodNumber]>>;
2068
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2069
+ fill: "fill";
2070
+ fit: "fit";
2071
+ }>, z.ZodNumber]>>;
2072
+ padding: z.ZodOptional<z.ZodObject<{
2073
+ top: z.ZodNumber;
2074
+ right: z.ZodNumber;
2075
+ bottom: z.ZodNumber;
2076
+ left: z.ZodNumber;
2077
+ }, z.core.$strict>>;
2078
+ margin: z.ZodOptional<z.ZodObject<{
2079
+ top: z.ZodNumber;
2080
+ right: z.ZodNumber;
2081
+ bottom: z.ZodNumber;
2082
+ left: z.ZodNumber;
2083
+ }, z.core.$strict>>;
2084
+ gap: z.ZodOptional<z.ZodNumber>;
2085
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
2086
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2087
+ type: z.ZodLiteral<"color">;
2088
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2089
+ text: "text";
2090
+ background: "background";
2091
+ primary: "primary";
2092
+ muted: "muted";
2093
+ surface: "surface";
2094
+ }>, z.ZodString]>;
2095
+ }, z.core.$strict>, z.ZodObject<{
2096
+ type: z.ZodLiteral<"linear">;
2097
+ angle: z.ZodNumber;
2098
+ stops: z.ZodArray<z.ZodObject<{
2099
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2100
+ text: "text";
2101
+ background: "background";
2102
+ primary: "primary";
2103
+ muted: "muted";
2104
+ surface: "surface";
2105
+ }>, z.ZodString]>;
2106
+ at: z.ZodNumber;
2107
+ }, z.core.$strict>>;
2108
+ }, z.core.$strict>, z.ZodObject<{
2109
+ type: z.ZodLiteral<"image">;
2110
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
2111
+ fit: z.ZodEnum<{
2112
+ cover: "cover";
2113
+ contain: "contain";
2114
+ }>;
2115
+ position: z.ZodOptional<z.ZodObject<{
2116
+ x: z.ZodNumber;
2117
+ y: z.ZodNumber;
2118
+ }, z.core.$strict>>;
2119
+ }, z.core.$strict>], "type">>;
2120
+ opacity: z.ZodOptional<z.ZodNumber>;
2121
+ clipContent: z.ZodOptional<z.ZodBoolean>;
2122
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2123
+ type: z.ZodLiteral<"rect">;
2124
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2125
+ topLeft: z.ZodNumber;
2126
+ topRight: z.ZodNumber;
2127
+ bottomRight: z.ZodNumber;
2128
+ bottomLeft: z.ZodNumber;
2129
+ }, z.core.$strict>]>;
2130
+ }, z.core.$strict>, z.ZodObject<{
2131
+ type: z.ZodLiteral<"pill">;
2132
+ }, z.core.$strict>], "type">>;
2133
+ border: z.ZodOptional<z.ZodObject<{
2134
+ width: z.ZodNumber;
2135
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2136
+ text: "text";
2137
+ background: "background";
2138
+ primary: "primary";
2139
+ muted: "muted";
2140
+ surface: "surface";
2141
+ }>, z.ZodString]>;
2142
+ style: z.ZodEnum<{
2143
+ solid: "solid";
2144
+ dashed: "dashed";
2145
+ }>;
2146
+ }, z.core.$strict>>;
2147
+ shadow: z.ZodOptional<z.ZodObject<{
2148
+ x: z.ZodNumber;
2149
+ y: z.ZodNumber;
2150
+ blur: z.ZodNumber;
2151
+ spread: z.ZodNumber;
2152
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2153
+ text: "text";
2154
+ background: "background";
2155
+ primary: "primary";
2156
+ muted: "muted";
2157
+ surface: "surface";
2158
+ }>, z.ZodString]>;
2159
+ }, z.core.$strict>>;
2160
+ text: z.ZodOptional<z.ZodObject<{
2161
+ font: z.ZodOptional<z.ZodEnum<{
2162
+ system: "system";
2163
+ serif: "serif";
2164
+ rounded: "rounded";
2165
+ mono: "mono";
2166
+ }>>;
2167
+ size: z.ZodOptional<z.ZodNumber>;
2168
+ weight: z.ZodOptional<z.ZodNumber>;
2169
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2170
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2171
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2172
+ text: "text";
2173
+ background: "background";
2174
+ primary: "primary";
2175
+ muted: "muted";
2176
+ surface: "surface";
2177
+ }>, z.ZodString]>>;
2178
+ align: z.ZodOptional<z.ZodEnum<{
2179
+ start: "start";
2180
+ end: "end";
2181
+ center: "center";
2182
+ }>>;
2183
+ italic: z.ZodOptional<z.ZodBoolean>;
2184
+ decoration: z.ZodOptional<z.ZodEnum<{
2185
+ none: "none";
2186
+ underline: "underline";
2187
+ "line-through": "line-through";
2188
+ }>>;
2189
+ transform: z.ZodOptional<z.ZodEnum<{
2190
+ none: "none";
2191
+ uppercase: "uppercase";
2192
+ }>>;
2193
+ }, z.core.$strict>>;
2194
+ }, z.core.$strict>>;
2195
+ }, z.core.$strict>;
2196
+ /** Purchased pack selection; catalog terms remain the commercial authority. */
2197
+ declare const quantityPickerNodeSchema: z.ZodObject<{
2198
+ type: z.ZodLiteral<"quantity_picker">;
2199
+ bind: z.ZodOptional<z.ZodObject<{
2200
+ plan: z.ZodOptional<z.ZodString>;
2201
+ coupon: z.ZodOptional<z.ZodUUID>;
2202
+ promotionCode: z.ZodOptional<z.ZodUUID>;
2203
+ picker: z.ZodOptional<z.ZodString>;
2204
+ }, z.core.$strict>>;
2205
+ label: z.ZodString;
2206
+ fallback: z.ZodString;
2207
+ internalFeatureId: z.ZodUUID;
2208
+ minimumQuantity: z.ZodNumber;
2209
+ maximumQuantity: z.ZodNumber;
2210
+ defaultQuantity: z.ZodNumber;
2211
+ step: z.ZodNumber;
2212
+ id: z.ZodString;
2213
+ name: z.ZodOptional<z.ZodString>;
2214
+ hidden: z.ZodOptional<z.ZodBoolean>;
2215
+ style: z.ZodOptional<z.ZodObject<{
2216
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2217
+ fill: "fill";
2218
+ fit: "fit";
2219
+ }>, z.ZodNumber]>>;
2220
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2221
+ fill: "fill";
2222
+ fit: "fit";
2223
+ }>, z.ZodNumber]>>;
2224
+ padding: z.ZodOptional<z.ZodObject<{
2225
+ top: z.ZodNumber;
2226
+ right: z.ZodNumber;
2227
+ bottom: z.ZodNumber;
2228
+ left: z.ZodNumber;
2229
+ }, z.core.$strict>>;
2230
+ margin: z.ZodOptional<z.ZodObject<{
2231
+ top: z.ZodNumber;
2232
+ right: z.ZodNumber;
2233
+ bottom: z.ZodNumber;
2234
+ left: z.ZodNumber;
2235
+ }, z.core.$strict>>;
2236
+ gap: z.ZodOptional<z.ZodNumber>;
2237
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
2238
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2239
+ type: z.ZodLiteral<"color">;
2240
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2241
+ text: "text";
2242
+ background: "background";
2243
+ primary: "primary";
2244
+ muted: "muted";
2245
+ surface: "surface";
2246
+ }>, z.ZodString]>;
2247
+ }, z.core.$strict>, z.ZodObject<{
2248
+ type: z.ZodLiteral<"linear">;
2249
+ angle: z.ZodNumber;
2250
+ stops: z.ZodArray<z.ZodObject<{
2251
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2252
+ text: "text";
2253
+ background: "background";
2254
+ primary: "primary";
2255
+ muted: "muted";
2256
+ surface: "surface";
2257
+ }>, z.ZodString]>;
2258
+ at: z.ZodNumber;
2259
+ }, z.core.$strict>>;
2260
+ }, z.core.$strict>, z.ZodObject<{
2261
+ type: z.ZodLiteral<"image">;
2262
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
2263
+ fit: z.ZodEnum<{
2264
+ cover: "cover";
2265
+ contain: "contain";
2266
+ }>;
2267
+ position: z.ZodOptional<z.ZodObject<{
2268
+ x: z.ZodNumber;
2269
+ y: z.ZodNumber;
2270
+ }, z.core.$strict>>;
2271
+ }, z.core.$strict>], "type">>;
2272
+ opacity: z.ZodOptional<z.ZodNumber>;
2273
+ clipContent: z.ZodOptional<z.ZodBoolean>;
2274
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2275
+ type: z.ZodLiteral<"rect">;
2276
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2277
+ topLeft: z.ZodNumber;
2278
+ topRight: z.ZodNumber;
2279
+ bottomRight: z.ZodNumber;
2280
+ bottomLeft: z.ZodNumber;
2281
+ }, z.core.$strict>]>;
2282
+ }, z.core.$strict>, z.ZodObject<{
2283
+ type: z.ZodLiteral<"pill">;
2284
+ }, z.core.$strict>], "type">>;
2285
+ border: z.ZodOptional<z.ZodObject<{
2286
+ width: z.ZodNumber;
2287
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2288
+ text: "text";
2289
+ background: "background";
2290
+ primary: "primary";
2291
+ muted: "muted";
2292
+ surface: "surface";
2293
+ }>, z.ZodString]>;
2294
+ style: z.ZodEnum<{
2295
+ solid: "solid";
2296
+ dashed: "dashed";
2297
+ }>;
2298
+ }, z.core.$strict>>;
2299
+ shadow: z.ZodOptional<z.ZodObject<{
2300
+ x: z.ZodNumber;
2301
+ y: z.ZodNumber;
2302
+ blur: z.ZodNumber;
2303
+ spread: z.ZodNumber;
2304
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2305
+ text: "text";
2306
+ background: "background";
2307
+ primary: "primary";
2308
+ muted: "muted";
2309
+ surface: "surface";
2310
+ }>, z.ZodString]>;
2311
+ }, z.core.$strict>>;
2312
+ text: z.ZodOptional<z.ZodObject<{
2313
+ font: z.ZodOptional<z.ZodEnum<{
2314
+ system: "system";
2315
+ serif: "serif";
2316
+ rounded: "rounded";
2317
+ mono: "mono";
2318
+ }>>;
2319
+ size: z.ZodOptional<z.ZodNumber>;
2320
+ weight: z.ZodOptional<z.ZodNumber>;
2321
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2322
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2323
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2324
+ text: "text";
2325
+ background: "background";
2326
+ primary: "primary";
2327
+ muted: "muted";
2328
+ surface: "surface";
2329
+ }>, z.ZodString]>>;
2330
+ align: z.ZodOptional<z.ZodEnum<{
2331
+ start: "start";
2332
+ end: "end";
2333
+ center: "center";
2334
+ }>>;
2335
+ italic: z.ZodOptional<z.ZodBoolean>;
2336
+ decoration: z.ZodOptional<z.ZodEnum<{
2337
+ none: "none";
2338
+ underline: "underline";
2339
+ "line-through": "line-through";
2340
+ }>>;
2341
+ transform: z.ZodOptional<z.ZodEnum<{
2342
+ none: "none";
2343
+ uppercase: "uppercase";
2344
+ }>>;
2345
+ }, z.core.$strict>>;
2346
+ }, z.core.$strict>>;
2347
+ }, z.core.$strict>;
2348
+ type QuantityPickerNode = z.infer<typeof quantityPickerNodeSchema>;
2349
+ type PriceNode = z.infer<typeof priceNodeSchema>;
2350
+ type CouponCodeNode = z.infer<typeof couponCodeNodeSchema>;
2351
+ type CountdownNode = z.infer<typeof countdownNodeSchema>;
2352
+ type PlanPickerNode = z.infer<typeof planPickerNodeSchema>;
2353
+ type TextNode = z.infer<typeof textNodeSchema>;
2354
+ type ImageNode = z.infer<typeof imageNodeSchema>;
2355
+ type ButtonNode = z.infer<typeof buttonNodeSchema>;
2356
+ type DividerNode = z.infer<typeof dividerNodeSchema>;
2357
+ type SpacerNode = z.infer<typeof spacerNodeSchema>;
2358
+ type CustomHtmlNode = z.infer<typeof customHtmlNodeSchema>;
2359
+ /** Display selections only. Never use these values as payment, eligibility, price, or customer authentication. */
2360
+ type ScreenSelection = Record<string, string | boolean | number>;
2361
+ declare const stackNodeFields: {
2362
+ type: z.ZodLiteral<"stack">;
2363
+ direction: z.ZodEnum<{
2364
+ vertical: "vertical";
2365
+ horizontal: "horizontal";
2366
+ overlay: "overlay";
2367
+ }>;
2368
+ align: z.ZodEnum<{
2369
+ start: "start";
2370
+ end: "end";
2371
+ center: "center";
2372
+ stretch: "stretch";
2373
+ }>;
2374
+ justify: z.ZodEnum<{
2375
+ start: "start";
2376
+ end: "end";
2377
+ center: "center";
2378
+ between: "between";
2379
+ }>;
2380
+ productSlot: z.ZodOptional<z.ZodObject<{
2381
+ index: z.ZodNumber;
2382
+ period: z.ZodOptional<z.ZodEnum<{
2383
+ month: "month";
2384
+ year: "year";
2385
+ }>>;
2386
+ requireBinding: z.ZodOptional<z.ZodBoolean>;
2387
+ }, z.core.$strict>>;
2388
+ interaction: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2389
+ type: z.ZodLiteral<"input">;
2390
+ label: z.ZodString;
2391
+ keyboard: z.ZodEnum<{
2392
+ text: "text";
2393
+ email: "email";
2394
+ url: "url";
2395
+ tel: "tel";
2396
+ }>;
2397
+ maxLength: z.ZodNumber;
2398
+ }, z.core.$strict>, z.ZodObject<{
2399
+ type: z.ZodLiteral<"multiselect">;
2400
+ label: z.ZodString;
2401
+ min: z.ZodNumber;
2402
+ max: z.ZodNumber;
2403
+ }, z.core.$strict>, z.ZodObject<{
2404
+ type: z.ZodLiteral<"select">;
2405
+ label: z.ZodString;
2406
+ defaultIndex: z.ZodNumber;
2407
+ purpose: z.ZodOptional<z.ZodEnum<{
2408
+ product: "product";
2409
+ tier: "tier";
2410
+ option: "option";
2411
+ }>>;
2412
+ pickerId: z.ZodOptional<z.ZodString>;
2413
+ selectedStyle: z.ZodOptional<z.ZodObject<{
2414
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2415
+ fill: "fill";
2416
+ fit: "fit";
2417
+ }>, z.ZodNumber]>>;
2418
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2419
+ fill: "fill";
2420
+ fit: "fit";
2421
+ }>, z.ZodNumber]>>;
2422
+ padding: z.ZodOptional<z.ZodObject<{
2423
+ top: z.ZodNumber;
2424
+ right: z.ZodNumber;
2425
+ bottom: z.ZodNumber;
2426
+ left: z.ZodNumber;
2427
+ }, z.core.$strict>>;
2428
+ margin: z.ZodOptional<z.ZodObject<{
2429
+ top: z.ZodNumber;
2430
+ right: z.ZodNumber;
2431
+ bottom: z.ZodNumber;
2432
+ left: z.ZodNumber;
2433
+ }, z.core.$strict>>;
2434
+ gap: z.ZodOptional<z.ZodNumber>;
2435
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
2436
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2437
+ type: z.ZodLiteral<"color">;
2438
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2439
+ text: "text";
2440
+ background: "background";
2441
+ primary: "primary";
2442
+ muted: "muted";
2443
+ surface: "surface";
2444
+ }>, z.ZodString]>;
2445
+ }, z.core.$strict>, z.ZodObject<{
2446
+ type: z.ZodLiteral<"linear">;
2447
+ angle: z.ZodNumber;
2448
+ stops: z.ZodArray<z.ZodObject<{
2449
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2450
+ text: "text";
2451
+ background: "background";
2452
+ primary: "primary";
2453
+ muted: "muted";
2454
+ surface: "surface";
2455
+ }>, z.ZodString]>;
2456
+ at: z.ZodNumber;
2457
+ }, z.core.$strict>>;
2458
+ }, z.core.$strict>, z.ZodObject<{
2459
+ type: z.ZodLiteral<"image">;
2460
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
2461
+ fit: z.ZodEnum<{
2462
+ cover: "cover";
2463
+ contain: "contain";
2464
+ }>;
2465
+ position: z.ZodOptional<z.ZodObject<{
2466
+ x: z.ZodNumber;
2467
+ y: z.ZodNumber;
2468
+ }, z.core.$strict>>;
2469
+ }, z.core.$strict>], "type">>;
2470
+ opacity: z.ZodOptional<z.ZodNumber>;
2471
+ clipContent: z.ZodOptional<z.ZodBoolean>;
2472
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2473
+ type: z.ZodLiteral<"rect">;
2474
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2475
+ topLeft: z.ZodNumber;
2476
+ topRight: z.ZodNumber;
2477
+ bottomRight: z.ZodNumber;
2478
+ bottomLeft: z.ZodNumber;
2479
+ }, z.core.$strict>]>;
2480
+ }, z.core.$strict>, z.ZodObject<{
2481
+ type: z.ZodLiteral<"pill">;
2482
+ }, z.core.$strict>], "type">>;
2483
+ border: z.ZodOptional<z.ZodObject<{
2484
+ width: z.ZodNumber;
2485
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2486
+ text: "text";
2487
+ background: "background";
2488
+ primary: "primary";
2489
+ muted: "muted";
2490
+ surface: "surface";
2491
+ }>, z.ZodString]>;
2492
+ style: z.ZodEnum<{
2493
+ solid: "solid";
2494
+ dashed: "dashed";
2495
+ }>;
2496
+ }, z.core.$strict>>;
2497
+ shadow: z.ZodOptional<z.ZodObject<{
2498
+ x: z.ZodNumber;
2499
+ y: z.ZodNumber;
2500
+ blur: z.ZodNumber;
2501
+ spread: z.ZodNumber;
2502
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2503
+ text: "text";
2504
+ background: "background";
2505
+ primary: "primary";
2506
+ muted: "muted";
2507
+ surface: "surface";
2508
+ }>, z.ZodString]>;
2509
+ }, z.core.$strict>>;
2510
+ text: z.ZodOptional<z.ZodObject<{
2511
+ font: z.ZodOptional<z.ZodEnum<{
2512
+ system: "system";
2513
+ serif: "serif";
2514
+ rounded: "rounded";
2515
+ mono: "mono";
2516
+ }>>;
2517
+ size: z.ZodOptional<z.ZodNumber>;
2518
+ weight: z.ZodOptional<z.ZodNumber>;
2519
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2520
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2521
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2522
+ text: "text";
2523
+ background: "background";
2524
+ primary: "primary";
2525
+ muted: "muted";
2526
+ surface: "surface";
2527
+ }>, z.ZodString]>>;
2528
+ align: z.ZodOptional<z.ZodEnum<{
2529
+ start: "start";
2530
+ end: "end";
2531
+ center: "center";
2532
+ }>>;
2533
+ italic: z.ZodOptional<z.ZodBoolean>;
2534
+ decoration: z.ZodOptional<z.ZodEnum<{
2535
+ none: "none";
2536
+ underline: "underline";
2537
+ "line-through": "line-through";
2538
+ }>>;
2539
+ transform: z.ZodOptional<z.ZodEnum<{
2540
+ none: "none";
2541
+ uppercase: "uppercase";
2542
+ }>>;
2543
+ }, z.core.$strict>>;
2544
+ }, z.core.$strict>>;
2545
+ }, z.core.$strict>, z.ZodObject<{
2546
+ type: z.ZodLiteral<"tabs">;
2547
+ label: z.ZodString;
2548
+ defaultIndex: z.ZodNumber;
2549
+ purpose: z.ZodOptional<z.ZodLiteral<"tier">>;
2550
+ }, z.core.$strict>, z.ZodObject<{
2551
+ type: z.ZodLiteral<"toggle">;
2552
+ label: z.ZodString;
2553
+ defaultEnabled: z.ZodBoolean;
2554
+ }, z.core.$strict>, z.ZodObject<{
2555
+ type: z.ZodLiteral<"carousel">;
2556
+ label: z.ZodString;
2557
+ }, z.core.$strict>], "type">>;
2558
+ states: z.ZodOptional<z.ZodObject<{
2559
+ selected: z.ZodOptional<z.ZodObject<{
2560
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2561
+ fill: "fill";
2562
+ fit: "fit";
2563
+ }>, z.ZodNumber]>>;
2564
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2565
+ fill: "fill";
2566
+ fit: "fit";
2567
+ }>, z.ZodNumber]>>;
2568
+ padding: z.ZodOptional<z.ZodObject<{
2569
+ top: z.ZodNumber;
2570
+ right: z.ZodNumber;
2571
+ bottom: z.ZodNumber;
2572
+ left: z.ZodNumber;
2573
+ }, z.core.$strict>>;
2574
+ margin: z.ZodOptional<z.ZodObject<{
2575
+ top: z.ZodNumber;
2576
+ right: z.ZodNumber;
2577
+ bottom: z.ZodNumber;
2578
+ left: z.ZodNumber;
2579
+ }, z.core.$strict>>;
2580
+ gap: z.ZodOptional<z.ZodNumber>;
2581
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
2582
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2583
+ type: z.ZodLiteral<"color">;
2584
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2585
+ text: "text";
2586
+ background: "background";
2587
+ primary: "primary";
2588
+ muted: "muted";
2589
+ surface: "surface";
2590
+ }>, z.ZodString]>;
2591
+ }, z.core.$strict>, z.ZodObject<{
2592
+ type: z.ZodLiteral<"linear">;
2593
+ angle: z.ZodNumber;
2594
+ stops: z.ZodArray<z.ZodObject<{
2595
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2596
+ text: "text";
2597
+ background: "background";
2598
+ primary: "primary";
2599
+ muted: "muted";
2600
+ surface: "surface";
2601
+ }>, z.ZodString]>;
2602
+ at: z.ZodNumber;
2603
+ }, z.core.$strict>>;
2604
+ }, z.core.$strict>, z.ZodObject<{
2605
+ type: z.ZodLiteral<"image">;
2606
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
2607
+ fit: z.ZodEnum<{
2608
+ cover: "cover";
2609
+ contain: "contain";
2610
+ }>;
2611
+ position: z.ZodOptional<z.ZodObject<{
2612
+ x: z.ZodNumber;
2613
+ y: z.ZodNumber;
2614
+ }, z.core.$strict>>;
2615
+ }, z.core.$strict>], "type">>;
2616
+ opacity: z.ZodOptional<z.ZodNumber>;
2617
+ clipContent: z.ZodOptional<z.ZodBoolean>;
2618
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2619
+ type: z.ZodLiteral<"rect">;
2620
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2621
+ topLeft: z.ZodNumber;
2622
+ topRight: z.ZodNumber;
2623
+ bottomRight: z.ZodNumber;
2624
+ bottomLeft: z.ZodNumber;
2625
+ }, z.core.$strict>]>;
2626
+ }, z.core.$strict>, z.ZodObject<{
2627
+ type: z.ZodLiteral<"pill">;
2628
+ }, z.core.$strict>], "type">>;
2629
+ border: z.ZodOptional<z.ZodObject<{
2630
+ width: z.ZodNumber;
2631
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2632
+ text: "text";
2633
+ background: "background";
2634
+ primary: "primary";
2635
+ muted: "muted";
2636
+ surface: "surface";
2637
+ }>, z.ZodString]>;
2638
+ style: z.ZodEnum<{
2639
+ solid: "solid";
2640
+ dashed: "dashed";
2641
+ }>;
2642
+ }, z.core.$strict>>;
2643
+ shadow: z.ZodOptional<z.ZodObject<{
2644
+ x: z.ZodNumber;
2645
+ y: z.ZodNumber;
2646
+ blur: z.ZodNumber;
2647
+ spread: z.ZodNumber;
2648
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2649
+ text: "text";
2650
+ background: "background";
2651
+ primary: "primary";
2652
+ muted: "muted";
2653
+ surface: "surface";
2654
+ }>, z.ZodString]>;
2655
+ }, z.core.$strict>>;
2656
+ text: z.ZodOptional<z.ZodObject<{
2657
+ font: z.ZodOptional<z.ZodEnum<{
2658
+ system: "system";
2659
+ serif: "serif";
2660
+ rounded: "rounded";
2661
+ mono: "mono";
2662
+ }>>;
2663
+ size: z.ZodOptional<z.ZodNumber>;
2664
+ weight: z.ZodOptional<z.ZodNumber>;
2665
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2666
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2667
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2668
+ text: "text";
2669
+ background: "background";
2670
+ primary: "primary";
2671
+ muted: "muted";
2672
+ surface: "surface";
2673
+ }>, z.ZodString]>>;
2674
+ align: z.ZodOptional<z.ZodEnum<{
2675
+ start: "start";
2676
+ end: "end";
2677
+ center: "center";
2678
+ }>>;
2679
+ italic: z.ZodOptional<z.ZodBoolean>;
2680
+ decoration: z.ZodOptional<z.ZodEnum<{
2681
+ none: "none";
2682
+ underline: "underline";
2683
+ "line-through": "line-through";
2684
+ }>>;
2685
+ transform: z.ZodOptional<z.ZodEnum<{
2686
+ none: "none";
2687
+ uppercase: "uppercase";
2688
+ }>>;
2689
+ }, z.core.$strict>>;
2690
+ }, z.core.$strict>>;
2691
+ }, z.core.$strict>>;
2692
+ purpose: z.ZodOptional<z.ZodLiteral<"benefits">>;
2693
+ purchaseAction: z.ZodOptional<z.ZodString>;
2694
+ buttonVariant: z.ZodOptional<z.ZodEnum<{
2695
+ link: "link";
2696
+ primary: "primary";
2697
+ secondary: "secondary";
2698
+ }>>;
2699
+ bind: z.ZodOptional<z.ZodObject<{
2700
+ plan: z.ZodOptional<z.ZodString>;
2701
+ coupon: z.ZodOptional<z.ZodUUID>;
2702
+ promotionCode: z.ZodOptional<z.ZodUUID>;
2703
+ picker: z.ZodOptional<z.ZodString>;
2704
+ }, z.core.$strict>>;
2705
+ id: z.ZodString;
2706
+ /** 图层树里的显示名;为空时编辑器用内容摘要。 */
2707
+ name: z.ZodOptional<z.ZodString>;
2708
+ /** 隐藏的组件不渲染,但保留在文档里(图层树里的眼睛开关)。 */
2709
+ hidden: z.ZodOptional<z.ZodBoolean>;
2710
+ style: z.ZodOptional<z.ZodObject<{
2711
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2712
+ fill: "fill";
2713
+ fit: "fit";
2714
+ }>, z.ZodNumber]>>;
2715
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2716
+ fill: "fill";
2717
+ fit: "fit";
2718
+ }>, z.ZodNumber]>>;
2719
+ padding: z.ZodOptional<z.ZodObject<{
2720
+ top: z.ZodNumber;
2721
+ right: z.ZodNumber;
2722
+ bottom: z.ZodNumber;
2723
+ left: z.ZodNumber;
2724
+ }, z.core.$strict>>;
2725
+ margin: z.ZodOptional<z.ZodObject<{
2726
+ top: z.ZodNumber;
2727
+ right: z.ZodNumber;
2728
+ bottom: z.ZodNumber;
2729
+ left: z.ZodNumber;
2730
+ }, z.core.$strict>>;
2731
+ gap: z.ZodOptional<z.ZodNumber>;
2732
+ grow: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
2733
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2734
+ type: z.ZodLiteral<"color">;
2735
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2736
+ text: "text";
2737
+ background: "background";
2738
+ primary: "primary";
2739
+ muted: "muted";
2740
+ surface: "surface";
2741
+ }>, z.ZodString]>;
2742
+ }, z.core.$strict>, z.ZodObject<{
2743
+ type: z.ZodLiteral<"linear">;
2744
+ angle: z.ZodNumber;
2745
+ stops: z.ZodArray<z.ZodObject<{
2746
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2747
+ text: "text";
2748
+ background: "background";
2749
+ primary: "primary";
2750
+ muted: "muted";
2751
+ surface: "surface";
2752
+ }>, z.ZodString]>;
2753
+ at: z.ZodNumber;
2754
+ }, z.core.$strict>>;
2755
+ }, z.core.$strict>, z.ZodObject<{
2756
+ type: z.ZodLiteral<"image">;
2757
+ src: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
2758
+ fit: z.ZodEnum<{
2759
+ cover: "cover";
2760
+ contain: "contain";
2761
+ }>;
2762
+ position: z.ZodOptional<z.ZodObject<{
2763
+ x: z.ZodNumber;
2764
+ y: z.ZodNumber;
2765
+ }, z.core.$strict>>;
2766
+ }, z.core.$strict>], "type">>;
2767
+ opacity: z.ZodOptional<z.ZodNumber>;
2768
+ clipContent: z.ZodOptional<z.ZodBoolean>;
2769
+ shape: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2770
+ type: z.ZodLiteral<"rect">;
2771
+ radius: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2772
+ topLeft: z.ZodNumber;
2773
+ topRight: z.ZodNumber;
2774
+ bottomRight: z.ZodNumber;
2775
+ bottomLeft: z.ZodNumber;
2776
+ }, z.core.$strict>]>;
2777
+ }, z.core.$strict>, z.ZodObject<{
2778
+ type: z.ZodLiteral<"pill">;
2779
+ }, z.core.$strict>], "type">>;
2780
+ border: z.ZodOptional<z.ZodObject<{
2781
+ width: z.ZodNumber;
2782
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2783
+ text: "text";
2784
+ background: "background";
2785
+ primary: "primary";
2786
+ muted: "muted";
2787
+ surface: "surface";
2788
+ }>, z.ZodString]>;
2789
+ style: z.ZodEnum<{
2790
+ solid: "solid";
2791
+ dashed: "dashed";
2792
+ }>;
2793
+ }, z.core.$strict>>;
2794
+ shadow: z.ZodOptional<z.ZodObject<{
2795
+ x: z.ZodNumber;
2796
+ y: z.ZodNumber;
2797
+ blur: z.ZodNumber;
2798
+ spread: z.ZodNumber;
2799
+ color: z.ZodUnion<readonly [z.ZodEnum<{
2800
+ text: "text";
2801
+ background: "background";
2802
+ primary: "primary";
2803
+ muted: "muted";
2804
+ surface: "surface";
2805
+ }>, z.ZodString]>;
2806
+ }, z.core.$strict>>;
2807
+ text: z.ZodOptional<z.ZodObject<{
2808
+ font: z.ZodOptional<z.ZodEnum<{
2809
+ system: "system";
2810
+ serif: "serif";
2811
+ rounded: "rounded";
2812
+ mono: "mono";
2813
+ }>>;
2814
+ size: z.ZodOptional<z.ZodNumber>;
2815
+ weight: z.ZodOptional<z.ZodNumber>;
2816
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2817
+ letterSpacing: z.ZodOptional<z.ZodNumber>;
2818
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2819
+ text: "text";
2820
+ background: "background";
2821
+ primary: "primary";
2822
+ muted: "muted";
2823
+ surface: "surface";
2824
+ }>, z.ZodString]>>;
2825
+ align: z.ZodOptional<z.ZodEnum<{
2826
+ start: "start";
2827
+ end: "end";
2828
+ center: "center";
2829
+ }>>;
2830
+ italic: z.ZodOptional<z.ZodBoolean>;
2831
+ decoration: z.ZodOptional<z.ZodEnum<{
2832
+ none: "none";
2833
+ underline: "underline";
2834
+ "line-through": "line-through";
2835
+ }>>;
2836
+ transform: z.ZodOptional<z.ZodEnum<{
2837
+ none: "none";
2838
+ uppercase: "uppercase";
2839
+ }>>;
2840
+ }, z.core.$strict>>;
2841
+ }, z.core.$strict>>;
2842
+ fallback: z.ZodOptional<z.ZodString>;
2843
+ };
2844
+ type StackNode = z.infer<z.ZodObject<typeof stackNodeFields>> & {
2845
+ children: ScreenNode[];
2846
+ };
2847
+ type ScreenNode = StackNode | TextNode | ImageNode | ButtonNode | DividerNode | SpacerNode | CustomHtmlNode | PriceNode | CouponCodeNode | CountdownNode | PlanPickerNode | QuantityPickerNode | CustomerDataNode;
2848
+ declare const screenActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2849
+ type: z.ZodLiteral<"navigate">;
2850
+ close: z.ZodLiteral<false>;
2851
+ pageId: z.ZodString;
2852
+ id: z.ZodString;
2853
+ event: z.ZodString;
2854
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2855
+ }, z.core.$strict>, z.ZodObject<{
2856
+ type: z.ZodLiteral<"event">;
2857
+ close: z.ZodBoolean;
2858
+ id: z.ZodString;
2859
+ event: z.ZodString;
2860
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2861
+ }, z.core.$strict>, z.ZodObject<{
2862
+ type: z.ZodLiteral<"close">;
2863
+ close: z.ZodLiteral<true>;
2864
+ id: z.ZodString;
2865
+ event: z.ZodString;
2866
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2867
+ }, z.core.$strict>, z.ZodObject<{
2868
+ type: z.ZodLiteral<"open_url">;
2869
+ close: z.ZodBoolean;
2870
+ url: z.ZodString;
2871
+ id: z.ZodString;
2872
+ event: z.ZodString;
2873
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2874
+ }, z.core.$strict>, z.ZodObject<{
2875
+ type: z.ZodLiteral<"claim_offer">;
2876
+ close: z.ZodBoolean;
2877
+ couponId: z.ZodUUID;
2878
+ id: z.ZodString;
2879
+ event: z.ZodString;
2880
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2881
+ }, z.core.$strict>], "type">;
2882
+ type ScreenAction = z.infer<typeof screenActionSchema>;
2883
+ declare const screenDocumentShape: z.ZodObject<{
2884
+ kind: z.ZodLiteral<"screen">;
2885
+ schemaVersion: z.ZodLiteral<4>;
2886
+ name: z.ZodString;
2887
+ surface: z.ZodEnum<{
2888
+ paywall: "paywall";
2889
+ popup: "popup";
2890
+ onboarding: "onboarding";
2891
+ page: "page";
2892
+ banner: "banner";
2893
+ }>;
2894
+ initialPageId: z.ZodOptional<z.ZodString>;
2895
+ presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
2896
+ type: z.ZodLiteral<"modal">;
2897
+ size: z.ZodEnum<{
2898
+ sm: "sm";
2899
+ md: "md";
2900
+ lg: "lg";
2901
+ }>;
2902
+ }, z.core.$strict>, z.ZodObject<{
2903
+ type: z.ZodLiteral<"sheet">;
2904
+ size: z.ZodEnum<{
2905
+ sm: "sm";
2906
+ md: "md";
2907
+ lg: "lg";
2908
+ }>;
2909
+ }, z.core.$strict>, z.ZodObject<{
2910
+ type: z.ZodLiteral<"fullscreen">;
2911
+ }, z.core.$strict>, z.ZodObject<{
2912
+ type: z.ZodLiteral<"inline">;
2913
+ }, z.core.$strict>], "type">;
2914
+ theme: z.ZodObject<{
2915
+ primary: z.ZodString;
2916
+ background: z.ZodString;
2917
+ text: z.ZodString;
2918
+ radius: z.ZodEnum<{
2919
+ none: "none";
2920
+ full: "full";
2921
+ sm: "sm";
2922
+ md: "md";
2923
+ lg: "lg";
2924
+ }>;
2925
+ font: z.ZodEnum<{
2926
+ system: "system";
2927
+ serif: "serif";
2928
+ rounded: "rounded";
2929
+ mono: "mono";
2930
+ }>;
2931
+ }, z.core.$strict>;
2932
+ pages: z.ZodArray<z.ZodObject<{
2933
+ id: z.ZodString;
2934
+ name: z.ZodString;
2935
+ root: z.ZodType<StackNode, unknown, z.core.$ZodTypeInternals<StackNode, unknown>>;
2936
+ theme: z.ZodOptional<z.ZodObject<{
2937
+ primary: z.ZodString;
2938
+ background: z.ZodString;
2939
+ text: z.ZodString;
2940
+ radius: z.ZodEnum<{
2941
+ none: "none";
2942
+ full: "full";
2943
+ sm: "sm";
2944
+ md: "md";
2945
+ lg: "lg";
2946
+ }>;
2947
+ font: z.ZodEnum<{
2948
+ system: "system";
2949
+ serif: "serif";
2950
+ rounded: "rounded";
2951
+ mono: "mono";
2952
+ }>;
2953
+ }, z.core.$strict>>;
2954
+ editorPosition: z.ZodOptional<z.ZodObject<{
2955
+ x: z.ZodNumber;
2956
+ y: z.ZodNumber;
2957
+ }, z.core.$strict>>;
2958
+ }, z.core.$strict>>;
2959
+ strings: z.ZodObject<{
2960
+ defaultLocale: z.ZodString;
2961
+ locales: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
2962
+ }, z.core.$strict>;
2963
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2964
+ type: z.ZodLiteral<"navigate">;
2965
+ close: z.ZodLiteral<false>;
2966
+ pageId: z.ZodString;
2967
+ id: z.ZodString;
2968
+ event: z.ZodString;
2969
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2970
+ }, z.core.$strict>, z.ZodObject<{
2971
+ type: z.ZodLiteral<"event">;
2972
+ close: z.ZodBoolean;
2973
+ id: z.ZodString;
2974
+ event: z.ZodString;
2975
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2976
+ }, z.core.$strict>, z.ZodObject<{
2977
+ type: z.ZodLiteral<"close">;
2978
+ close: z.ZodLiteral<true>;
2979
+ id: z.ZodString;
2980
+ event: z.ZodString;
2981
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2982
+ }, z.core.$strict>, z.ZodObject<{
2983
+ type: z.ZodLiteral<"open_url">;
2984
+ close: z.ZodBoolean;
2985
+ url: z.ZodString;
2986
+ id: z.ZodString;
2987
+ event: z.ZodString;
2988
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2989
+ }, z.core.$strict>, z.ZodObject<{
2990
+ type: z.ZodLiteral<"claim_offer">;
2991
+ close: z.ZodBoolean;
2992
+ couponId: z.ZodUUID;
2993
+ id: z.ZodString;
2994
+ event: z.ZodString;
2995
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2996
+ }, z.core.$strict>], "type">>;
2997
+ }, z.core.$strict>;
2998
+ type ScreenDocument = z.infer<typeof screenDocumentShape>;
2999
+
3000
+ export type { StackNode as S, ScreenSelection as a, ScreenAction as b, ScreenNode as c, ScreenDocument as d };