@encatch/schema 1.1.0-beta.12 → 1.1.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1143 @@
1
+ import { z } from "zod";
2
+ export declare const focalPointSchema: z.ZodObject<{
3
+ x: z.ZodNumber;
4
+ y: z.ZodNumber;
5
+ }, z.core.$strip>;
6
+ export declare const imageAttachmentSchema: z.ZodObject<{
7
+ type: z.ZodLiteral<"image">;
8
+ href: z.ZodString;
9
+ properties: z.ZodOptional<z.ZodObject<{
10
+ description: z.ZodOptional<z.ZodString>;
11
+ decorative: z.ZodDefault<z.ZodBoolean>;
12
+ brightness: z.ZodOptional<z.ZodNumber>;
13
+ focalPoint: z.ZodOptional<z.ZodObject<{
14
+ x: z.ZodNumber;
15
+ y: z.ZodNumber;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ export declare const videoAttachmentSchema: z.ZodObject<{
20
+ type: z.ZodLiteral<"video">;
21
+ href: z.ZodString;
22
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
23
+ 1: "1";
24
+ 0.4: "0.4";
25
+ 0.6: "0.6";
26
+ 0.8: "0.8";
27
+ }>>>;
28
+ properties: z.ZodOptional<z.ZodObject<{
29
+ description: z.ZodOptional<z.ZodString>;
30
+ decorative: z.ZodDefault<z.ZodBoolean>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
33
+ export declare const colorAttachmentSchema: z.ZodObject<{
34
+ type: z.ZodLiteral<"color">;
35
+ value: z.ZodString;
36
+ }, z.core.$strip>;
37
+ export declare const gradientAttachmentSchema: z.ZodObject<{
38
+ type: z.ZodLiteral<"gradient">;
39
+ value: z.ZodString;
40
+ }, z.core.$strip>;
41
+ export declare const layoutAttachmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
42
+ type: z.ZodLiteral<"image">;
43
+ href: z.ZodString;
44
+ properties: z.ZodOptional<z.ZodObject<{
45
+ description: z.ZodOptional<z.ZodString>;
46
+ decorative: z.ZodDefault<z.ZodBoolean>;
47
+ brightness: z.ZodOptional<z.ZodNumber>;
48
+ focalPoint: z.ZodOptional<z.ZodObject<{
49
+ x: z.ZodNumber;
50
+ y: z.ZodNumber;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ type: z.ZodLiteral<"video">;
55
+ href: z.ZodString;
56
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
57
+ 1: "1";
58
+ 0.4: "0.4";
59
+ 0.6: "0.6";
60
+ 0.8: "0.8";
61
+ }>>>;
62
+ properties: z.ZodOptional<z.ZodObject<{
63
+ description: z.ZodOptional<z.ZodString>;
64
+ decorative: z.ZodDefault<z.ZodBoolean>;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ type: z.ZodLiteral<"color">;
68
+ value: z.ZodString;
69
+ }, z.core.$strip>, z.ZodObject<{
70
+ type: z.ZodLiteral<"gradient">;
71
+ value: z.ZodString;
72
+ }, z.core.$strip>], "type">;
73
+ export declare const LayoutAttachmentTypes: {
74
+ readonly IMAGE: "image";
75
+ readonly VIDEO: "video";
76
+ readonly COLOR: "color";
77
+ readonly GRADIENT: "gradient";
78
+ };
79
+ /**
80
+ * stack — attachment fills the background behind the question content (full bleed).
81
+ * This is the default Typeform-like "hero behind question" treatment.
82
+ */
83
+ export declare const stackLayoutSchema: z.ZodObject<{
84
+ type: z.ZodLiteral<"stack">;
85
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
86
+ type: z.ZodLiteral<"image">;
87
+ href: z.ZodString;
88
+ properties: z.ZodOptional<z.ZodObject<{
89
+ description: z.ZodOptional<z.ZodString>;
90
+ decorative: z.ZodDefault<z.ZodBoolean>;
91
+ brightness: z.ZodOptional<z.ZodNumber>;
92
+ focalPoint: z.ZodOptional<z.ZodObject<{
93
+ x: z.ZodNumber;
94
+ y: z.ZodNumber;
95
+ }, z.core.$strip>>;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ type: z.ZodLiteral<"video">;
99
+ href: z.ZodString;
100
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
101
+ 1: "1";
102
+ 0.4: "0.4";
103
+ 0.6: "0.6";
104
+ 0.8: "0.8";
105
+ }>>>;
106
+ properties: z.ZodOptional<z.ZodObject<{
107
+ description: z.ZodOptional<z.ZodString>;
108
+ decorative: z.ZodDefault<z.ZodBoolean>;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ type: z.ZodLiteral<"color">;
112
+ value: z.ZodString;
113
+ }, z.core.$strip>, z.ZodObject<{
114
+ type: z.ZodLiteral<"gradient">;
115
+ value: z.ZodString;
116
+ }, z.core.$strip>], "type">>;
117
+ }, z.core.$strip>;
118
+ /**
119
+ * float — attachment floats beside the question without splitting the viewport.
120
+ * The question content reflows around the media.
121
+ */
122
+ export declare const floatLayoutSchema: z.ZodObject<{
123
+ type: z.ZodLiteral<"float">;
124
+ placement: z.ZodEnum<{
125
+ left: "left";
126
+ right: "right";
127
+ }>;
128
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
129
+ type: z.ZodLiteral<"image">;
130
+ href: z.ZodString;
131
+ properties: z.ZodOptional<z.ZodObject<{
132
+ description: z.ZodOptional<z.ZodString>;
133
+ decorative: z.ZodDefault<z.ZodBoolean>;
134
+ brightness: z.ZodOptional<z.ZodNumber>;
135
+ focalPoint: z.ZodOptional<z.ZodObject<{
136
+ x: z.ZodNumber;
137
+ y: z.ZodNumber;
138
+ }, z.core.$strip>>;
139
+ }, z.core.$strip>>;
140
+ }, z.core.$strip>, z.ZodObject<{
141
+ type: z.ZodLiteral<"video">;
142
+ href: z.ZodString;
143
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
144
+ 1: "1";
145
+ 0.4: "0.4";
146
+ 0.6: "0.6";
147
+ 0.8: "0.8";
148
+ }>>>;
149
+ properties: z.ZodOptional<z.ZodObject<{
150
+ description: z.ZodOptional<z.ZodString>;
151
+ decorative: z.ZodDefault<z.ZodBoolean>;
152
+ }, z.core.$strip>>;
153
+ }, z.core.$strip>, z.ZodObject<{
154
+ type: z.ZodLiteral<"color">;
155
+ value: z.ZodString;
156
+ }, z.core.$strip>, z.ZodObject<{
157
+ type: z.ZodLiteral<"gradient">;
158
+ value: z.ZodString;
159
+ }, z.core.$strip>], "type">>;
160
+ }, z.core.$strip>;
161
+ /**
162
+ * split — viewport is divided 50/50 between attachment and question content.
163
+ */
164
+ export declare const splitLayoutSchema: z.ZodObject<{
165
+ type: z.ZodLiteral<"split">;
166
+ placement: z.ZodEnum<{
167
+ left: "left";
168
+ right: "right";
169
+ }>;
170
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
171
+ type: z.ZodLiteral<"image">;
172
+ href: z.ZodString;
173
+ properties: z.ZodOptional<z.ZodObject<{
174
+ description: z.ZodOptional<z.ZodString>;
175
+ decorative: z.ZodDefault<z.ZodBoolean>;
176
+ brightness: z.ZodOptional<z.ZodNumber>;
177
+ focalPoint: z.ZodOptional<z.ZodObject<{
178
+ x: z.ZodNumber;
179
+ y: z.ZodNumber;
180
+ }, z.core.$strip>>;
181
+ }, z.core.$strip>>;
182
+ }, z.core.$strip>, z.ZodObject<{
183
+ type: z.ZodLiteral<"video">;
184
+ href: z.ZodString;
185
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
186
+ 1: "1";
187
+ 0.4: "0.4";
188
+ 0.6: "0.6";
189
+ 0.8: "0.8";
190
+ }>>>;
191
+ properties: z.ZodOptional<z.ZodObject<{
192
+ description: z.ZodOptional<z.ZodString>;
193
+ decorative: z.ZodDefault<z.ZodBoolean>;
194
+ }, z.core.$strip>>;
195
+ }, z.core.$strip>, z.ZodObject<{
196
+ type: z.ZodLiteral<"color">;
197
+ value: z.ZodString;
198
+ }, z.core.$strip>, z.ZodObject<{
199
+ type: z.ZodLiteral<"gradient">;
200
+ value: z.ZodString;
201
+ }, z.core.$strip>], "type">>;
202
+ }, z.core.$strip>;
203
+ /**
204
+ * wallpaper — attachment tiles or stretches across the entire viewport as a
205
+ * full-page background, behind both the question and any chrome.
206
+ */
207
+ export declare const wallpaperLayoutSchema: z.ZodObject<{
208
+ type: z.ZodLiteral<"wallpaper">;
209
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
210
+ type: z.ZodLiteral<"image">;
211
+ href: z.ZodString;
212
+ properties: z.ZodOptional<z.ZodObject<{
213
+ description: z.ZodOptional<z.ZodString>;
214
+ decorative: z.ZodDefault<z.ZodBoolean>;
215
+ brightness: z.ZodOptional<z.ZodNumber>;
216
+ focalPoint: z.ZodOptional<z.ZodObject<{
217
+ x: z.ZodNumber;
218
+ y: z.ZodNumber;
219
+ }, z.core.$strip>>;
220
+ }, z.core.$strip>>;
221
+ }, z.core.$strip>, z.ZodObject<{
222
+ type: z.ZodLiteral<"video">;
223
+ href: z.ZodString;
224
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
225
+ 1: "1";
226
+ 0.4: "0.4";
227
+ 0.6: "0.6";
228
+ 0.8: "0.8";
229
+ }>>>;
230
+ properties: z.ZodOptional<z.ZodObject<{
231
+ description: z.ZodOptional<z.ZodString>;
232
+ decorative: z.ZodDefault<z.ZodBoolean>;
233
+ }, z.core.$strip>>;
234
+ }, z.core.$strip>, z.ZodObject<{
235
+ type: z.ZodLiteral<"color">;
236
+ value: z.ZodString;
237
+ }, z.core.$strip>, z.ZodObject<{
238
+ type: z.ZodLiteral<"gradient">;
239
+ value: z.ZodString;
240
+ }, z.core.$strip>], "type">>;
241
+ }, z.core.$strip>;
242
+ export declare const sectionLayoutVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
243
+ type: z.ZodLiteral<"stack">;
244
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
245
+ type: z.ZodLiteral<"image">;
246
+ href: z.ZodString;
247
+ properties: z.ZodOptional<z.ZodObject<{
248
+ description: z.ZodOptional<z.ZodString>;
249
+ decorative: z.ZodDefault<z.ZodBoolean>;
250
+ brightness: z.ZodOptional<z.ZodNumber>;
251
+ focalPoint: z.ZodOptional<z.ZodObject<{
252
+ x: z.ZodNumber;
253
+ y: z.ZodNumber;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>>;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ type: z.ZodLiteral<"video">;
258
+ href: z.ZodString;
259
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
260
+ 1: "1";
261
+ 0.4: "0.4";
262
+ 0.6: "0.6";
263
+ 0.8: "0.8";
264
+ }>>>;
265
+ properties: z.ZodOptional<z.ZodObject<{
266
+ description: z.ZodOptional<z.ZodString>;
267
+ decorative: z.ZodDefault<z.ZodBoolean>;
268
+ }, z.core.$strip>>;
269
+ }, z.core.$strip>, z.ZodObject<{
270
+ type: z.ZodLiteral<"color">;
271
+ value: z.ZodString;
272
+ }, z.core.$strip>, z.ZodObject<{
273
+ type: z.ZodLiteral<"gradient">;
274
+ value: z.ZodString;
275
+ }, z.core.$strip>], "type">>;
276
+ }, z.core.$strip>, z.ZodObject<{
277
+ type: z.ZodLiteral<"float">;
278
+ placement: z.ZodEnum<{
279
+ left: "left";
280
+ right: "right";
281
+ }>;
282
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
283
+ type: z.ZodLiteral<"image">;
284
+ href: z.ZodString;
285
+ properties: z.ZodOptional<z.ZodObject<{
286
+ description: z.ZodOptional<z.ZodString>;
287
+ decorative: z.ZodDefault<z.ZodBoolean>;
288
+ brightness: z.ZodOptional<z.ZodNumber>;
289
+ focalPoint: z.ZodOptional<z.ZodObject<{
290
+ x: z.ZodNumber;
291
+ y: z.ZodNumber;
292
+ }, z.core.$strip>>;
293
+ }, z.core.$strip>>;
294
+ }, z.core.$strip>, z.ZodObject<{
295
+ type: z.ZodLiteral<"video">;
296
+ href: z.ZodString;
297
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
298
+ 1: "1";
299
+ 0.4: "0.4";
300
+ 0.6: "0.6";
301
+ 0.8: "0.8";
302
+ }>>>;
303
+ properties: z.ZodOptional<z.ZodObject<{
304
+ description: z.ZodOptional<z.ZodString>;
305
+ decorative: z.ZodDefault<z.ZodBoolean>;
306
+ }, z.core.$strip>>;
307
+ }, z.core.$strip>, z.ZodObject<{
308
+ type: z.ZodLiteral<"color">;
309
+ value: z.ZodString;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ type: z.ZodLiteral<"gradient">;
312
+ value: z.ZodString;
313
+ }, z.core.$strip>], "type">>;
314
+ }, z.core.$strip>, z.ZodObject<{
315
+ type: z.ZodLiteral<"split">;
316
+ placement: z.ZodEnum<{
317
+ left: "left";
318
+ right: "right";
319
+ }>;
320
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
321
+ type: z.ZodLiteral<"image">;
322
+ href: z.ZodString;
323
+ properties: z.ZodOptional<z.ZodObject<{
324
+ description: z.ZodOptional<z.ZodString>;
325
+ decorative: z.ZodDefault<z.ZodBoolean>;
326
+ brightness: z.ZodOptional<z.ZodNumber>;
327
+ focalPoint: z.ZodOptional<z.ZodObject<{
328
+ x: z.ZodNumber;
329
+ y: z.ZodNumber;
330
+ }, z.core.$strip>>;
331
+ }, z.core.$strip>>;
332
+ }, z.core.$strip>, z.ZodObject<{
333
+ type: z.ZodLiteral<"video">;
334
+ href: z.ZodString;
335
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
336
+ 1: "1";
337
+ 0.4: "0.4";
338
+ 0.6: "0.6";
339
+ 0.8: "0.8";
340
+ }>>>;
341
+ properties: z.ZodOptional<z.ZodObject<{
342
+ description: z.ZodOptional<z.ZodString>;
343
+ decorative: z.ZodDefault<z.ZodBoolean>;
344
+ }, z.core.$strip>>;
345
+ }, z.core.$strip>, z.ZodObject<{
346
+ type: z.ZodLiteral<"color">;
347
+ value: z.ZodString;
348
+ }, z.core.$strip>, z.ZodObject<{
349
+ type: z.ZodLiteral<"gradient">;
350
+ value: z.ZodString;
351
+ }, z.core.$strip>], "type">>;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ type: z.ZodLiteral<"wallpaper">;
354
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
355
+ type: z.ZodLiteral<"image">;
356
+ href: z.ZodString;
357
+ properties: z.ZodOptional<z.ZodObject<{
358
+ description: z.ZodOptional<z.ZodString>;
359
+ decorative: z.ZodDefault<z.ZodBoolean>;
360
+ brightness: z.ZodOptional<z.ZodNumber>;
361
+ focalPoint: z.ZodOptional<z.ZodObject<{
362
+ x: z.ZodNumber;
363
+ y: z.ZodNumber;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>>;
366
+ }, z.core.$strip>, z.ZodObject<{
367
+ type: z.ZodLiteral<"video">;
368
+ href: z.ZodString;
369
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
370
+ 1: "1";
371
+ 0.4: "0.4";
372
+ 0.6: "0.6";
373
+ 0.8: "0.8";
374
+ }>>>;
375
+ properties: z.ZodOptional<z.ZodObject<{
376
+ description: z.ZodOptional<z.ZodString>;
377
+ decorative: z.ZodDefault<z.ZodBoolean>;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>, z.ZodObject<{
380
+ type: z.ZodLiteral<"color">;
381
+ value: z.ZodString;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ type: z.ZodLiteral<"gradient">;
384
+ value: z.ZodString;
385
+ }, z.core.$strip>], "type">>;
386
+ }, z.core.$strip>], "type">;
387
+ export declare const LayoutTypes: {
388
+ readonly STACK: "stack";
389
+ readonly FLOAT: "float";
390
+ readonly SPLIT: "split";
391
+ readonly WALLPAPER: "wallpaper";
392
+ };
393
+ /**
394
+ * A LayoutSurface is the full layout config for a single rendering surface
395
+ * (e.g. in-app, link/mobile, link/others).
396
+ *
397
+ * - attachment: optional top-level media shown inline alongside the question
398
+ * (distinct from the layout's inner attachment which controls positioning)
399
+ * - layout: required variant that controls how the inner attachment is placed
400
+ */
401
+ export declare const layoutSurfaceSchema: z.ZodObject<{
402
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
403
+ type: z.ZodLiteral<"image">;
404
+ href: z.ZodString;
405
+ properties: z.ZodOptional<z.ZodObject<{
406
+ description: z.ZodOptional<z.ZodString>;
407
+ decorative: z.ZodDefault<z.ZodBoolean>;
408
+ brightness: z.ZodOptional<z.ZodNumber>;
409
+ focalPoint: z.ZodOptional<z.ZodObject<{
410
+ x: z.ZodNumber;
411
+ y: z.ZodNumber;
412
+ }, z.core.$strip>>;
413
+ }, z.core.$strip>>;
414
+ }, z.core.$strip>, z.ZodObject<{
415
+ type: z.ZodLiteral<"video">;
416
+ href: z.ZodString;
417
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
418
+ 1: "1";
419
+ 0.4: "0.4";
420
+ 0.6: "0.6";
421
+ 0.8: "0.8";
422
+ }>>>;
423
+ properties: z.ZodOptional<z.ZodObject<{
424
+ description: z.ZodOptional<z.ZodString>;
425
+ decorative: z.ZodDefault<z.ZodBoolean>;
426
+ }, z.core.$strip>>;
427
+ }, z.core.$strip>, z.ZodObject<{
428
+ type: z.ZodLiteral<"color">;
429
+ value: z.ZodString;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ type: z.ZodLiteral<"gradient">;
432
+ value: z.ZodString;
433
+ }, z.core.$strip>], "type">>;
434
+ layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
435
+ type: z.ZodLiteral<"stack">;
436
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
437
+ type: z.ZodLiteral<"image">;
438
+ href: z.ZodString;
439
+ properties: z.ZodOptional<z.ZodObject<{
440
+ description: z.ZodOptional<z.ZodString>;
441
+ decorative: z.ZodDefault<z.ZodBoolean>;
442
+ brightness: z.ZodOptional<z.ZodNumber>;
443
+ focalPoint: z.ZodOptional<z.ZodObject<{
444
+ x: z.ZodNumber;
445
+ y: z.ZodNumber;
446
+ }, z.core.$strip>>;
447
+ }, z.core.$strip>>;
448
+ }, z.core.$strip>, z.ZodObject<{
449
+ type: z.ZodLiteral<"video">;
450
+ href: z.ZodString;
451
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
452
+ 1: "1";
453
+ 0.4: "0.4";
454
+ 0.6: "0.6";
455
+ 0.8: "0.8";
456
+ }>>>;
457
+ properties: z.ZodOptional<z.ZodObject<{
458
+ description: z.ZodOptional<z.ZodString>;
459
+ decorative: z.ZodDefault<z.ZodBoolean>;
460
+ }, z.core.$strip>>;
461
+ }, z.core.$strip>, z.ZodObject<{
462
+ type: z.ZodLiteral<"color">;
463
+ value: z.ZodString;
464
+ }, z.core.$strip>, z.ZodObject<{
465
+ type: z.ZodLiteral<"gradient">;
466
+ value: z.ZodString;
467
+ }, z.core.$strip>], "type">>;
468
+ }, z.core.$strip>, z.ZodObject<{
469
+ type: z.ZodLiteral<"float">;
470
+ placement: z.ZodEnum<{
471
+ left: "left";
472
+ right: "right";
473
+ }>;
474
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
475
+ type: z.ZodLiteral<"image">;
476
+ href: z.ZodString;
477
+ properties: z.ZodOptional<z.ZodObject<{
478
+ description: z.ZodOptional<z.ZodString>;
479
+ decorative: z.ZodDefault<z.ZodBoolean>;
480
+ brightness: z.ZodOptional<z.ZodNumber>;
481
+ focalPoint: z.ZodOptional<z.ZodObject<{
482
+ x: z.ZodNumber;
483
+ y: z.ZodNumber;
484
+ }, z.core.$strip>>;
485
+ }, z.core.$strip>>;
486
+ }, z.core.$strip>, z.ZodObject<{
487
+ type: z.ZodLiteral<"video">;
488
+ href: z.ZodString;
489
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
490
+ 1: "1";
491
+ 0.4: "0.4";
492
+ 0.6: "0.6";
493
+ 0.8: "0.8";
494
+ }>>>;
495
+ properties: z.ZodOptional<z.ZodObject<{
496
+ description: z.ZodOptional<z.ZodString>;
497
+ decorative: z.ZodDefault<z.ZodBoolean>;
498
+ }, z.core.$strip>>;
499
+ }, z.core.$strip>, z.ZodObject<{
500
+ type: z.ZodLiteral<"color">;
501
+ value: z.ZodString;
502
+ }, z.core.$strip>, z.ZodObject<{
503
+ type: z.ZodLiteral<"gradient">;
504
+ value: z.ZodString;
505
+ }, z.core.$strip>], "type">>;
506
+ }, z.core.$strip>, z.ZodObject<{
507
+ type: z.ZodLiteral<"split">;
508
+ placement: z.ZodEnum<{
509
+ left: "left";
510
+ right: "right";
511
+ }>;
512
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
513
+ type: z.ZodLiteral<"image">;
514
+ href: z.ZodString;
515
+ properties: z.ZodOptional<z.ZodObject<{
516
+ description: z.ZodOptional<z.ZodString>;
517
+ decorative: z.ZodDefault<z.ZodBoolean>;
518
+ brightness: z.ZodOptional<z.ZodNumber>;
519
+ focalPoint: z.ZodOptional<z.ZodObject<{
520
+ x: z.ZodNumber;
521
+ y: z.ZodNumber;
522
+ }, z.core.$strip>>;
523
+ }, z.core.$strip>>;
524
+ }, z.core.$strip>, z.ZodObject<{
525
+ type: z.ZodLiteral<"video">;
526
+ href: z.ZodString;
527
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
528
+ 1: "1";
529
+ 0.4: "0.4";
530
+ 0.6: "0.6";
531
+ 0.8: "0.8";
532
+ }>>>;
533
+ properties: z.ZodOptional<z.ZodObject<{
534
+ description: z.ZodOptional<z.ZodString>;
535
+ decorative: z.ZodDefault<z.ZodBoolean>;
536
+ }, z.core.$strip>>;
537
+ }, z.core.$strip>, z.ZodObject<{
538
+ type: z.ZodLiteral<"color">;
539
+ value: z.ZodString;
540
+ }, z.core.$strip>, z.ZodObject<{
541
+ type: z.ZodLiteral<"gradient">;
542
+ value: z.ZodString;
543
+ }, z.core.$strip>], "type">>;
544
+ }, z.core.$strip>, z.ZodObject<{
545
+ type: z.ZodLiteral<"wallpaper">;
546
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
547
+ type: z.ZodLiteral<"image">;
548
+ href: z.ZodString;
549
+ properties: z.ZodOptional<z.ZodObject<{
550
+ description: z.ZodOptional<z.ZodString>;
551
+ decorative: z.ZodDefault<z.ZodBoolean>;
552
+ brightness: z.ZodOptional<z.ZodNumber>;
553
+ focalPoint: z.ZodOptional<z.ZodObject<{
554
+ x: z.ZodNumber;
555
+ y: z.ZodNumber;
556
+ }, z.core.$strip>>;
557
+ }, z.core.$strip>>;
558
+ }, z.core.$strip>, z.ZodObject<{
559
+ type: z.ZodLiteral<"video">;
560
+ href: z.ZodString;
561
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
562
+ 1: "1";
563
+ 0.4: "0.4";
564
+ 0.6: "0.6";
565
+ 0.8: "0.8";
566
+ }>>>;
567
+ properties: z.ZodOptional<z.ZodObject<{
568
+ description: z.ZodOptional<z.ZodString>;
569
+ decorative: z.ZodDefault<z.ZodBoolean>;
570
+ }, z.core.$strip>>;
571
+ }, z.core.$strip>, z.ZodObject<{
572
+ type: z.ZodLiteral<"color">;
573
+ value: z.ZodString;
574
+ }, z.core.$strip>, z.ZodObject<{
575
+ type: z.ZodLiteral<"gradient">;
576
+ value: z.ZodString;
577
+ }, z.core.$strip>], "type">>;
578
+ }, z.core.$strip>], "type">;
579
+ }, z.core.$strip>;
580
+ /**
581
+ * Per-section layout config scoped to two channels:
582
+ * - inApp: native app or in-app webview
583
+ * - link: shareable/link-based form, split into mobile (phones) and others (tablet + desktop)
584
+ *
585
+ * All fields are optional. When absent for a surface, the engine renders with no custom layout.
586
+ *
587
+ * Merge precedence (per surface):
588
+ * sectionLayouts[id] > sectionLayoutDefaults > engine default (no layout)
589
+ */
590
+ export declare const sectionLayoutSchema: z.ZodObject<{
591
+ inApp: z.ZodOptional<z.ZodObject<{
592
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
593
+ type: z.ZodLiteral<"image">;
594
+ href: z.ZodString;
595
+ properties: z.ZodOptional<z.ZodObject<{
596
+ description: z.ZodOptional<z.ZodString>;
597
+ decorative: z.ZodDefault<z.ZodBoolean>;
598
+ brightness: z.ZodOptional<z.ZodNumber>;
599
+ focalPoint: z.ZodOptional<z.ZodObject<{
600
+ x: z.ZodNumber;
601
+ y: z.ZodNumber;
602
+ }, z.core.$strip>>;
603
+ }, z.core.$strip>>;
604
+ }, z.core.$strip>, z.ZodObject<{
605
+ type: z.ZodLiteral<"video">;
606
+ href: z.ZodString;
607
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
608
+ 1: "1";
609
+ 0.4: "0.4";
610
+ 0.6: "0.6";
611
+ 0.8: "0.8";
612
+ }>>>;
613
+ properties: z.ZodOptional<z.ZodObject<{
614
+ description: z.ZodOptional<z.ZodString>;
615
+ decorative: z.ZodDefault<z.ZodBoolean>;
616
+ }, z.core.$strip>>;
617
+ }, z.core.$strip>, z.ZodObject<{
618
+ type: z.ZodLiteral<"color">;
619
+ value: z.ZodString;
620
+ }, z.core.$strip>, z.ZodObject<{
621
+ type: z.ZodLiteral<"gradient">;
622
+ value: z.ZodString;
623
+ }, z.core.$strip>], "type">>;
624
+ layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
625
+ type: z.ZodLiteral<"stack">;
626
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
627
+ type: z.ZodLiteral<"image">;
628
+ href: z.ZodString;
629
+ properties: z.ZodOptional<z.ZodObject<{
630
+ description: z.ZodOptional<z.ZodString>;
631
+ decorative: z.ZodDefault<z.ZodBoolean>;
632
+ brightness: z.ZodOptional<z.ZodNumber>;
633
+ focalPoint: z.ZodOptional<z.ZodObject<{
634
+ x: z.ZodNumber;
635
+ y: z.ZodNumber;
636
+ }, z.core.$strip>>;
637
+ }, z.core.$strip>>;
638
+ }, z.core.$strip>, z.ZodObject<{
639
+ type: z.ZodLiteral<"video">;
640
+ href: z.ZodString;
641
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
642
+ 1: "1";
643
+ 0.4: "0.4";
644
+ 0.6: "0.6";
645
+ 0.8: "0.8";
646
+ }>>>;
647
+ properties: z.ZodOptional<z.ZodObject<{
648
+ description: z.ZodOptional<z.ZodString>;
649
+ decorative: z.ZodDefault<z.ZodBoolean>;
650
+ }, z.core.$strip>>;
651
+ }, z.core.$strip>, z.ZodObject<{
652
+ type: z.ZodLiteral<"color">;
653
+ value: z.ZodString;
654
+ }, z.core.$strip>, z.ZodObject<{
655
+ type: z.ZodLiteral<"gradient">;
656
+ value: z.ZodString;
657
+ }, z.core.$strip>], "type">>;
658
+ }, z.core.$strip>, z.ZodObject<{
659
+ type: z.ZodLiteral<"float">;
660
+ placement: z.ZodEnum<{
661
+ left: "left";
662
+ right: "right";
663
+ }>;
664
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
665
+ type: z.ZodLiteral<"image">;
666
+ href: z.ZodString;
667
+ properties: z.ZodOptional<z.ZodObject<{
668
+ description: z.ZodOptional<z.ZodString>;
669
+ decorative: z.ZodDefault<z.ZodBoolean>;
670
+ brightness: z.ZodOptional<z.ZodNumber>;
671
+ focalPoint: z.ZodOptional<z.ZodObject<{
672
+ x: z.ZodNumber;
673
+ y: z.ZodNumber;
674
+ }, z.core.$strip>>;
675
+ }, z.core.$strip>>;
676
+ }, z.core.$strip>, z.ZodObject<{
677
+ type: z.ZodLiteral<"video">;
678
+ href: z.ZodString;
679
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
680
+ 1: "1";
681
+ 0.4: "0.4";
682
+ 0.6: "0.6";
683
+ 0.8: "0.8";
684
+ }>>>;
685
+ properties: z.ZodOptional<z.ZodObject<{
686
+ description: z.ZodOptional<z.ZodString>;
687
+ decorative: z.ZodDefault<z.ZodBoolean>;
688
+ }, z.core.$strip>>;
689
+ }, z.core.$strip>, z.ZodObject<{
690
+ type: z.ZodLiteral<"color">;
691
+ value: z.ZodString;
692
+ }, z.core.$strip>, z.ZodObject<{
693
+ type: z.ZodLiteral<"gradient">;
694
+ value: z.ZodString;
695
+ }, z.core.$strip>], "type">>;
696
+ }, z.core.$strip>, z.ZodObject<{
697
+ type: z.ZodLiteral<"split">;
698
+ placement: z.ZodEnum<{
699
+ left: "left";
700
+ right: "right";
701
+ }>;
702
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
703
+ type: z.ZodLiteral<"image">;
704
+ href: z.ZodString;
705
+ properties: z.ZodOptional<z.ZodObject<{
706
+ description: z.ZodOptional<z.ZodString>;
707
+ decorative: z.ZodDefault<z.ZodBoolean>;
708
+ brightness: z.ZodOptional<z.ZodNumber>;
709
+ focalPoint: z.ZodOptional<z.ZodObject<{
710
+ x: z.ZodNumber;
711
+ y: z.ZodNumber;
712
+ }, z.core.$strip>>;
713
+ }, z.core.$strip>>;
714
+ }, z.core.$strip>, z.ZodObject<{
715
+ type: z.ZodLiteral<"video">;
716
+ href: z.ZodString;
717
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
718
+ 1: "1";
719
+ 0.4: "0.4";
720
+ 0.6: "0.6";
721
+ 0.8: "0.8";
722
+ }>>>;
723
+ properties: z.ZodOptional<z.ZodObject<{
724
+ description: z.ZodOptional<z.ZodString>;
725
+ decorative: z.ZodDefault<z.ZodBoolean>;
726
+ }, z.core.$strip>>;
727
+ }, z.core.$strip>, z.ZodObject<{
728
+ type: z.ZodLiteral<"color">;
729
+ value: z.ZodString;
730
+ }, z.core.$strip>, z.ZodObject<{
731
+ type: z.ZodLiteral<"gradient">;
732
+ value: z.ZodString;
733
+ }, z.core.$strip>], "type">>;
734
+ }, z.core.$strip>, z.ZodObject<{
735
+ type: z.ZodLiteral<"wallpaper">;
736
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
737
+ type: z.ZodLiteral<"image">;
738
+ href: z.ZodString;
739
+ properties: z.ZodOptional<z.ZodObject<{
740
+ description: z.ZodOptional<z.ZodString>;
741
+ decorative: z.ZodDefault<z.ZodBoolean>;
742
+ brightness: z.ZodOptional<z.ZodNumber>;
743
+ focalPoint: z.ZodOptional<z.ZodObject<{
744
+ x: z.ZodNumber;
745
+ y: z.ZodNumber;
746
+ }, z.core.$strip>>;
747
+ }, z.core.$strip>>;
748
+ }, z.core.$strip>, z.ZodObject<{
749
+ type: z.ZodLiteral<"video">;
750
+ href: z.ZodString;
751
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
752
+ 1: "1";
753
+ 0.4: "0.4";
754
+ 0.6: "0.6";
755
+ 0.8: "0.8";
756
+ }>>>;
757
+ properties: z.ZodOptional<z.ZodObject<{
758
+ description: z.ZodOptional<z.ZodString>;
759
+ decorative: z.ZodDefault<z.ZodBoolean>;
760
+ }, z.core.$strip>>;
761
+ }, z.core.$strip>, z.ZodObject<{
762
+ type: z.ZodLiteral<"color">;
763
+ value: z.ZodString;
764
+ }, z.core.$strip>, z.ZodObject<{
765
+ type: z.ZodLiteral<"gradient">;
766
+ value: z.ZodString;
767
+ }, z.core.$strip>], "type">>;
768
+ }, z.core.$strip>], "type">;
769
+ }, z.core.$strip>>;
770
+ link: z.ZodOptional<z.ZodObject<{
771
+ mobile: z.ZodOptional<z.ZodObject<{
772
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
773
+ type: z.ZodLiteral<"image">;
774
+ href: z.ZodString;
775
+ properties: z.ZodOptional<z.ZodObject<{
776
+ description: z.ZodOptional<z.ZodString>;
777
+ decorative: z.ZodDefault<z.ZodBoolean>;
778
+ brightness: z.ZodOptional<z.ZodNumber>;
779
+ focalPoint: z.ZodOptional<z.ZodObject<{
780
+ x: z.ZodNumber;
781
+ y: z.ZodNumber;
782
+ }, z.core.$strip>>;
783
+ }, z.core.$strip>>;
784
+ }, z.core.$strip>, z.ZodObject<{
785
+ type: z.ZodLiteral<"video">;
786
+ href: z.ZodString;
787
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
788
+ 1: "1";
789
+ 0.4: "0.4";
790
+ 0.6: "0.6";
791
+ 0.8: "0.8";
792
+ }>>>;
793
+ properties: z.ZodOptional<z.ZodObject<{
794
+ description: z.ZodOptional<z.ZodString>;
795
+ decorative: z.ZodDefault<z.ZodBoolean>;
796
+ }, z.core.$strip>>;
797
+ }, z.core.$strip>, z.ZodObject<{
798
+ type: z.ZodLiteral<"color">;
799
+ value: z.ZodString;
800
+ }, z.core.$strip>, z.ZodObject<{
801
+ type: z.ZodLiteral<"gradient">;
802
+ value: z.ZodString;
803
+ }, z.core.$strip>], "type">>;
804
+ layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
805
+ type: z.ZodLiteral<"stack">;
806
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
807
+ type: z.ZodLiteral<"image">;
808
+ href: z.ZodString;
809
+ properties: z.ZodOptional<z.ZodObject<{
810
+ description: z.ZodOptional<z.ZodString>;
811
+ decorative: z.ZodDefault<z.ZodBoolean>;
812
+ brightness: z.ZodOptional<z.ZodNumber>;
813
+ focalPoint: z.ZodOptional<z.ZodObject<{
814
+ x: z.ZodNumber;
815
+ y: z.ZodNumber;
816
+ }, z.core.$strip>>;
817
+ }, z.core.$strip>>;
818
+ }, z.core.$strip>, z.ZodObject<{
819
+ type: z.ZodLiteral<"video">;
820
+ href: z.ZodString;
821
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
822
+ 1: "1";
823
+ 0.4: "0.4";
824
+ 0.6: "0.6";
825
+ 0.8: "0.8";
826
+ }>>>;
827
+ properties: z.ZodOptional<z.ZodObject<{
828
+ description: z.ZodOptional<z.ZodString>;
829
+ decorative: z.ZodDefault<z.ZodBoolean>;
830
+ }, z.core.$strip>>;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ type: z.ZodLiteral<"color">;
833
+ value: z.ZodString;
834
+ }, z.core.$strip>, z.ZodObject<{
835
+ type: z.ZodLiteral<"gradient">;
836
+ value: z.ZodString;
837
+ }, z.core.$strip>], "type">>;
838
+ }, z.core.$strip>, z.ZodObject<{
839
+ type: z.ZodLiteral<"float">;
840
+ placement: z.ZodEnum<{
841
+ left: "left";
842
+ right: "right";
843
+ }>;
844
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
845
+ type: z.ZodLiteral<"image">;
846
+ href: z.ZodString;
847
+ properties: z.ZodOptional<z.ZodObject<{
848
+ description: z.ZodOptional<z.ZodString>;
849
+ decorative: z.ZodDefault<z.ZodBoolean>;
850
+ brightness: z.ZodOptional<z.ZodNumber>;
851
+ focalPoint: z.ZodOptional<z.ZodObject<{
852
+ x: z.ZodNumber;
853
+ y: z.ZodNumber;
854
+ }, z.core.$strip>>;
855
+ }, z.core.$strip>>;
856
+ }, z.core.$strip>, z.ZodObject<{
857
+ type: z.ZodLiteral<"video">;
858
+ href: z.ZodString;
859
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
860
+ 1: "1";
861
+ 0.4: "0.4";
862
+ 0.6: "0.6";
863
+ 0.8: "0.8";
864
+ }>>>;
865
+ properties: z.ZodOptional<z.ZodObject<{
866
+ description: z.ZodOptional<z.ZodString>;
867
+ decorative: z.ZodDefault<z.ZodBoolean>;
868
+ }, z.core.$strip>>;
869
+ }, z.core.$strip>, z.ZodObject<{
870
+ type: z.ZodLiteral<"color">;
871
+ value: z.ZodString;
872
+ }, z.core.$strip>, z.ZodObject<{
873
+ type: z.ZodLiteral<"gradient">;
874
+ value: z.ZodString;
875
+ }, z.core.$strip>], "type">>;
876
+ }, z.core.$strip>, z.ZodObject<{
877
+ type: z.ZodLiteral<"split">;
878
+ placement: z.ZodEnum<{
879
+ left: "left";
880
+ right: "right";
881
+ }>;
882
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
883
+ type: z.ZodLiteral<"image">;
884
+ href: z.ZodString;
885
+ properties: z.ZodOptional<z.ZodObject<{
886
+ description: z.ZodOptional<z.ZodString>;
887
+ decorative: z.ZodDefault<z.ZodBoolean>;
888
+ brightness: z.ZodOptional<z.ZodNumber>;
889
+ focalPoint: z.ZodOptional<z.ZodObject<{
890
+ x: z.ZodNumber;
891
+ y: z.ZodNumber;
892
+ }, z.core.$strip>>;
893
+ }, z.core.$strip>>;
894
+ }, z.core.$strip>, z.ZodObject<{
895
+ type: z.ZodLiteral<"video">;
896
+ href: z.ZodString;
897
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
898
+ 1: "1";
899
+ 0.4: "0.4";
900
+ 0.6: "0.6";
901
+ 0.8: "0.8";
902
+ }>>>;
903
+ properties: z.ZodOptional<z.ZodObject<{
904
+ description: z.ZodOptional<z.ZodString>;
905
+ decorative: z.ZodDefault<z.ZodBoolean>;
906
+ }, z.core.$strip>>;
907
+ }, z.core.$strip>, z.ZodObject<{
908
+ type: z.ZodLiteral<"color">;
909
+ value: z.ZodString;
910
+ }, z.core.$strip>, z.ZodObject<{
911
+ type: z.ZodLiteral<"gradient">;
912
+ value: z.ZodString;
913
+ }, z.core.$strip>], "type">>;
914
+ }, z.core.$strip>, z.ZodObject<{
915
+ type: z.ZodLiteral<"wallpaper">;
916
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
917
+ type: z.ZodLiteral<"image">;
918
+ href: z.ZodString;
919
+ properties: z.ZodOptional<z.ZodObject<{
920
+ description: z.ZodOptional<z.ZodString>;
921
+ decorative: z.ZodDefault<z.ZodBoolean>;
922
+ brightness: z.ZodOptional<z.ZodNumber>;
923
+ focalPoint: z.ZodOptional<z.ZodObject<{
924
+ x: z.ZodNumber;
925
+ y: z.ZodNumber;
926
+ }, z.core.$strip>>;
927
+ }, z.core.$strip>>;
928
+ }, z.core.$strip>, z.ZodObject<{
929
+ type: z.ZodLiteral<"video">;
930
+ href: z.ZodString;
931
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
932
+ 1: "1";
933
+ 0.4: "0.4";
934
+ 0.6: "0.6";
935
+ 0.8: "0.8";
936
+ }>>>;
937
+ properties: z.ZodOptional<z.ZodObject<{
938
+ description: z.ZodOptional<z.ZodString>;
939
+ decorative: z.ZodDefault<z.ZodBoolean>;
940
+ }, z.core.$strip>>;
941
+ }, z.core.$strip>, z.ZodObject<{
942
+ type: z.ZodLiteral<"color">;
943
+ value: z.ZodString;
944
+ }, z.core.$strip>, z.ZodObject<{
945
+ type: z.ZodLiteral<"gradient">;
946
+ value: z.ZodString;
947
+ }, z.core.$strip>], "type">>;
948
+ }, z.core.$strip>], "type">;
949
+ }, z.core.$strip>>;
950
+ others: z.ZodOptional<z.ZodObject<{
951
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
952
+ type: z.ZodLiteral<"image">;
953
+ href: z.ZodString;
954
+ properties: z.ZodOptional<z.ZodObject<{
955
+ description: z.ZodOptional<z.ZodString>;
956
+ decorative: z.ZodDefault<z.ZodBoolean>;
957
+ brightness: z.ZodOptional<z.ZodNumber>;
958
+ focalPoint: z.ZodOptional<z.ZodObject<{
959
+ x: z.ZodNumber;
960
+ y: z.ZodNumber;
961
+ }, z.core.$strip>>;
962
+ }, z.core.$strip>>;
963
+ }, z.core.$strip>, z.ZodObject<{
964
+ type: z.ZodLiteral<"video">;
965
+ href: z.ZodString;
966
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
967
+ 1: "1";
968
+ 0.4: "0.4";
969
+ 0.6: "0.6";
970
+ 0.8: "0.8";
971
+ }>>>;
972
+ properties: z.ZodOptional<z.ZodObject<{
973
+ description: z.ZodOptional<z.ZodString>;
974
+ decorative: z.ZodDefault<z.ZodBoolean>;
975
+ }, z.core.$strip>>;
976
+ }, z.core.$strip>, z.ZodObject<{
977
+ type: z.ZodLiteral<"color">;
978
+ value: z.ZodString;
979
+ }, z.core.$strip>, z.ZodObject<{
980
+ type: z.ZodLiteral<"gradient">;
981
+ value: z.ZodString;
982
+ }, z.core.$strip>], "type">>;
983
+ layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
984
+ type: z.ZodLiteral<"stack">;
985
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
986
+ type: z.ZodLiteral<"image">;
987
+ href: z.ZodString;
988
+ properties: z.ZodOptional<z.ZodObject<{
989
+ description: z.ZodOptional<z.ZodString>;
990
+ decorative: z.ZodDefault<z.ZodBoolean>;
991
+ brightness: z.ZodOptional<z.ZodNumber>;
992
+ focalPoint: z.ZodOptional<z.ZodObject<{
993
+ x: z.ZodNumber;
994
+ y: z.ZodNumber;
995
+ }, z.core.$strip>>;
996
+ }, z.core.$strip>>;
997
+ }, z.core.$strip>, z.ZodObject<{
998
+ type: z.ZodLiteral<"video">;
999
+ href: z.ZodString;
1000
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1001
+ 1: "1";
1002
+ 0.4: "0.4";
1003
+ 0.6: "0.6";
1004
+ 0.8: "0.8";
1005
+ }>>>;
1006
+ properties: z.ZodOptional<z.ZodObject<{
1007
+ description: z.ZodOptional<z.ZodString>;
1008
+ decorative: z.ZodDefault<z.ZodBoolean>;
1009
+ }, z.core.$strip>>;
1010
+ }, z.core.$strip>, z.ZodObject<{
1011
+ type: z.ZodLiteral<"color">;
1012
+ value: z.ZodString;
1013
+ }, z.core.$strip>, z.ZodObject<{
1014
+ type: z.ZodLiteral<"gradient">;
1015
+ value: z.ZodString;
1016
+ }, z.core.$strip>], "type">>;
1017
+ }, z.core.$strip>, z.ZodObject<{
1018
+ type: z.ZodLiteral<"float">;
1019
+ placement: z.ZodEnum<{
1020
+ left: "left";
1021
+ right: "right";
1022
+ }>;
1023
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1024
+ type: z.ZodLiteral<"image">;
1025
+ href: z.ZodString;
1026
+ properties: z.ZodOptional<z.ZodObject<{
1027
+ description: z.ZodOptional<z.ZodString>;
1028
+ decorative: z.ZodDefault<z.ZodBoolean>;
1029
+ brightness: z.ZodOptional<z.ZodNumber>;
1030
+ focalPoint: z.ZodOptional<z.ZodObject<{
1031
+ x: z.ZodNumber;
1032
+ y: z.ZodNumber;
1033
+ }, z.core.$strip>>;
1034
+ }, z.core.$strip>>;
1035
+ }, z.core.$strip>, z.ZodObject<{
1036
+ type: z.ZodLiteral<"video">;
1037
+ href: z.ZodString;
1038
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1039
+ 1: "1";
1040
+ 0.4: "0.4";
1041
+ 0.6: "0.6";
1042
+ 0.8: "0.8";
1043
+ }>>>;
1044
+ properties: z.ZodOptional<z.ZodObject<{
1045
+ description: z.ZodOptional<z.ZodString>;
1046
+ decorative: z.ZodDefault<z.ZodBoolean>;
1047
+ }, z.core.$strip>>;
1048
+ }, z.core.$strip>, z.ZodObject<{
1049
+ type: z.ZodLiteral<"color">;
1050
+ value: z.ZodString;
1051
+ }, z.core.$strip>, z.ZodObject<{
1052
+ type: z.ZodLiteral<"gradient">;
1053
+ value: z.ZodString;
1054
+ }, z.core.$strip>], "type">>;
1055
+ }, z.core.$strip>, z.ZodObject<{
1056
+ type: z.ZodLiteral<"split">;
1057
+ placement: z.ZodEnum<{
1058
+ left: "left";
1059
+ right: "right";
1060
+ }>;
1061
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1062
+ type: z.ZodLiteral<"image">;
1063
+ href: z.ZodString;
1064
+ properties: z.ZodOptional<z.ZodObject<{
1065
+ description: z.ZodOptional<z.ZodString>;
1066
+ decorative: z.ZodDefault<z.ZodBoolean>;
1067
+ brightness: z.ZodOptional<z.ZodNumber>;
1068
+ focalPoint: z.ZodOptional<z.ZodObject<{
1069
+ x: z.ZodNumber;
1070
+ y: z.ZodNumber;
1071
+ }, z.core.$strip>>;
1072
+ }, z.core.$strip>>;
1073
+ }, z.core.$strip>, z.ZodObject<{
1074
+ type: z.ZodLiteral<"video">;
1075
+ href: z.ZodString;
1076
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1077
+ 1: "1";
1078
+ 0.4: "0.4";
1079
+ 0.6: "0.6";
1080
+ 0.8: "0.8";
1081
+ }>>>;
1082
+ properties: z.ZodOptional<z.ZodObject<{
1083
+ description: z.ZodOptional<z.ZodString>;
1084
+ decorative: z.ZodDefault<z.ZodBoolean>;
1085
+ }, z.core.$strip>>;
1086
+ }, z.core.$strip>, z.ZodObject<{
1087
+ type: z.ZodLiteral<"color">;
1088
+ value: z.ZodString;
1089
+ }, z.core.$strip>, z.ZodObject<{
1090
+ type: z.ZodLiteral<"gradient">;
1091
+ value: z.ZodString;
1092
+ }, z.core.$strip>], "type">>;
1093
+ }, z.core.$strip>, z.ZodObject<{
1094
+ type: z.ZodLiteral<"wallpaper">;
1095
+ attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1096
+ type: z.ZodLiteral<"image">;
1097
+ href: z.ZodString;
1098
+ properties: z.ZodOptional<z.ZodObject<{
1099
+ description: z.ZodOptional<z.ZodString>;
1100
+ decorative: z.ZodDefault<z.ZodBoolean>;
1101
+ brightness: z.ZodOptional<z.ZodNumber>;
1102
+ focalPoint: z.ZodOptional<z.ZodObject<{
1103
+ x: z.ZodNumber;
1104
+ y: z.ZodNumber;
1105
+ }, z.core.$strip>>;
1106
+ }, z.core.$strip>>;
1107
+ }, z.core.$strip>, z.ZodObject<{
1108
+ type: z.ZodLiteral<"video">;
1109
+ href: z.ZodString;
1110
+ scale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1111
+ 1: "1";
1112
+ 0.4: "0.4";
1113
+ 0.6: "0.6";
1114
+ 0.8: "0.8";
1115
+ }>>>;
1116
+ properties: z.ZodOptional<z.ZodObject<{
1117
+ description: z.ZodOptional<z.ZodString>;
1118
+ decorative: z.ZodDefault<z.ZodBoolean>;
1119
+ }, z.core.$strip>>;
1120
+ }, z.core.$strip>, z.ZodObject<{
1121
+ type: z.ZodLiteral<"color">;
1122
+ value: z.ZodString;
1123
+ }, z.core.$strip>, z.ZodObject<{
1124
+ type: z.ZodLiteral<"gradient">;
1125
+ value: z.ZodString;
1126
+ }, z.core.$strip>], "type">>;
1127
+ }, z.core.$strip>], "type">;
1128
+ }, z.core.$strip>>;
1129
+ }, z.core.$strip>>;
1130
+ }, z.core.$strip>;
1131
+ export type FocalPoint = z.infer<typeof focalPointSchema>;
1132
+ export type ImageAttachment = z.infer<typeof imageAttachmentSchema>;
1133
+ export type VideoAttachment = z.infer<typeof videoAttachmentSchema>;
1134
+ export type ColorAttachment = z.infer<typeof colorAttachmentSchema>;
1135
+ export type GradientAttachment = z.infer<typeof gradientAttachmentSchema>;
1136
+ export type LayoutAttachment = z.infer<typeof layoutAttachmentSchema>;
1137
+ export type StackLayout = z.infer<typeof stackLayoutSchema>;
1138
+ export type FloatLayout = z.infer<typeof floatLayoutSchema>;
1139
+ export type SplitLayout = z.infer<typeof splitLayoutSchema>;
1140
+ export type WallpaperLayout = z.infer<typeof wallpaperLayoutSchema>;
1141
+ export type SectionLayoutVariant = z.infer<typeof sectionLayoutVariantSchema>;
1142
+ export type LayoutSurface = z.infer<typeof layoutSurfaceSchema>;
1143
+ export type SectionLayout = z.infer<typeof sectionLayoutSchema>;