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