foundrycms 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +152 -0
  3. package/dist/__tests__/foundry.test.d.ts +2 -0
  4. package/dist/__tests__/foundry.test.d.ts.map +1 -0
  5. package/dist/__tests__/foundry.test.js +1013 -0
  6. package/dist/__tests__/foundry.test.js.map +1 -0
  7. package/dist/config-manager.d.ts +33 -0
  8. package/dist/config-manager.d.ts.map +1 -0
  9. package/dist/config-manager.js +169 -0
  10. package/dist/config-manager.js.map +1 -0
  11. package/dist/hook-system.d.ts +61 -0
  12. package/dist/hook-system.d.ts.map +1 -0
  13. package/dist/hook-system.js +114 -0
  14. package/dist/hook-system.js.map +1 -0
  15. package/dist/index.d.ts +47 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +82 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/page-builder/element-registry.d.ts +47 -0
  20. package/dist/page-builder/element-registry.d.ts.map +1 -0
  21. package/dist/page-builder/element-registry.js +98 -0
  22. package/dist/page-builder/element-registry.js.map +1 -0
  23. package/dist/page-builder/elements/index.d.ts +22 -0
  24. package/dist/page-builder/elements/index.d.ts.map +1 -0
  25. package/dist/page-builder/elements/index.js +770 -0
  26. package/dist/page-builder/elements/index.js.map +1 -0
  27. package/dist/page-builder/renderer.d.ts +14 -0
  28. package/dist/page-builder/renderer.d.ts.map +1 -0
  29. package/dist/page-builder/renderer.js +240 -0
  30. package/dist/page-builder/renderer.js.map +1 -0
  31. package/dist/page-builder/serializer.d.ts +1220 -0
  32. package/dist/page-builder/serializer.d.ts.map +1 -0
  33. package/dist/page-builder/serializer.js +111 -0
  34. package/dist/page-builder/serializer.js.map +1 -0
  35. package/dist/page-builder/template-studio.d.ts +37 -0
  36. package/dist/page-builder/template-studio.d.ts.map +1 -0
  37. package/dist/page-builder/template-studio.js +923 -0
  38. package/dist/page-builder/template-studio.js.map +1 -0
  39. package/dist/page-builder/types.d.ts +99 -0
  40. package/dist/page-builder/types.d.ts.map +1 -0
  41. package/dist/page-builder/types.js +5 -0
  42. package/dist/page-builder/types.js.map +1 -0
  43. package/dist/plugin-system.d.ts +128 -0
  44. package/dist/plugin-system.d.ts.map +1 -0
  45. package/dist/plugin-system.js +252 -0
  46. package/dist/plugin-system.js.map +1 -0
  47. package/dist/plugins/communication.d.ts +6 -0
  48. package/dist/plugins/communication.d.ts.map +1 -0
  49. package/dist/plugins/communication.js +922 -0
  50. package/dist/plugins/communication.js.map +1 -0
  51. package/dist/plugins/core.d.ts +6 -0
  52. package/dist/plugins/core.d.ts.map +1 -0
  53. package/dist/plugins/core.js +675 -0
  54. package/dist/plugins/core.js.map +1 -0
  55. package/dist/plugins/growth.d.ts +6 -0
  56. package/dist/plugins/growth.d.ts.map +1 -0
  57. package/dist/plugins/growth.js +668 -0
  58. package/dist/plugins/growth.js.map +1 -0
  59. package/dist/plugins/index.d.ts +8 -0
  60. package/dist/plugins/index.d.ts.map +1 -0
  61. package/dist/plugins/index.js +43 -0
  62. package/dist/plugins/index.js.map +1 -0
  63. package/dist/plugins/operations.d.ts +7 -0
  64. package/dist/plugins/operations.d.ts.map +1 -0
  65. package/dist/plugins/operations.js +930 -0
  66. package/dist/plugins/operations.js.map +1 -0
  67. package/dist/theme/presets.d.ts +8 -0
  68. package/dist/theme/presets.d.ts.map +1 -0
  69. package/dist/theme/presets.js +257 -0
  70. package/dist/theme/presets.js.map +1 -0
  71. package/dist/theme/types.d.ts +83 -0
  72. package/dist/theme/types.d.ts.map +1 -0
  73. package/dist/theme/types.js +5 -0
  74. package/dist/theme/types.js.map +1 -0
  75. package/package.json +38 -0
@@ -0,0 +1,1220 @@
1
+ import { z } from 'zod';
2
+ import type { PageData } from './types.js';
3
+ declare const ElementSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ type: z.ZodString;
6
+ settings: z.ZodRecord<z.ZodString, z.ZodAny>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: string;
9
+ settings: Record<string, any>;
10
+ id: string;
11
+ }, {
12
+ type: string;
13
+ settings: Record<string, any>;
14
+ id: string;
15
+ }>;
16
+ declare const ColumnSchema: z.ZodObject<{
17
+ id: z.ZodString;
18
+ width: z.ZodString;
19
+ settings: z.ZodObject<{
20
+ verticalAlign: z.ZodOptional<z.ZodString>;
21
+ padding: z.ZodOptional<z.ZodString>;
22
+ className: z.ZodOptional<z.ZodString>;
23
+ background: z.ZodOptional<z.ZodObject<{
24
+ type: z.ZodEnum<["color", "gradient", "image", "video"]>;
25
+ color: z.ZodOptional<z.ZodString>;
26
+ gradient: z.ZodOptional<z.ZodString>;
27
+ imageUrl: z.ZodOptional<z.ZodString>;
28
+ videoUrl: z.ZodOptional<z.ZodString>;
29
+ overlay: z.ZodOptional<z.ZodString>;
30
+ overlayOpacity: z.ZodOptional<z.ZodNumber>;
31
+ size: z.ZodOptional<z.ZodString>;
32
+ position: z.ZodOptional<z.ZodString>;
33
+ repeat: z.ZodOptional<z.ZodString>;
34
+ attachment: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ type: "color" | "gradient" | "image" | "video";
37
+ color?: string | undefined;
38
+ gradient?: string | undefined;
39
+ overlay?: string | undefined;
40
+ size?: string | undefined;
41
+ imageUrl?: string | undefined;
42
+ videoUrl?: string | undefined;
43
+ overlayOpacity?: number | undefined;
44
+ position?: string | undefined;
45
+ repeat?: string | undefined;
46
+ attachment?: string | undefined;
47
+ }, {
48
+ type: "color" | "gradient" | "image" | "video";
49
+ color?: string | undefined;
50
+ gradient?: string | undefined;
51
+ overlay?: string | undefined;
52
+ size?: string | undefined;
53
+ imageUrl?: string | undefined;
54
+ videoUrl?: string | undefined;
55
+ overlayOpacity?: number | undefined;
56
+ position?: string | undefined;
57
+ repeat?: string | undefined;
58
+ attachment?: string | undefined;
59
+ }>>;
60
+ animation: z.ZodOptional<z.ZodObject<{
61
+ type: z.ZodString;
62
+ delay: z.ZodOptional<z.ZodNumber>;
63
+ duration: z.ZodOptional<z.ZodNumber>;
64
+ easing: z.ZodOptional<z.ZodString>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ type: string;
67
+ delay?: number | undefined;
68
+ duration?: number | undefined;
69
+ easing?: string | undefined;
70
+ }, {
71
+ type: string;
72
+ delay?: number | undefined;
73
+ duration?: number | undefined;
74
+ easing?: string | undefined;
75
+ }>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ className?: string | undefined;
78
+ verticalAlign?: string | undefined;
79
+ padding?: string | undefined;
80
+ background?: {
81
+ type: "color" | "gradient" | "image" | "video";
82
+ color?: string | undefined;
83
+ gradient?: string | undefined;
84
+ overlay?: string | undefined;
85
+ size?: string | undefined;
86
+ imageUrl?: string | undefined;
87
+ videoUrl?: string | undefined;
88
+ overlayOpacity?: number | undefined;
89
+ position?: string | undefined;
90
+ repeat?: string | undefined;
91
+ attachment?: string | undefined;
92
+ } | undefined;
93
+ animation?: {
94
+ type: string;
95
+ delay?: number | undefined;
96
+ duration?: number | undefined;
97
+ easing?: string | undefined;
98
+ } | undefined;
99
+ }, {
100
+ className?: string | undefined;
101
+ verticalAlign?: string | undefined;
102
+ padding?: string | undefined;
103
+ background?: {
104
+ type: "color" | "gradient" | "image" | "video";
105
+ color?: string | undefined;
106
+ gradient?: string | undefined;
107
+ overlay?: string | undefined;
108
+ size?: string | undefined;
109
+ imageUrl?: string | undefined;
110
+ videoUrl?: string | undefined;
111
+ overlayOpacity?: number | undefined;
112
+ position?: string | undefined;
113
+ repeat?: string | undefined;
114
+ attachment?: string | undefined;
115
+ } | undefined;
116
+ animation?: {
117
+ type: string;
118
+ delay?: number | undefined;
119
+ duration?: number | undefined;
120
+ easing?: string | undefined;
121
+ } | undefined;
122
+ }>;
123
+ elements: z.ZodArray<z.ZodObject<{
124
+ id: z.ZodString;
125
+ type: z.ZodString;
126
+ settings: z.ZodRecord<z.ZodString, z.ZodAny>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ type: string;
129
+ settings: Record<string, any>;
130
+ id: string;
131
+ }, {
132
+ type: string;
133
+ settings: Record<string, any>;
134
+ id: string;
135
+ }>, "many">;
136
+ }, "strip", z.ZodTypeAny, {
137
+ settings: {
138
+ className?: string | undefined;
139
+ verticalAlign?: string | undefined;
140
+ padding?: string | undefined;
141
+ background?: {
142
+ type: "color" | "gradient" | "image" | "video";
143
+ color?: string | undefined;
144
+ gradient?: string | undefined;
145
+ overlay?: string | undefined;
146
+ size?: string | undefined;
147
+ imageUrl?: string | undefined;
148
+ videoUrl?: string | undefined;
149
+ overlayOpacity?: number | undefined;
150
+ position?: string | undefined;
151
+ repeat?: string | undefined;
152
+ attachment?: string | undefined;
153
+ } | undefined;
154
+ animation?: {
155
+ type: string;
156
+ delay?: number | undefined;
157
+ duration?: number | undefined;
158
+ easing?: string | undefined;
159
+ } | undefined;
160
+ };
161
+ width: string;
162
+ id: string;
163
+ elements: {
164
+ type: string;
165
+ settings: Record<string, any>;
166
+ id: string;
167
+ }[];
168
+ }, {
169
+ settings: {
170
+ className?: string | undefined;
171
+ verticalAlign?: string | undefined;
172
+ padding?: string | undefined;
173
+ background?: {
174
+ type: "color" | "gradient" | "image" | "video";
175
+ color?: string | undefined;
176
+ gradient?: string | undefined;
177
+ overlay?: string | undefined;
178
+ size?: string | undefined;
179
+ imageUrl?: string | undefined;
180
+ videoUrl?: string | undefined;
181
+ overlayOpacity?: number | undefined;
182
+ position?: string | undefined;
183
+ repeat?: string | undefined;
184
+ attachment?: string | undefined;
185
+ } | undefined;
186
+ animation?: {
187
+ type: string;
188
+ delay?: number | undefined;
189
+ duration?: number | undefined;
190
+ easing?: string | undefined;
191
+ } | undefined;
192
+ };
193
+ width: string;
194
+ id: string;
195
+ elements: {
196
+ type: string;
197
+ settings: Record<string, any>;
198
+ id: string;
199
+ }[];
200
+ }>;
201
+ declare const RowSchema: z.ZodObject<{
202
+ id: z.ZodString;
203
+ type: z.ZodLiteral<"row">;
204
+ settings: z.ZodObject<{
205
+ layout: z.ZodString;
206
+ gap: z.ZodOptional<z.ZodString>;
207
+ paddingTop: z.ZodOptional<z.ZodString>;
208
+ paddingBottom: z.ZodOptional<z.ZodString>;
209
+ background: z.ZodOptional<z.ZodObject<{
210
+ type: z.ZodEnum<["color", "gradient", "image", "video"]>;
211
+ color: z.ZodOptional<z.ZodString>;
212
+ gradient: z.ZodOptional<z.ZodString>;
213
+ imageUrl: z.ZodOptional<z.ZodString>;
214
+ videoUrl: z.ZodOptional<z.ZodString>;
215
+ overlay: z.ZodOptional<z.ZodString>;
216
+ overlayOpacity: z.ZodOptional<z.ZodNumber>;
217
+ size: z.ZodOptional<z.ZodString>;
218
+ position: z.ZodOptional<z.ZodString>;
219
+ repeat: z.ZodOptional<z.ZodString>;
220
+ attachment: z.ZodOptional<z.ZodString>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ type: "color" | "gradient" | "image" | "video";
223
+ color?: string | undefined;
224
+ gradient?: string | undefined;
225
+ overlay?: string | undefined;
226
+ size?: string | undefined;
227
+ imageUrl?: string | undefined;
228
+ videoUrl?: string | undefined;
229
+ overlayOpacity?: number | undefined;
230
+ position?: string | undefined;
231
+ repeat?: string | undefined;
232
+ attachment?: string | undefined;
233
+ }, {
234
+ type: "color" | "gradient" | "image" | "video";
235
+ color?: string | undefined;
236
+ gradient?: string | undefined;
237
+ overlay?: string | undefined;
238
+ size?: string | undefined;
239
+ imageUrl?: string | undefined;
240
+ videoUrl?: string | undefined;
241
+ overlayOpacity?: number | undefined;
242
+ position?: string | undefined;
243
+ repeat?: string | undefined;
244
+ attachment?: string | undefined;
245
+ }>>;
246
+ className: z.ZodOptional<z.ZodString>;
247
+ visibility: z.ZodOptional<z.ZodString>;
248
+ anchorId: z.ZodOptional<z.ZodString>;
249
+ }, "strip", z.ZodTypeAny, {
250
+ layout: string;
251
+ gap?: string | undefined;
252
+ paddingTop?: string | undefined;
253
+ paddingBottom?: string | undefined;
254
+ className?: string | undefined;
255
+ background?: {
256
+ type: "color" | "gradient" | "image" | "video";
257
+ color?: string | undefined;
258
+ gradient?: string | undefined;
259
+ overlay?: string | undefined;
260
+ size?: string | undefined;
261
+ imageUrl?: string | undefined;
262
+ videoUrl?: string | undefined;
263
+ overlayOpacity?: number | undefined;
264
+ position?: string | undefined;
265
+ repeat?: string | undefined;
266
+ attachment?: string | undefined;
267
+ } | undefined;
268
+ visibility?: string | undefined;
269
+ anchorId?: string | undefined;
270
+ }, {
271
+ layout: string;
272
+ gap?: string | undefined;
273
+ paddingTop?: string | undefined;
274
+ paddingBottom?: string | undefined;
275
+ className?: string | undefined;
276
+ background?: {
277
+ type: "color" | "gradient" | "image" | "video";
278
+ color?: string | undefined;
279
+ gradient?: string | undefined;
280
+ overlay?: string | undefined;
281
+ size?: string | undefined;
282
+ imageUrl?: string | undefined;
283
+ videoUrl?: string | undefined;
284
+ overlayOpacity?: number | undefined;
285
+ position?: string | undefined;
286
+ repeat?: string | undefined;
287
+ attachment?: string | undefined;
288
+ } | undefined;
289
+ visibility?: string | undefined;
290
+ anchorId?: string | undefined;
291
+ }>;
292
+ columns: z.ZodArray<z.ZodObject<{
293
+ id: z.ZodString;
294
+ width: z.ZodString;
295
+ settings: z.ZodObject<{
296
+ verticalAlign: z.ZodOptional<z.ZodString>;
297
+ padding: z.ZodOptional<z.ZodString>;
298
+ className: z.ZodOptional<z.ZodString>;
299
+ background: z.ZodOptional<z.ZodObject<{
300
+ type: z.ZodEnum<["color", "gradient", "image", "video"]>;
301
+ color: z.ZodOptional<z.ZodString>;
302
+ gradient: z.ZodOptional<z.ZodString>;
303
+ imageUrl: z.ZodOptional<z.ZodString>;
304
+ videoUrl: z.ZodOptional<z.ZodString>;
305
+ overlay: z.ZodOptional<z.ZodString>;
306
+ overlayOpacity: z.ZodOptional<z.ZodNumber>;
307
+ size: z.ZodOptional<z.ZodString>;
308
+ position: z.ZodOptional<z.ZodString>;
309
+ repeat: z.ZodOptional<z.ZodString>;
310
+ attachment: z.ZodOptional<z.ZodString>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ type: "color" | "gradient" | "image" | "video";
313
+ color?: string | undefined;
314
+ gradient?: string | undefined;
315
+ overlay?: string | undefined;
316
+ size?: string | undefined;
317
+ imageUrl?: string | undefined;
318
+ videoUrl?: string | undefined;
319
+ overlayOpacity?: number | undefined;
320
+ position?: string | undefined;
321
+ repeat?: string | undefined;
322
+ attachment?: string | undefined;
323
+ }, {
324
+ type: "color" | "gradient" | "image" | "video";
325
+ color?: string | undefined;
326
+ gradient?: string | undefined;
327
+ overlay?: string | undefined;
328
+ size?: string | undefined;
329
+ imageUrl?: string | undefined;
330
+ videoUrl?: string | undefined;
331
+ overlayOpacity?: number | undefined;
332
+ position?: string | undefined;
333
+ repeat?: string | undefined;
334
+ attachment?: string | undefined;
335
+ }>>;
336
+ animation: z.ZodOptional<z.ZodObject<{
337
+ type: z.ZodString;
338
+ delay: z.ZodOptional<z.ZodNumber>;
339
+ duration: z.ZodOptional<z.ZodNumber>;
340
+ easing: z.ZodOptional<z.ZodString>;
341
+ }, "strip", z.ZodTypeAny, {
342
+ type: string;
343
+ delay?: number | undefined;
344
+ duration?: number | undefined;
345
+ easing?: string | undefined;
346
+ }, {
347
+ type: string;
348
+ delay?: number | undefined;
349
+ duration?: number | undefined;
350
+ easing?: string | undefined;
351
+ }>>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ className?: string | undefined;
354
+ verticalAlign?: string | undefined;
355
+ padding?: string | undefined;
356
+ background?: {
357
+ type: "color" | "gradient" | "image" | "video";
358
+ color?: string | undefined;
359
+ gradient?: string | undefined;
360
+ overlay?: string | undefined;
361
+ size?: string | undefined;
362
+ imageUrl?: string | undefined;
363
+ videoUrl?: string | undefined;
364
+ overlayOpacity?: number | undefined;
365
+ position?: string | undefined;
366
+ repeat?: string | undefined;
367
+ attachment?: string | undefined;
368
+ } | undefined;
369
+ animation?: {
370
+ type: string;
371
+ delay?: number | undefined;
372
+ duration?: number | undefined;
373
+ easing?: string | undefined;
374
+ } | undefined;
375
+ }, {
376
+ className?: string | undefined;
377
+ verticalAlign?: string | undefined;
378
+ padding?: string | undefined;
379
+ background?: {
380
+ type: "color" | "gradient" | "image" | "video";
381
+ color?: string | undefined;
382
+ gradient?: string | undefined;
383
+ overlay?: string | undefined;
384
+ size?: string | undefined;
385
+ imageUrl?: string | undefined;
386
+ videoUrl?: string | undefined;
387
+ overlayOpacity?: number | undefined;
388
+ position?: string | undefined;
389
+ repeat?: string | undefined;
390
+ attachment?: string | undefined;
391
+ } | undefined;
392
+ animation?: {
393
+ type: string;
394
+ delay?: number | undefined;
395
+ duration?: number | undefined;
396
+ easing?: string | undefined;
397
+ } | undefined;
398
+ }>;
399
+ elements: z.ZodArray<z.ZodObject<{
400
+ id: z.ZodString;
401
+ type: z.ZodString;
402
+ settings: z.ZodRecord<z.ZodString, z.ZodAny>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ type: string;
405
+ settings: Record<string, any>;
406
+ id: string;
407
+ }, {
408
+ type: string;
409
+ settings: Record<string, any>;
410
+ id: string;
411
+ }>, "many">;
412
+ }, "strip", z.ZodTypeAny, {
413
+ settings: {
414
+ className?: string | undefined;
415
+ verticalAlign?: string | undefined;
416
+ padding?: string | undefined;
417
+ background?: {
418
+ type: "color" | "gradient" | "image" | "video";
419
+ color?: string | undefined;
420
+ gradient?: string | undefined;
421
+ overlay?: string | undefined;
422
+ size?: string | undefined;
423
+ imageUrl?: string | undefined;
424
+ videoUrl?: string | undefined;
425
+ overlayOpacity?: number | undefined;
426
+ position?: string | undefined;
427
+ repeat?: string | undefined;
428
+ attachment?: string | undefined;
429
+ } | undefined;
430
+ animation?: {
431
+ type: string;
432
+ delay?: number | undefined;
433
+ duration?: number | undefined;
434
+ easing?: string | undefined;
435
+ } | undefined;
436
+ };
437
+ width: string;
438
+ id: string;
439
+ elements: {
440
+ type: string;
441
+ settings: Record<string, any>;
442
+ id: string;
443
+ }[];
444
+ }, {
445
+ settings: {
446
+ className?: string | undefined;
447
+ verticalAlign?: string | undefined;
448
+ padding?: string | undefined;
449
+ background?: {
450
+ type: "color" | "gradient" | "image" | "video";
451
+ color?: string | undefined;
452
+ gradient?: string | undefined;
453
+ overlay?: string | undefined;
454
+ size?: string | undefined;
455
+ imageUrl?: string | undefined;
456
+ videoUrl?: string | undefined;
457
+ overlayOpacity?: number | undefined;
458
+ position?: string | undefined;
459
+ repeat?: string | undefined;
460
+ attachment?: string | undefined;
461
+ } | undefined;
462
+ animation?: {
463
+ type: string;
464
+ delay?: number | undefined;
465
+ duration?: number | undefined;
466
+ easing?: string | undefined;
467
+ } | undefined;
468
+ };
469
+ width: string;
470
+ id: string;
471
+ elements: {
472
+ type: string;
473
+ settings: Record<string, any>;
474
+ id: string;
475
+ }[];
476
+ }>, "many">;
477
+ }, "strip", z.ZodTypeAny, {
478
+ type: "row";
479
+ settings: {
480
+ layout: string;
481
+ gap?: string | undefined;
482
+ paddingTop?: string | undefined;
483
+ paddingBottom?: string | undefined;
484
+ className?: string | undefined;
485
+ background?: {
486
+ type: "color" | "gradient" | "image" | "video";
487
+ color?: string | undefined;
488
+ gradient?: string | undefined;
489
+ overlay?: string | undefined;
490
+ size?: string | undefined;
491
+ imageUrl?: string | undefined;
492
+ videoUrl?: string | undefined;
493
+ overlayOpacity?: number | undefined;
494
+ position?: string | undefined;
495
+ repeat?: string | undefined;
496
+ attachment?: string | undefined;
497
+ } | undefined;
498
+ visibility?: string | undefined;
499
+ anchorId?: string | undefined;
500
+ };
501
+ columns: {
502
+ settings: {
503
+ className?: string | undefined;
504
+ verticalAlign?: string | undefined;
505
+ padding?: string | undefined;
506
+ background?: {
507
+ type: "color" | "gradient" | "image" | "video";
508
+ color?: string | undefined;
509
+ gradient?: string | undefined;
510
+ overlay?: string | undefined;
511
+ size?: string | undefined;
512
+ imageUrl?: string | undefined;
513
+ videoUrl?: string | undefined;
514
+ overlayOpacity?: number | undefined;
515
+ position?: string | undefined;
516
+ repeat?: string | undefined;
517
+ attachment?: string | undefined;
518
+ } | undefined;
519
+ animation?: {
520
+ type: string;
521
+ delay?: number | undefined;
522
+ duration?: number | undefined;
523
+ easing?: string | undefined;
524
+ } | undefined;
525
+ };
526
+ width: string;
527
+ id: string;
528
+ elements: {
529
+ type: string;
530
+ settings: Record<string, any>;
531
+ id: string;
532
+ }[];
533
+ }[];
534
+ id: string;
535
+ }, {
536
+ type: "row";
537
+ settings: {
538
+ layout: string;
539
+ gap?: string | undefined;
540
+ paddingTop?: string | undefined;
541
+ paddingBottom?: string | undefined;
542
+ className?: string | undefined;
543
+ background?: {
544
+ type: "color" | "gradient" | "image" | "video";
545
+ color?: string | undefined;
546
+ gradient?: string | undefined;
547
+ overlay?: string | undefined;
548
+ size?: string | undefined;
549
+ imageUrl?: string | undefined;
550
+ videoUrl?: string | undefined;
551
+ overlayOpacity?: number | undefined;
552
+ position?: string | undefined;
553
+ repeat?: string | undefined;
554
+ attachment?: string | undefined;
555
+ } | undefined;
556
+ visibility?: string | undefined;
557
+ anchorId?: string | undefined;
558
+ };
559
+ columns: {
560
+ settings: {
561
+ className?: string | undefined;
562
+ verticalAlign?: string | undefined;
563
+ padding?: string | undefined;
564
+ background?: {
565
+ type: "color" | "gradient" | "image" | "video";
566
+ color?: string | undefined;
567
+ gradient?: string | undefined;
568
+ overlay?: string | undefined;
569
+ size?: string | undefined;
570
+ imageUrl?: string | undefined;
571
+ videoUrl?: string | undefined;
572
+ overlayOpacity?: number | undefined;
573
+ position?: string | undefined;
574
+ repeat?: string | undefined;
575
+ attachment?: string | undefined;
576
+ } | undefined;
577
+ animation?: {
578
+ type: string;
579
+ delay?: number | undefined;
580
+ duration?: number | undefined;
581
+ easing?: string | undefined;
582
+ } | undefined;
583
+ };
584
+ width: string;
585
+ id: string;
586
+ elements: {
587
+ type: string;
588
+ settings: Record<string, any>;
589
+ id: string;
590
+ }[];
591
+ }[];
592
+ id: string;
593
+ }>;
594
+ declare const PageMetaSchema: z.ZodObject<{
595
+ description: z.ZodOptional<z.ZodString>;
596
+ ogTitle: z.ZodOptional<z.ZodString>;
597
+ ogDescription: z.ZodOptional<z.ZodString>;
598
+ ogImage: z.ZodOptional<z.ZodString>;
599
+ noIndex: z.ZodOptional<z.ZodBoolean>;
600
+ canonicalUrl: z.ZodOptional<z.ZodString>;
601
+ customHead: z.ZodOptional<z.ZodString>;
602
+ }, "strip", z.ZodTypeAny, {
603
+ description?: string | undefined;
604
+ ogTitle?: string | undefined;
605
+ ogDescription?: string | undefined;
606
+ ogImage?: string | undefined;
607
+ noIndex?: boolean | undefined;
608
+ canonicalUrl?: string | undefined;
609
+ customHead?: string | undefined;
610
+ }, {
611
+ description?: string | undefined;
612
+ ogTitle?: string | undefined;
613
+ ogDescription?: string | undefined;
614
+ ogImage?: string | undefined;
615
+ noIndex?: boolean | undefined;
616
+ canonicalUrl?: string | undefined;
617
+ customHead?: string | undefined;
618
+ }>;
619
+ declare const PageDataSchema: z.ZodObject<{
620
+ id: z.ZodString;
621
+ title: z.ZodString;
622
+ slug: z.ZodString;
623
+ status: z.ZodEnum<["draft", "published", "scheduled"]>;
624
+ template: z.ZodString;
625
+ content: z.ZodArray<z.ZodObject<{
626
+ id: z.ZodString;
627
+ type: z.ZodLiteral<"row">;
628
+ settings: z.ZodObject<{
629
+ layout: z.ZodString;
630
+ gap: z.ZodOptional<z.ZodString>;
631
+ paddingTop: z.ZodOptional<z.ZodString>;
632
+ paddingBottom: z.ZodOptional<z.ZodString>;
633
+ background: z.ZodOptional<z.ZodObject<{
634
+ type: z.ZodEnum<["color", "gradient", "image", "video"]>;
635
+ color: z.ZodOptional<z.ZodString>;
636
+ gradient: z.ZodOptional<z.ZodString>;
637
+ imageUrl: z.ZodOptional<z.ZodString>;
638
+ videoUrl: z.ZodOptional<z.ZodString>;
639
+ overlay: z.ZodOptional<z.ZodString>;
640
+ overlayOpacity: z.ZodOptional<z.ZodNumber>;
641
+ size: z.ZodOptional<z.ZodString>;
642
+ position: z.ZodOptional<z.ZodString>;
643
+ repeat: z.ZodOptional<z.ZodString>;
644
+ attachment: z.ZodOptional<z.ZodString>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ type: "color" | "gradient" | "image" | "video";
647
+ color?: string | undefined;
648
+ gradient?: string | undefined;
649
+ overlay?: string | undefined;
650
+ size?: string | undefined;
651
+ imageUrl?: string | undefined;
652
+ videoUrl?: string | undefined;
653
+ overlayOpacity?: number | undefined;
654
+ position?: string | undefined;
655
+ repeat?: string | undefined;
656
+ attachment?: string | undefined;
657
+ }, {
658
+ type: "color" | "gradient" | "image" | "video";
659
+ color?: string | undefined;
660
+ gradient?: string | undefined;
661
+ overlay?: string | undefined;
662
+ size?: string | undefined;
663
+ imageUrl?: string | undefined;
664
+ videoUrl?: string | undefined;
665
+ overlayOpacity?: number | undefined;
666
+ position?: string | undefined;
667
+ repeat?: string | undefined;
668
+ attachment?: string | undefined;
669
+ }>>;
670
+ className: z.ZodOptional<z.ZodString>;
671
+ visibility: z.ZodOptional<z.ZodString>;
672
+ anchorId: z.ZodOptional<z.ZodString>;
673
+ }, "strip", z.ZodTypeAny, {
674
+ layout: string;
675
+ gap?: string | undefined;
676
+ paddingTop?: string | undefined;
677
+ paddingBottom?: string | undefined;
678
+ className?: string | undefined;
679
+ background?: {
680
+ type: "color" | "gradient" | "image" | "video";
681
+ color?: string | undefined;
682
+ gradient?: string | undefined;
683
+ overlay?: string | undefined;
684
+ size?: string | undefined;
685
+ imageUrl?: string | undefined;
686
+ videoUrl?: string | undefined;
687
+ overlayOpacity?: number | undefined;
688
+ position?: string | undefined;
689
+ repeat?: string | undefined;
690
+ attachment?: string | undefined;
691
+ } | undefined;
692
+ visibility?: string | undefined;
693
+ anchorId?: string | undefined;
694
+ }, {
695
+ layout: string;
696
+ gap?: string | undefined;
697
+ paddingTop?: string | undefined;
698
+ paddingBottom?: string | undefined;
699
+ className?: string | undefined;
700
+ background?: {
701
+ type: "color" | "gradient" | "image" | "video";
702
+ color?: string | undefined;
703
+ gradient?: string | undefined;
704
+ overlay?: string | undefined;
705
+ size?: string | undefined;
706
+ imageUrl?: string | undefined;
707
+ videoUrl?: string | undefined;
708
+ overlayOpacity?: number | undefined;
709
+ position?: string | undefined;
710
+ repeat?: string | undefined;
711
+ attachment?: string | undefined;
712
+ } | undefined;
713
+ visibility?: string | undefined;
714
+ anchorId?: string | undefined;
715
+ }>;
716
+ columns: z.ZodArray<z.ZodObject<{
717
+ id: z.ZodString;
718
+ width: z.ZodString;
719
+ settings: z.ZodObject<{
720
+ verticalAlign: z.ZodOptional<z.ZodString>;
721
+ padding: z.ZodOptional<z.ZodString>;
722
+ className: z.ZodOptional<z.ZodString>;
723
+ background: z.ZodOptional<z.ZodObject<{
724
+ type: z.ZodEnum<["color", "gradient", "image", "video"]>;
725
+ color: z.ZodOptional<z.ZodString>;
726
+ gradient: z.ZodOptional<z.ZodString>;
727
+ imageUrl: z.ZodOptional<z.ZodString>;
728
+ videoUrl: z.ZodOptional<z.ZodString>;
729
+ overlay: z.ZodOptional<z.ZodString>;
730
+ overlayOpacity: z.ZodOptional<z.ZodNumber>;
731
+ size: z.ZodOptional<z.ZodString>;
732
+ position: z.ZodOptional<z.ZodString>;
733
+ repeat: z.ZodOptional<z.ZodString>;
734
+ attachment: z.ZodOptional<z.ZodString>;
735
+ }, "strip", z.ZodTypeAny, {
736
+ type: "color" | "gradient" | "image" | "video";
737
+ color?: string | undefined;
738
+ gradient?: string | undefined;
739
+ overlay?: string | undefined;
740
+ size?: string | undefined;
741
+ imageUrl?: string | undefined;
742
+ videoUrl?: string | undefined;
743
+ overlayOpacity?: number | undefined;
744
+ position?: string | undefined;
745
+ repeat?: string | undefined;
746
+ attachment?: string | undefined;
747
+ }, {
748
+ type: "color" | "gradient" | "image" | "video";
749
+ color?: string | undefined;
750
+ gradient?: string | undefined;
751
+ overlay?: string | undefined;
752
+ size?: string | undefined;
753
+ imageUrl?: string | undefined;
754
+ videoUrl?: string | undefined;
755
+ overlayOpacity?: number | undefined;
756
+ position?: string | undefined;
757
+ repeat?: string | undefined;
758
+ attachment?: string | undefined;
759
+ }>>;
760
+ animation: z.ZodOptional<z.ZodObject<{
761
+ type: z.ZodString;
762
+ delay: z.ZodOptional<z.ZodNumber>;
763
+ duration: z.ZodOptional<z.ZodNumber>;
764
+ easing: z.ZodOptional<z.ZodString>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ type: string;
767
+ delay?: number | undefined;
768
+ duration?: number | undefined;
769
+ easing?: string | undefined;
770
+ }, {
771
+ type: string;
772
+ delay?: number | undefined;
773
+ duration?: number | undefined;
774
+ easing?: string | undefined;
775
+ }>>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ className?: string | undefined;
778
+ verticalAlign?: string | undefined;
779
+ padding?: string | undefined;
780
+ background?: {
781
+ type: "color" | "gradient" | "image" | "video";
782
+ color?: string | undefined;
783
+ gradient?: string | undefined;
784
+ overlay?: string | undefined;
785
+ size?: string | undefined;
786
+ imageUrl?: string | undefined;
787
+ videoUrl?: string | undefined;
788
+ overlayOpacity?: number | undefined;
789
+ position?: string | undefined;
790
+ repeat?: string | undefined;
791
+ attachment?: string | undefined;
792
+ } | undefined;
793
+ animation?: {
794
+ type: string;
795
+ delay?: number | undefined;
796
+ duration?: number | undefined;
797
+ easing?: string | undefined;
798
+ } | undefined;
799
+ }, {
800
+ className?: string | undefined;
801
+ verticalAlign?: string | undefined;
802
+ padding?: string | undefined;
803
+ background?: {
804
+ type: "color" | "gradient" | "image" | "video";
805
+ color?: string | undefined;
806
+ gradient?: string | undefined;
807
+ overlay?: string | undefined;
808
+ size?: string | undefined;
809
+ imageUrl?: string | undefined;
810
+ videoUrl?: string | undefined;
811
+ overlayOpacity?: number | undefined;
812
+ position?: string | undefined;
813
+ repeat?: string | undefined;
814
+ attachment?: string | undefined;
815
+ } | undefined;
816
+ animation?: {
817
+ type: string;
818
+ delay?: number | undefined;
819
+ duration?: number | undefined;
820
+ easing?: string | undefined;
821
+ } | undefined;
822
+ }>;
823
+ elements: z.ZodArray<z.ZodObject<{
824
+ id: z.ZodString;
825
+ type: z.ZodString;
826
+ settings: z.ZodRecord<z.ZodString, z.ZodAny>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ type: string;
829
+ settings: Record<string, any>;
830
+ id: string;
831
+ }, {
832
+ type: string;
833
+ settings: Record<string, any>;
834
+ id: string;
835
+ }>, "many">;
836
+ }, "strip", z.ZodTypeAny, {
837
+ settings: {
838
+ className?: string | undefined;
839
+ verticalAlign?: string | undefined;
840
+ padding?: string | undefined;
841
+ background?: {
842
+ type: "color" | "gradient" | "image" | "video";
843
+ color?: string | undefined;
844
+ gradient?: string | undefined;
845
+ overlay?: string | undefined;
846
+ size?: string | undefined;
847
+ imageUrl?: string | undefined;
848
+ videoUrl?: string | undefined;
849
+ overlayOpacity?: number | undefined;
850
+ position?: string | undefined;
851
+ repeat?: string | undefined;
852
+ attachment?: string | undefined;
853
+ } | undefined;
854
+ animation?: {
855
+ type: string;
856
+ delay?: number | undefined;
857
+ duration?: number | undefined;
858
+ easing?: string | undefined;
859
+ } | undefined;
860
+ };
861
+ width: string;
862
+ id: string;
863
+ elements: {
864
+ type: string;
865
+ settings: Record<string, any>;
866
+ id: string;
867
+ }[];
868
+ }, {
869
+ settings: {
870
+ className?: string | undefined;
871
+ verticalAlign?: string | undefined;
872
+ padding?: string | undefined;
873
+ background?: {
874
+ type: "color" | "gradient" | "image" | "video";
875
+ color?: string | undefined;
876
+ gradient?: string | undefined;
877
+ overlay?: string | undefined;
878
+ size?: string | undefined;
879
+ imageUrl?: string | undefined;
880
+ videoUrl?: string | undefined;
881
+ overlayOpacity?: number | undefined;
882
+ position?: string | undefined;
883
+ repeat?: string | undefined;
884
+ attachment?: string | undefined;
885
+ } | undefined;
886
+ animation?: {
887
+ type: string;
888
+ delay?: number | undefined;
889
+ duration?: number | undefined;
890
+ easing?: string | undefined;
891
+ } | undefined;
892
+ };
893
+ width: string;
894
+ id: string;
895
+ elements: {
896
+ type: string;
897
+ settings: Record<string, any>;
898
+ id: string;
899
+ }[];
900
+ }>, "many">;
901
+ }, "strip", z.ZodTypeAny, {
902
+ type: "row";
903
+ settings: {
904
+ layout: string;
905
+ gap?: string | undefined;
906
+ paddingTop?: string | undefined;
907
+ paddingBottom?: string | undefined;
908
+ className?: string | undefined;
909
+ background?: {
910
+ type: "color" | "gradient" | "image" | "video";
911
+ color?: string | undefined;
912
+ gradient?: string | undefined;
913
+ overlay?: string | undefined;
914
+ size?: string | undefined;
915
+ imageUrl?: string | undefined;
916
+ videoUrl?: string | undefined;
917
+ overlayOpacity?: number | undefined;
918
+ position?: string | undefined;
919
+ repeat?: string | undefined;
920
+ attachment?: string | undefined;
921
+ } | undefined;
922
+ visibility?: string | undefined;
923
+ anchorId?: string | undefined;
924
+ };
925
+ columns: {
926
+ settings: {
927
+ className?: string | undefined;
928
+ verticalAlign?: string | undefined;
929
+ padding?: string | undefined;
930
+ background?: {
931
+ type: "color" | "gradient" | "image" | "video";
932
+ color?: string | undefined;
933
+ gradient?: string | undefined;
934
+ overlay?: string | undefined;
935
+ size?: string | undefined;
936
+ imageUrl?: string | undefined;
937
+ videoUrl?: string | undefined;
938
+ overlayOpacity?: number | undefined;
939
+ position?: string | undefined;
940
+ repeat?: string | undefined;
941
+ attachment?: string | undefined;
942
+ } | undefined;
943
+ animation?: {
944
+ type: string;
945
+ delay?: number | undefined;
946
+ duration?: number | undefined;
947
+ easing?: string | undefined;
948
+ } | undefined;
949
+ };
950
+ width: string;
951
+ id: string;
952
+ elements: {
953
+ type: string;
954
+ settings: Record<string, any>;
955
+ id: string;
956
+ }[];
957
+ }[];
958
+ id: string;
959
+ }, {
960
+ type: "row";
961
+ settings: {
962
+ layout: string;
963
+ gap?: string | undefined;
964
+ paddingTop?: string | undefined;
965
+ paddingBottom?: string | undefined;
966
+ className?: string | undefined;
967
+ background?: {
968
+ type: "color" | "gradient" | "image" | "video";
969
+ color?: string | undefined;
970
+ gradient?: string | undefined;
971
+ overlay?: string | undefined;
972
+ size?: string | undefined;
973
+ imageUrl?: string | undefined;
974
+ videoUrl?: string | undefined;
975
+ overlayOpacity?: number | undefined;
976
+ position?: string | undefined;
977
+ repeat?: string | undefined;
978
+ attachment?: string | undefined;
979
+ } | undefined;
980
+ visibility?: string | undefined;
981
+ anchorId?: string | undefined;
982
+ };
983
+ columns: {
984
+ settings: {
985
+ className?: string | undefined;
986
+ verticalAlign?: string | undefined;
987
+ padding?: string | undefined;
988
+ background?: {
989
+ type: "color" | "gradient" | "image" | "video";
990
+ color?: string | undefined;
991
+ gradient?: string | undefined;
992
+ overlay?: string | undefined;
993
+ size?: string | undefined;
994
+ imageUrl?: string | undefined;
995
+ videoUrl?: string | undefined;
996
+ overlayOpacity?: number | undefined;
997
+ position?: string | undefined;
998
+ repeat?: string | undefined;
999
+ attachment?: string | undefined;
1000
+ } | undefined;
1001
+ animation?: {
1002
+ type: string;
1003
+ delay?: number | undefined;
1004
+ duration?: number | undefined;
1005
+ easing?: string | undefined;
1006
+ } | undefined;
1007
+ };
1008
+ width: string;
1009
+ id: string;
1010
+ elements: {
1011
+ type: string;
1012
+ settings: Record<string, any>;
1013
+ id: string;
1014
+ }[];
1015
+ }[];
1016
+ id: string;
1017
+ }>, "many">;
1018
+ meta: z.ZodObject<{
1019
+ description: z.ZodOptional<z.ZodString>;
1020
+ ogTitle: z.ZodOptional<z.ZodString>;
1021
+ ogDescription: z.ZodOptional<z.ZodString>;
1022
+ ogImage: z.ZodOptional<z.ZodString>;
1023
+ noIndex: z.ZodOptional<z.ZodBoolean>;
1024
+ canonicalUrl: z.ZodOptional<z.ZodString>;
1025
+ customHead: z.ZodOptional<z.ZodString>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ description?: string | undefined;
1028
+ ogTitle?: string | undefined;
1029
+ ogDescription?: string | undefined;
1030
+ ogImage?: string | undefined;
1031
+ noIndex?: boolean | undefined;
1032
+ canonicalUrl?: string | undefined;
1033
+ customHead?: string | undefined;
1034
+ }, {
1035
+ description?: string | undefined;
1036
+ ogTitle?: string | undefined;
1037
+ ogDescription?: string | undefined;
1038
+ ogImage?: string | undefined;
1039
+ noIndex?: boolean | undefined;
1040
+ canonicalUrl?: string | undefined;
1041
+ customHead?: string | undefined;
1042
+ }>;
1043
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, Date, string | Date>;
1044
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, Date, string | Date>;
1045
+ publishedAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, Date, string | Date>>;
1046
+ scheduledAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, Date, string | Date>>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ status: "draft" | "published" | "scheduled";
1049
+ content: {
1050
+ type: "row";
1051
+ settings: {
1052
+ layout: string;
1053
+ gap?: string | undefined;
1054
+ paddingTop?: string | undefined;
1055
+ paddingBottom?: string | undefined;
1056
+ className?: string | undefined;
1057
+ background?: {
1058
+ type: "color" | "gradient" | "image" | "video";
1059
+ color?: string | undefined;
1060
+ gradient?: string | undefined;
1061
+ overlay?: string | undefined;
1062
+ size?: string | undefined;
1063
+ imageUrl?: string | undefined;
1064
+ videoUrl?: string | undefined;
1065
+ overlayOpacity?: number | undefined;
1066
+ position?: string | undefined;
1067
+ repeat?: string | undefined;
1068
+ attachment?: string | undefined;
1069
+ } | undefined;
1070
+ visibility?: string | undefined;
1071
+ anchorId?: string | undefined;
1072
+ };
1073
+ columns: {
1074
+ settings: {
1075
+ className?: string | undefined;
1076
+ verticalAlign?: string | undefined;
1077
+ padding?: string | undefined;
1078
+ background?: {
1079
+ type: "color" | "gradient" | "image" | "video";
1080
+ color?: string | undefined;
1081
+ gradient?: string | undefined;
1082
+ overlay?: string | undefined;
1083
+ size?: string | undefined;
1084
+ imageUrl?: string | undefined;
1085
+ videoUrl?: string | undefined;
1086
+ overlayOpacity?: number | undefined;
1087
+ position?: string | undefined;
1088
+ repeat?: string | undefined;
1089
+ attachment?: string | undefined;
1090
+ } | undefined;
1091
+ animation?: {
1092
+ type: string;
1093
+ delay?: number | undefined;
1094
+ duration?: number | undefined;
1095
+ easing?: string | undefined;
1096
+ } | undefined;
1097
+ };
1098
+ width: string;
1099
+ id: string;
1100
+ elements: {
1101
+ type: string;
1102
+ settings: Record<string, any>;
1103
+ id: string;
1104
+ }[];
1105
+ }[];
1106
+ id: string;
1107
+ }[];
1108
+ title: string;
1109
+ id: string;
1110
+ slug: string;
1111
+ template: string;
1112
+ meta: {
1113
+ description?: string | undefined;
1114
+ ogTitle?: string | undefined;
1115
+ ogDescription?: string | undefined;
1116
+ ogImage?: string | undefined;
1117
+ noIndex?: boolean | undefined;
1118
+ canonicalUrl?: string | undefined;
1119
+ customHead?: string | undefined;
1120
+ };
1121
+ createdAt: Date;
1122
+ updatedAt: Date;
1123
+ publishedAt?: Date | undefined;
1124
+ scheduledAt?: Date | undefined;
1125
+ }, {
1126
+ status: "draft" | "published" | "scheduled";
1127
+ content: {
1128
+ type: "row";
1129
+ settings: {
1130
+ layout: string;
1131
+ gap?: string | undefined;
1132
+ paddingTop?: string | undefined;
1133
+ paddingBottom?: string | undefined;
1134
+ className?: string | undefined;
1135
+ background?: {
1136
+ type: "color" | "gradient" | "image" | "video";
1137
+ color?: string | undefined;
1138
+ gradient?: string | undefined;
1139
+ overlay?: string | undefined;
1140
+ size?: string | undefined;
1141
+ imageUrl?: string | undefined;
1142
+ videoUrl?: string | undefined;
1143
+ overlayOpacity?: number | undefined;
1144
+ position?: string | undefined;
1145
+ repeat?: string | undefined;
1146
+ attachment?: string | undefined;
1147
+ } | undefined;
1148
+ visibility?: string | undefined;
1149
+ anchorId?: string | undefined;
1150
+ };
1151
+ columns: {
1152
+ settings: {
1153
+ className?: string | undefined;
1154
+ verticalAlign?: string | undefined;
1155
+ padding?: string | undefined;
1156
+ background?: {
1157
+ type: "color" | "gradient" | "image" | "video";
1158
+ color?: string | undefined;
1159
+ gradient?: string | undefined;
1160
+ overlay?: string | undefined;
1161
+ size?: string | undefined;
1162
+ imageUrl?: string | undefined;
1163
+ videoUrl?: string | undefined;
1164
+ overlayOpacity?: number | undefined;
1165
+ position?: string | undefined;
1166
+ repeat?: string | undefined;
1167
+ attachment?: string | undefined;
1168
+ } | undefined;
1169
+ animation?: {
1170
+ type: string;
1171
+ delay?: number | undefined;
1172
+ duration?: number | undefined;
1173
+ easing?: string | undefined;
1174
+ } | undefined;
1175
+ };
1176
+ width: string;
1177
+ id: string;
1178
+ elements: {
1179
+ type: string;
1180
+ settings: Record<string, any>;
1181
+ id: string;
1182
+ }[];
1183
+ }[];
1184
+ id: string;
1185
+ }[];
1186
+ title: string;
1187
+ id: string;
1188
+ slug: string;
1189
+ template: string;
1190
+ meta: {
1191
+ description?: string | undefined;
1192
+ ogTitle?: string | undefined;
1193
+ ogDescription?: string | undefined;
1194
+ ogImage?: string | undefined;
1195
+ noIndex?: boolean | undefined;
1196
+ canonicalUrl?: string | undefined;
1197
+ customHead?: string | undefined;
1198
+ };
1199
+ createdAt: string | Date;
1200
+ updatedAt: string | Date;
1201
+ publishedAt?: string | Date | undefined;
1202
+ scheduledAt?: string | Date | undefined;
1203
+ }>;
1204
+ /**
1205
+ * Serialize a PageData object to a JSON string.
1206
+ * Dates are converted to ISO strings for safe transport.
1207
+ */
1208
+ export declare function serializePage(page: PageData): string;
1209
+ /**
1210
+ * Deserialize a JSON string to a validated PageData object.
1211
+ * Throws a ZodError if the JSON does not conform to the schema.
1212
+ */
1213
+ export declare function deserializePage(json: string): PageData;
1214
+ /**
1215
+ * Validate unknown data against the PageData schema.
1216
+ * Throws a ZodError if validation fails.
1217
+ */
1218
+ export declare function validatePageData(data: unknown): PageData;
1219
+ export { PageDataSchema, RowSchema, ColumnSchema, ElementSchema, PageMetaSchema };
1220
+ //# sourceMappingURL=serializer.d.ts.map