@elementor/editor-props 0.2.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.
@@ -0,0 +1,2346 @@
1
+ import { z, ZodTypeAny } from '@elementor/schema';
2
+
3
+ type PropTypeKey = string;
4
+ type BasePropType = {
5
+ default: PropValue;
6
+ settings: Record<string, unknown>;
7
+ meta: Record<string, unknown>;
8
+ };
9
+ type PlainPropType = BasePropType & {
10
+ kind: 'plain';
11
+ key: PropTypeKey;
12
+ };
13
+ type ArrayPropType = BasePropType & {
14
+ kind: 'array';
15
+ key: PropTypeKey;
16
+ item_prop_type: PropType | null;
17
+ };
18
+ type ObjectPropType = BasePropType & {
19
+ kind: 'object';
20
+ key: PropTypeKey;
21
+ shape: Record<string, PropType>;
22
+ };
23
+ type TransformablePropType = PlainPropType | ArrayPropType | ObjectPropType;
24
+ type UnionPropType = BasePropType & {
25
+ kind: 'union';
26
+ prop_types: Record<string, TransformablePropType>;
27
+ };
28
+ type PropType = TransformablePropType | UnionPropType;
29
+ type MaybeArray<T> = T | T[];
30
+ type TransformablePropValue$1<Type extends string, Value = unknown> = {
31
+ $$type: Type;
32
+ value: Value;
33
+ disabled?: boolean;
34
+ };
35
+ type PlainPropValue = MaybeArray<string | number | boolean | object | null | undefined>;
36
+ type PropValue = PlainPropValue | TransformablePropValue$1<string>;
37
+ type PropKey = string;
38
+ type Props = Record<PropKey, PropValue>;
39
+ type PlainProps = Record<PropKey, PlainPropValue>;
40
+
41
+ declare const boxShadowPropType: {
42
+ isValid: (prop: unknown) => prop is {
43
+ $$type: "box-shadow";
44
+ value: {
45
+ $$type: "shadow";
46
+ value: {
47
+ color: {
48
+ $$type: "color";
49
+ value: string;
50
+ };
51
+ position: "inset" | null;
52
+ hOffset: {
53
+ $$type: "size";
54
+ value: {
55
+ size: number;
56
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
57
+ };
58
+ };
59
+ vOffset: {
60
+ $$type: "size";
61
+ value: {
62
+ size: number;
63
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
64
+ };
65
+ };
66
+ blur: {
67
+ $$type: "size";
68
+ value: {
69
+ size: number;
70
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
71
+ };
72
+ };
73
+ spread: {
74
+ $$type: "size";
75
+ value: {
76
+ size: number;
77
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
78
+ };
79
+ };
80
+ };
81
+ }[];
82
+ };
83
+ create: {
84
+ (value: {
85
+ $$type: "shadow";
86
+ value: {
87
+ color: {
88
+ $$type: "color";
89
+ value: string;
90
+ };
91
+ position: "inset" | null;
92
+ hOffset: {
93
+ $$type: "size";
94
+ value: {
95
+ size: number;
96
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
97
+ };
98
+ };
99
+ vOffset: {
100
+ $$type: "size";
101
+ value: {
102
+ size: number;
103
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
104
+ };
105
+ };
106
+ blur: {
107
+ $$type: "size";
108
+ value: {
109
+ size: number;
110
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
111
+ };
112
+ };
113
+ spread: {
114
+ $$type: "size";
115
+ value: {
116
+ size: number;
117
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
118
+ };
119
+ };
120
+ };
121
+ }[]): {
122
+ $$type: "box-shadow";
123
+ value: {
124
+ $$type: "shadow";
125
+ value: {
126
+ color: {
127
+ $$type: "color";
128
+ value: string;
129
+ };
130
+ position: "inset" | null;
131
+ hOffset: {
132
+ $$type: "size";
133
+ value: {
134
+ size: number;
135
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
136
+ };
137
+ };
138
+ vOffset: {
139
+ $$type: "size";
140
+ value: {
141
+ size: number;
142
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
143
+ };
144
+ };
145
+ blur: {
146
+ $$type: "size";
147
+ value: {
148
+ size: number;
149
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
150
+ };
151
+ };
152
+ spread: {
153
+ $$type: "size";
154
+ value: {
155
+ size: number;
156
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
157
+ };
158
+ };
159
+ };
160
+ }[];
161
+ };
162
+ (value: (prev?: {
163
+ $$type: "shadow";
164
+ value: {
165
+ color: {
166
+ $$type: "color";
167
+ value: string;
168
+ };
169
+ position: "inset" | null;
170
+ hOffset: {
171
+ $$type: "size";
172
+ value: {
173
+ size: number;
174
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
175
+ };
176
+ };
177
+ vOffset: {
178
+ $$type: "size";
179
+ value: {
180
+ size: number;
181
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
182
+ };
183
+ };
184
+ blur: {
185
+ $$type: "size";
186
+ value: {
187
+ size: number;
188
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
189
+ };
190
+ };
191
+ spread: {
192
+ $$type: "size";
193
+ value: {
194
+ size: number;
195
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
196
+ };
197
+ };
198
+ };
199
+ }[] | undefined) => {
200
+ $$type: "shadow";
201
+ value: {
202
+ color: {
203
+ $$type: "color";
204
+ value: string;
205
+ };
206
+ position: "inset" | null;
207
+ hOffset: {
208
+ $$type: "size";
209
+ value: {
210
+ size: number;
211
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
212
+ };
213
+ };
214
+ vOffset: {
215
+ $$type: "size";
216
+ value: {
217
+ size: number;
218
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
219
+ };
220
+ };
221
+ blur: {
222
+ $$type: "size";
223
+ value: {
224
+ size: number;
225
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
226
+ };
227
+ };
228
+ spread: {
229
+ $$type: "size";
230
+ value: {
231
+ size: number;
232
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
233
+ };
234
+ };
235
+ };
236
+ }[], base: unknown): {
237
+ $$type: "box-shadow";
238
+ value: {
239
+ $$type: "shadow";
240
+ value: {
241
+ color: {
242
+ $$type: "color";
243
+ value: string;
244
+ };
245
+ position: "inset" | null;
246
+ hOffset: {
247
+ $$type: "size";
248
+ value: {
249
+ size: number;
250
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
251
+ };
252
+ };
253
+ vOffset: {
254
+ $$type: "size";
255
+ value: {
256
+ size: number;
257
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
258
+ };
259
+ };
260
+ blur: {
261
+ $$type: "size";
262
+ value: {
263
+ size: number;
264
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
265
+ };
266
+ };
267
+ spread: {
268
+ $$type: "size";
269
+ value: {
270
+ size: number;
271
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
272
+ };
273
+ };
274
+ };
275
+ }[];
276
+ };
277
+ };
278
+ schema: z.ZodObject<{
279
+ $$type: z.ZodLiteral<"box-shadow">;
280
+ value: z.ZodArray<z.ZodObject<{
281
+ $$type: z.ZodLiteral<"shadow">;
282
+ value: z.ZodObject<{
283
+ position: z.ZodNullable<z.ZodLiteral<"inset">>;
284
+ hOffset: z.ZodObject<{
285
+ $$type: z.ZodLiteral<"size">;
286
+ value: z.ZodObject<{
287
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
288
+ size: z.ZodNumber;
289
+ }, "strip", z.ZodTypeAny, {
290
+ size: number;
291
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
292
+ }, {
293
+ size: number;
294
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
295
+ }>;
296
+ }, "strip", z.ZodTypeAny, {
297
+ $$type: "size";
298
+ value: {
299
+ size: number;
300
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
301
+ };
302
+ }, {
303
+ $$type: "size";
304
+ value: {
305
+ size: number;
306
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
307
+ };
308
+ }>;
309
+ vOffset: z.ZodObject<{
310
+ $$type: z.ZodLiteral<"size">;
311
+ value: z.ZodObject<{
312
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
313
+ size: z.ZodNumber;
314
+ }, "strip", z.ZodTypeAny, {
315
+ size: number;
316
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
317
+ }, {
318
+ size: number;
319
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
320
+ }>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ $$type: "size";
323
+ value: {
324
+ size: number;
325
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
326
+ };
327
+ }, {
328
+ $$type: "size";
329
+ value: {
330
+ size: number;
331
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
332
+ };
333
+ }>;
334
+ blur: z.ZodObject<{
335
+ $$type: z.ZodLiteral<"size">;
336
+ value: z.ZodObject<{
337
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
338
+ size: z.ZodNumber;
339
+ }, "strip", z.ZodTypeAny, {
340
+ size: number;
341
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
342
+ }, {
343
+ size: number;
344
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
345
+ }>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ $$type: "size";
348
+ value: {
349
+ size: number;
350
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
351
+ };
352
+ }, {
353
+ $$type: "size";
354
+ value: {
355
+ size: number;
356
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
357
+ };
358
+ }>;
359
+ spread: z.ZodObject<{
360
+ $$type: z.ZodLiteral<"size">;
361
+ value: z.ZodObject<{
362
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
363
+ size: z.ZodNumber;
364
+ }, "strip", z.ZodTypeAny, {
365
+ size: number;
366
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
367
+ }, {
368
+ size: number;
369
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
370
+ }>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ $$type: "size";
373
+ value: {
374
+ size: number;
375
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
376
+ };
377
+ }, {
378
+ $$type: "size";
379
+ value: {
380
+ size: number;
381
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
382
+ };
383
+ }>;
384
+ color: z.ZodObject<{
385
+ $$type: z.ZodLiteral<"color">;
386
+ value: z.ZodString;
387
+ }, "strip", z.ZodTypeAny, {
388
+ $$type: "color";
389
+ value: string;
390
+ }, {
391
+ $$type: "color";
392
+ value: string;
393
+ }>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ color: {
396
+ $$type: "color";
397
+ value: string;
398
+ };
399
+ position: "inset" | null;
400
+ hOffset: {
401
+ $$type: "size";
402
+ value: {
403
+ size: number;
404
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
405
+ };
406
+ };
407
+ vOffset: {
408
+ $$type: "size";
409
+ value: {
410
+ size: number;
411
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
412
+ };
413
+ };
414
+ blur: {
415
+ $$type: "size";
416
+ value: {
417
+ size: number;
418
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
419
+ };
420
+ };
421
+ spread: {
422
+ $$type: "size";
423
+ value: {
424
+ size: number;
425
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
426
+ };
427
+ };
428
+ }, {
429
+ color: {
430
+ $$type: "color";
431
+ value: string;
432
+ };
433
+ position: "inset" | null;
434
+ hOffset: {
435
+ $$type: "size";
436
+ value: {
437
+ size: number;
438
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
439
+ };
440
+ };
441
+ vOffset: {
442
+ $$type: "size";
443
+ value: {
444
+ size: number;
445
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
446
+ };
447
+ };
448
+ blur: {
449
+ $$type: "size";
450
+ value: {
451
+ size: number;
452
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
453
+ };
454
+ };
455
+ spread: {
456
+ $$type: "size";
457
+ value: {
458
+ size: number;
459
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
460
+ };
461
+ };
462
+ }>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ $$type: "shadow";
465
+ value: {
466
+ color: {
467
+ $$type: "color";
468
+ value: string;
469
+ };
470
+ position: "inset" | null;
471
+ hOffset: {
472
+ $$type: "size";
473
+ value: {
474
+ size: number;
475
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
476
+ };
477
+ };
478
+ vOffset: {
479
+ $$type: "size";
480
+ value: {
481
+ size: number;
482
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
483
+ };
484
+ };
485
+ blur: {
486
+ $$type: "size";
487
+ value: {
488
+ size: number;
489
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
490
+ };
491
+ };
492
+ spread: {
493
+ $$type: "size";
494
+ value: {
495
+ size: number;
496
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
497
+ };
498
+ };
499
+ };
500
+ }, {
501
+ $$type: "shadow";
502
+ value: {
503
+ color: {
504
+ $$type: "color";
505
+ value: string;
506
+ };
507
+ position: "inset" | null;
508
+ hOffset: {
509
+ $$type: "size";
510
+ value: {
511
+ size: number;
512
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
513
+ };
514
+ };
515
+ vOffset: {
516
+ $$type: "size";
517
+ value: {
518
+ size: number;
519
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
520
+ };
521
+ };
522
+ blur: {
523
+ $$type: "size";
524
+ value: {
525
+ size: number;
526
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
527
+ };
528
+ };
529
+ spread: {
530
+ $$type: "size";
531
+ value: {
532
+ size: number;
533
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
534
+ };
535
+ };
536
+ };
537
+ }>, "many">;
538
+ }, "strip", z.ZodTypeAny, {
539
+ $$type: "box-shadow";
540
+ value: {
541
+ $$type: "shadow";
542
+ value: {
543
+ color: {
544
+ $$type: "color";
545
+ value: string;
546
+ };
547
+ position: "inset" | null;
548
+ hOffset: {
549
+ $$type: "size";
550
+ value: {
551
+ size: number;
552
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
553
+ };
554
+ };
555
+ vOffset: {
556
+ $$type: "size";
557
+ value: {
558
+ size: number;
559
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
560
+ };
561
+ };
562
+ blur: {
563
+ $$type: "size";
564
+ value: {
565
+ size: number;
566
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
567
+ };
568
+ };
569
+ spread: {
570
+ $$type: "size";
571
+ value: {
572
+ size: number;
573
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
574
+ };
575
+ };
576
+ };
577
+ }[];
578
+ }, {
579
+ $$type: "box-shadow";
580
+ value: {
581
+ $$type: "shadow";
582
+ value: {
583
+ color: {
584
+ $$type: "color";
585
+ value: string;
586
+ };
587
+ position: "inset" | null;
588
+ hOffset: {
589
+ $$type: "size";
590
+ value: {
591
+ size: number;
592
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
593
+ };
594
+ };
595
+ vOffset: {
596
+ $$type: "size";
597
+ value: {
598
+ size: number;
599
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
600
+ };
601
+ };
602
+ blur: {
603
+ $$type: "size";
604
+ value: {
605
+ size: number;
606
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
607
+ };
608
+ };
609
+ spread: {
610
+ $$type: "size";
611
+ value: {
612
+ size: number;
613
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
614
+ };
615
+ };
616
+ };
617
+ }[];
618
+ }>;
619
+ };
620
+ type BoxShadowPropValue = z.infer<typeof boxShadowPropType.schema>;
621
+
622
+ declare const borderRadiusPropType: {
623
+ isValid: (prop: unknown) => prop is {
624
+ $$type: "border-radius";
625
+ value: {
626
+ 'top-left'?: any;
627
+ 'top-right'?: any;
628
+ 'bottom-right'?: any;
629
+ 'bottom-left'?: any;
630
+ };
631
+ };
632
+ create: {
633
+ (value: {
634
+ 'top-left'?: any;
635
+ 'top-right'?: any;
636
+ 'bottom-right'?: any;
637
+ 'bottom-left'?: any;
638
+ }): {
639
+ $$type: "border-radius";
640
+ value: {
641
+ 'top-left'?: any;
642
+ 'top-right'?: any;
643
+ 'bottom-right'?: any;
644
+ 'bottom-left'?: any;
645
+ };
646
+ };
647
+ (value: (prev?: {
648
+ 'top-left'?: any;
649
+ 'top-right'?: any;
650
+ 'bottom-right'?: any;
651
+ 'bottom-left'?: any;
652
+ } | undefined) => {
653
+ 'top-left'?: any;
654
+ 'top-right'?: any;
655
+ 'bottom-right'?: any;
656
+ 'bottom-left'?: any;
657
+ }, base: unknown): {
658
+ $$type: "border-radius";
659
+ value: {
660
+ 'top-left'?: any;
661
+ 'top-right'?: any;
662
+ 'bottom-right'?: any;
663
+ 'bottom-left'?: any;
664
+ };
665
+ };
666
+ };
667
+ schema: z.ZodObject<{
668
+ $$type: z.ZodLiteral<"border-radius">;
669
+ value: z.ZodObject<{
670
+ 'top-left': z.ZodAny;
671
+ 'top-right': z.ZodAny;
672
+ 'bottom-right': z.ZodAny;
673
+ 'bottom-left': z.ZodAny;
674
+ }, "strip", z.ZodTypeAny, {
675
+ 'top-left'?: any;
676
+ 'top-right'?: any;
677
+ 'bottom-right'?: any;
678
+ 'bottom-left'?: any;
679
+ }, {
680
+ 'top-left'?: any;
681
+ 'top-right'?: any;
682
+ 'bottom-right'?: any;
683
+ 'bottom-left'?: any;
684
+ }>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ $$type: "border-radius";
687
+ value: {
688
+ 'top-left'?: any;
689
+ 'top-right'?: any;
690
+ 'bottom-right'?: any;
691
+ 'bottom-left'?: any;
692
+ };
693
+ }, {
694
+ $$type: "border-radius";
695
+ value: {
696
+ 'top-left'?: any;
697
+ 'top-right'?: any;
698
+ 'bottom-right'?: any;
699
+ 'bottom-left'?: any;
700
+ };
701
+ }>;
702
+ };
703
+ type BorderRadiusPropValue = z.infer<typeof borderRadiusPropType.schema>;
704
+
705
+ declare const borderWidthPropType: {
706
+ isValid: (prop: unknown) => prop is {
707
+ $$type: "border-width";
708
+ value: {
709
+ top?: any;
710
+ right?: any;
711
+ bottom?: any;
712
+ left?: any;
713
+ };
714
+ };
715
+ create: {
716
+ (value: {
717
+ top?: any;
718
+ right?: any;
719
+ bottom?: any;
720
+ left?: any;
721
+ }): {
722
+ $$type: "border-width";
723
+ value: {
724
+ top?: any;
725
+ right?: any;
726
+ bottom?: any;
727
+ left?: any;
728
+ };
729
+ };
730
+ (value: (prev?: {
731
+ top?: any;
732
+ right?: any;
733
+ bottom?: any;
734
+ left?: any;
735
+ } | undefined) => {
736
+ top?: any;
737
+ right?: any;
738
+ bottom?: any;
739
+ left?: any;
740
+ }, base: unknown): {
741
+ $$type: "border-width";
742
+ value: {
743
+ top?: any;
744
+ right?: any;
745
+ bottom?: any;
746
+ left?: any;
747
+ };
748
+ };
749
+ };
750
+ schema: z.ZodObject<{
751
+ $$type: z.ZodLiteral<"border-width">;
752
+ value: z.ZodObject<{
753
+ top: z.ZodAny;
754
+ right: z.ZodAny;
755
+ bottom: z.ZodAny;
756
+ left: z.ZodAny;
757
+ }, "strip", z.ZodTypeAny, {
758
+ top?: any;
759
+ right?: any;
760
+ bottom?: any;
761
+ left?: any;
762
+ }, {
763
+ top?: any;
764
+ right?: any;
765
+ bottom?: any;
766
+ left?: any;
767
+ }>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ $$type: "border-width";
770
+ value: {
771
+ top?: any;
772
+ right?: any;
773
+ bottom?: any;
774
+ left?: any;
775
+ };
776
+ }, {
777
+ $$type: "border-width";
778
+ value: {
779
+ top?: any;
780
+ right?: any;
781
+ bottom?: any;
782
+ left?: any;
783
+ };
784
+ }>;
785
+ };
786
+ type BorderWidthPropValue = z.infer<typeof borderWidthPropType.schema>;
787
+
788
+ declare const classesPropType: {
789
+ isValid: (prop: unknown) => prop is {
790
+ $$type: "classes";
791
+ value: string[];
792
+ };
793
+ create: {
794
+ (value: string[]): {
795
+ $$type: "classes";
796
+ value: string[];
797
+ };
798
+ (value: (prev?: string[] | undefined) => string[], base: unknown): {
799
+ $$type: "classes";
800
+ value: string[];
801
+ };
802
+ };
803
+ schema: z.ZodObject<{
804
+ $$type: z.ZodLiteral<"classes">;
805
+ value: z.ZodArray<z.ZodString, "many">;
806
+ }, "strip", z.ZodTypeAny, {
807
+ $$type: "classes";
808
+ value: string[];
809
+ }, {
810
+ $$type: "classes";
811
+ value: string[];
812
+ }>;
813
+ };
814
+ type ClassesPropValue = z.infer<typeof classesPropType.schema>;
815
+
816
+ declare const colorPropType: {
817
+ isValid: (prop: unknown) => prop is {
818
+ $$type: "color";
819
+ value: string;
820
+ };
821
+ create: {
822
+ (value: string): {
823
+ $$type: "color";
824
+ value: string;
825
+ };
826
+ (value: (prev?: string | undefined) => string, base: unknown): {
827
+ $$type: "color";
828
+ value: string;
829
+ };
830
+ };
831
+ schema: z.ZodObject<{
832
+ $$type: z.ZodLiteral<"color">;
833
+ value: z.ZodString;
834
+ }, "strip", z.ZodTypeAny, {
835
+ $$type: "color";
836
+ value: string;
837
+ }, {
838
+ $$type: "color";
839
+ value: string;
840
+ }>;
841
+ };
842
+ type ColorPropValue = z.infer<typeof colorPropType.schema>;
843
+
844
+ declare const imagePropType: {
845
+ isValid: (prop: unknown) => prop is {
846
+ $$type: "image";
847
+ value: {
848
+ size: {
849
+ $$type: "size";
850
+ value: {
851
+ size: number;
852
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
853
+ };
854
+ };
855
+ src: {
856
+ $$type: "image-src";
857
+ value: {
858
+ url: null;
859
+ id: {
860
+ $$type: "image-attachment-id";
861
+ value: number;
862
+ };
863
+ } | {
864
+ url: {
865
+ $$type: "url";
866
+ value: string;
867
+ };
868
+ id: null;
869
+ };
870
+ };
871
+ };
872
+ };
873
+ create: {
874
+ (value: {
875
+ size: {
876
+ $$type: "size";
877
+ value: {
878
+ size: number;
879
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
880
+ };
881
+ };
882
+ src: {
883
+ $$type: "image-src";
884
+ value: {
885
+ url: null;
886
+ id: {
887
+ $$type: "image-attachment-id";
888
+ value: number;
889
+ };
890
+ } | {
891
+ url: {
892
+ $$type: "url";
893
+ value: string;
894
+ };
895
+ id: null;
896
+ };
897
+ };
898
+ }): {
899
+ $$type: "image";
900
+ value: {
901
+ size: {
902
+ $$type: "size";
903
+ value: {
904
+ size: number;
905
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
906
+ };
907
+ };
908
+ src: {
909
+ $$type: "image-src";
910
+ value: {
911
+ url: null;
912
+ id: {
913
+ $$type: "image-attachment-id";
914
+ value: number;
915
+ };
916
+ } | {
917
+ url: {
918
+ $$type: "url";
919
+ value: string;
920
+ };
921
+ id: null;
922
+ };
923
+ };
924
+ };
925
+ };
926
+ (value: (prev?: {
927
+ size: {
928
+ $$type: "size";
929
+ value: {
930
+ size: number;
931
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
932
+ };
933
+ };
934
+ src: {
935
+ $$type: "image-src";
936
+ value: {
937
+ url: null;
938
+ id: {
939
+ $$type: "image-attachment-id";
940
+ value: number;
941
+ };
942
+ } | {
943
+ url: {
944
+ $$type: "url";
945
+ value: string;
946
+ };
947
+ id: null;
948
+ };
949
+ };
950
+ } | undefined) => {
951
+ size: {
952
+ $$type: "size";
953
+ value: {
954
+ size: number;
955
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
956
+ };
957
+ };
958
+ src: {
959
+ $$type: "image-src";
960
+ value: {
961
+ url: null;
962
+ id: {
963
+ $$type: "image-attachment-id";
964
+ value: number;
965
+ };
966
+ } | {
967
+ url: {
968
+ $$type: "url";
969
+ value: string;
970
+ };
971
+ id: null;
972
+ };
973
+ };
974
+ }, base: unknown): {
975
+ $$type: "image";
976
+ value: {
977
+ size: {
978
+ $$type: "size";
979
+ value: {
980
+ size: number;
981
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
982
+ };
983
+ };
984
+ src: {
985
+ $$type: "image-src";
986
+ value: {
987
+ url: null;
988
+ id: {
989
+ $$type: "image-attachment-id";
990
+ value: number;
991
+ };
992
+ } | {
993
+ url: {
994
+ $$type: "url";
995
+ value: string;
996
+ };
997
+ id: null;
998
+ };
999
+ };
1000
+ };
1001
+ };
1002
+ };
1003
+ schema: z.ZodObject<{
1004
+ $$type: z.ZodLiteral<"image">;
1005
+ value: z.ZodObject<{
1006
+ src: z.ZodObject<{
1007
+ $$type: z.ZodLiteral<"image-src">;
1008
+ value: z.ZodUnion<[z.ZodObject<{
1009
+ id: z.ZodObject<{
1010
+ $$type: z.ZodLiteral<"image-attachment-id">;
1011
+ value: z.ZodNumber;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ $$type: "image-attachment-id";
1014
+ value: number;
1015
+ }, {
1016
+ $$type: "image-attachment-id";
1017
+ value: number;
1018
+ }>;
1019
+ url: z.ZodNull;
1020
+ }, "strip", z.ZodTypeAny, {
1021
+ url: null;
1022
+ id: {
1023
+ $$type: "image-attachment-id";
1024
+ value: number;
1025
+ };
1026
+ }, {
1027
+ url: null;
1028
+ id: {
1029
+ $$type: "image-attachment-id";
1030
+ value: number;
1031
+ };
1032
+ }>, z.ZodObject<{
1033
+ id: z.ZodNull;
1034
+ url: z.ZodObject<{
1035
+ $$type: z.ZodLiteral<"url">;
1036
+ value: z.ZodString;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ $$type: "url";
1039
+ value: string;
1040
+ }, {
1041
+ $$type: "url";
1042
+ value: string;
1043
+ }>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ url: {
1046
+ $$type: "url";
1047
+ value: string;
1048
+ };
1049
+ id: null;
1050
+ }, {
1051
+ url: {
1052
+ $$type: "url";
1053
+ value: string;
1054
+ };
1055
+ id: null;
1056
+ }>]>;
1057
+ }, "strip", z.ZodTypeAny, {
1058
+ $$type: "image-src";
1059
+ value: {
1060
+ url: null;
1061
+ id: {
1062
+ $$type: "image-attachment-id";
1063
+ value: number;
1064
+ };
1065
+ } | {
1066
+ url: {
1067
+ $$type: "url";
1068
+ value: string;
1069
+ };
1070
+ id: null;
1071
+ };
1072
+ }, {
1073
+ $$type: "image-src";
1074
+ value: {
1075
+ url: null;
1076
+ id: {
1077
+ $$type: "image-attachment-id";
1078
+ value: number;
1079
+ };
1080
+ } | {
1081
+ url: {
1082
+ $$type: "url";
1083
+ value: string;
1084
+ };
1085
+ id: null;
1086
+ };
1087
+ }>;
1088
+ size: z.ZodObject<{
1089
+ $$type: z.ZodLiteral<"size">;
1090
+ value: z.ZodObject<{
1091
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
1092
+ size: z.ZodNumber;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ size: number;
1095
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1096
+ }, {
1097
+ size: number;
1098
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1099
+ }>;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ $$type: "size";
1102
+ value: {
1103
+ size: number;
1104
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1105
+ };
1106
+ }, {
1107
+ $$type: "size";
1108
+ value: {
1109
+ size: number;
1110
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1111
+ };
1112
+ }>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ size: {
1115
+ $$type: "size";
1116
+ value: {
1117
+ size: number;
1118
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1119
+ };
1120
+ };
1121
+ src: {
1122
+ $$type: "image-src";
1123
+ value: {
1124
+ url: null;
1125
+ id: {
1126
+ $$type: "image-attachment-id";
1127
+ value: number;
1128
+ };
1129
+ } | {
1130
+ url: {
1131
+ $$type: "url";
1132
+ value: string;
1133
+ };
1134
+ id: null;
1135
+ };
1136
+ };
1137
+ }, {
1138
+ size: {
1139
+ $$type: "size";
1140
+ value: {
1141
+ size: number;
1142
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1143
+ };
1144
+ };
1145
+ src: {
1146
+ $$type: "image-src";
1147
+ value: {
1148
+ url: null;
1149
+ id: {
1150
+ $$type: "image-attachment-id";
1151
+ value: number;
1152
+ };
1153
+ } | {
1154
+ url: {
1155
+ $$type: "url";
1156
+ value: string;
1157
+ };
1158
+ id: null;
1159
+ };
1160
+ };
1161
+ }>;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ $$type: "image";
1164
+ value: {
1165
+ size: {
1166
+ $$type: "size";
1167
+ value: {
1168
+ size: number;
1169
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1170
+ };
1171
+ };
1172
+ src: {
1173
+ $$type: "image-src";
1174
+ value: {
1175
+ url: null;
1176
+ id: {
1177
+ $$type: "image-attachment-id";
1178
+ value: number;
1179
+ };
1180
+ } | {
1181
+ url: {
1182
+ $$type: "url";
1183
+ value: string;
1184
+ };
1185
+ id: null;
1186
+ };
1187
+ };
1188
+ };
1189
+ }, {
1190
+ $$type: "image";
1191
+ value: {
1192
+ size: {
1193
+ $$type: "size";
1194
+ value: {
1195
+ size: number;
1196
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1197
+ };
1198
+ };
1199
+ src: {
1200
+ $$type: "image-src";
1201
+ value: {
1202
+ url: null;
1203
+ id: {
1204
+ $$type: "image-attachment-id";
1205
+ value: number;
1206
+ };
1207
+ } | {
1208
+ url: {
1209
+ $$type: "url";
1210
+ value: string;
1211
+ };
1212
+ id: null;
1213
+ };
1214
+ };
1215
+ };
1216
+ }>;
1217
+ };
1218
+ type ImagePropValue = z.infer<typeof imagePropType.schema>;
1219
+
1220
+ declare const imageAttachmentIdPropType: {
1221
+ isValid: (prop: unknown) => prop is {
1222
+ $$type: "image-attachment-id";
1223
+ value: number;
1224
+ };
1225
+ create: {
1226
+ (value: number): {
1227
+ $$type: "image-attachment-id";
1228
+ value: number;
1229
+ };
1230
+ (value: (prev?: number | undefined) => number, base: unknown): {
1231
+ $$type: "image-attachment-id";
1232
+ value: number;
1233
+ };
1234
+ };
1235
+ schema: z.ZodObject<{
1236
+ $$type: z.ZodLiteral<"image-attachment-id">;
1237
+ value: z.ZodNumber;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ $$type: "image-attachment-id";
1240
+ value: number;
1241
+ }, {
1242
+ $$type: "image-attachment-id";
1243
+ value: number;
1244
+ }>;
1245
+ };
1246
+ type ImageAttachmentIdPropValue = z.infer<typeof imageAttachmentIdPropType.schema>;
1247
+
1248
+ declare const imageSrcPropType: {
1249
+ isValid: (prop: unknown) => prop is {
1250
+ $$type: "image-src";
1251
+ value: {
1252
+ url: null;
1253
+ id: {
1254
+ $$type: "image-attachment-id";
1255
+ value: number;
1256
+ };
1257
+ } | {
1258
+ url: {
1259
+ $$type: "url";
1260
+ value: string;
1261
+ };
1262
+ id: null;
1263
+ };
1264
+ };
1265
+ create: {
1266
+ (value: {
1267
+ url: null;
1268
+ id: {
1269
+ $$type: "image-attachment-id";
1270
+ value: number;
1271
+ };
1272
+ } | {
1273
+ url: {
1274
+ $$type: "url";
1275
+ value: string;
1276
+ };
1277
+ id: null;
1278
+ }): {
1279
+ $$type: "image-src";
1280
+ value: {
1281
+ url: null;
1282
+ id: {
1283
+ $$type: "image-attachment-id";
1284
+ value: number;
1285
+ };
1286
+ } | {
1287
+ url: {
1288
+ $$type: "url";
1289
+ value: string;
1290
+ };
1291
+ id: null;
1292
+ };
1293
+ };
1294
+ (value: (prev?: {
1295
+ url: null;
1296
+ id: {
1297
+ $$type: "image-attachment-id";
1298
+ value: number;
1299
+ };
1300
+ } | {
1301
+ url: {
1302
+ $$type: "url";
1303
+ value: string;
1304
+ };
1305
+ id: null;
1306
+ } | undefined) => {
1307
+ url: null;
1308
+ id: {
1309
+ $$type: "image-attachment-id";
1310
+ value: number;
1311
+ };
1312
+ } | {
1313
+ url: {
1314
+ $$type: "url";
1315
+ value: string;
1316
+ };
1317
+ id: null;
1318
+ }, base: unknown): {
1319
+ $$type: "image-src";
1320
+ value: {
1321
+ url: null;
1322
+ id: {
1323
+ $$type: "image-attachment-id";
1324
+ value: number;
1325
+ };
1326
+ } | {
1327
+ url: {
1328
+ $$type: "url";
1329
+ value: string;
1330
+ };
1331
+ id: null;
1332
+ };
1333
+ };
1334
+ };
1335
+ schema: z.ZodObject<{
1336
+ $$type: z.ZodLiteral<"image-src">;
1337
+ value: z.ZodUnion<[z.ZodObject<{
1338
+ id: z.ZodObject<{
1339
+ $$type: z.ZodLiteral<"image-attachment-id">;
1340
+ value: z.ZodNumber;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ $$type: "image-attachment-id";
1343
+ value: number;
1344
+ }, {
1345
+ $$type: "image-attachment-id";
1346
+ value: number;
1347
+ }>;
1348
+ url: z.ZodNull;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ url: null;
1351
+ id: {
1352
+ $$type: "image-attachment-id";
1353
+ value: number;
1354
+ };
1355
+ }, {
1356
+ url: null;
1357
+ id: {
1358
+ $$type: "image-attachment-id";
1359
+ value: number;
1360
+ };
1361
+ }>, z.ZodObject<{
1362
+ id: z.ZodNull;
1363
+ url: z.ZodObject<{
1364
+ $$type: z.ZodLiteral<"url">;
1365
+ value: z.ZodString;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ $$type: "url";
1368
+ value: string;
1369
+ }, {
1370
+ $$type: "url";
1371
+ value: string;
1372
+ }>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ url: {
1375
+ $$type: "url";
1376
+ value: string;
1377
+ };
1378
+ id: null;
1379
+ }, {
1380
+ url: {
1381
+ $$type: "url";
1382
+ value: string;
1383
+ };
1384
+ id: null;
1385
+ }>]>;
1386
+ }, "strip", z.ZodTypeAny, {
1387
+ $$type: "image-src";
1388
+ value: {
1389
+ url: null;
1390
+ id: {
1391
+ $$type: "image-attachment-id";
1392
+ value: number;
1393
+ };
1394
+ } | {
1395
+ url: {
1396
+ $$type: "url";
1397
+ value: string;
1398
+ };
1399
+ id: null;
1400
+ };
1401
+ }, {
1402
+ $$type: "image-src";
1403
+ value: {
1404
+ url: null;
1405
+ id: {
1406
+ $$type: "image-attachment-id";
1407
+ value: number;
1408
+ };
1409
+ } | {
1410
+ url: {
1411
+ $$type: "url";
1412
+ value: string;
1413
+ };
1414
+ id: null;
1415
+ };
1416
+ }>;
1417
+ };
1418
+ type ImageSrcPropValue = z.infer<typeof imageSrcPropType.schema>;
1419
+
1420
+ declare const linkedDimensionsPropType: {
1421
+ isValid: (prop: unknown) => prop is {
1422
+ $$type: "linked-dimensions";
1423
+ value: {
1424
+ isLinked: boolean;
1425
+ top?: any;
1426
+ right?: any;
1427
+ bottom?: any;
1428
+ left?: any;
1429
+ };
1430
+ };
1431
+ create: {
1432
+ (value: {
1433
+ isLinked: boolean;
1434
+ top?: any;
1435
+ right?: any;
1436
+ bottom?: any;
1437
+ left?: any;
1438
+ }): {
1439
+ $$type: "linked-dimensions";
1440
+ value: {
1441
+ isLinked: boolean;
1442
+ top?: any;
1443
+ right?: any;
1444
+ bottom?: any;
1445
+ left?: any;
1446
+ };
1447
+ };
1448
+ (value: (prev?: {
1449
+ isLinked: boolean;
1450
+ top?: any;
1451
+ right?: any;
1452
+ bottom?: any;
1453
+ left?: any;
1454
+ } | undefined) => {
1455
+ isLinked: boolean;
1456
+ top?: any;
1457
+ right?: any;
1458
+ bottom?: any;
1459
+ left?: any;
1460
+ }, base: unknown): {
1461
+ $$type: "linked-dimensions";
1462
+ value: {
1463
+ isLinked: boolean;
1464
+ top?: any;
1465
+ right?: any;
1466
+ bottom?: any;
1467
+ left?: any;
1468
+ };
1469
+ };
1470
+ };
1471
+ schema: z.ZodObject<{
1472
+ $$type: z.ZodLiteral<"linked-dimensions">;
1473
+ value: z.ZodObject<{
1474
+ isLinked: z.ZodBoolean;
1475
+ top: z.ZodAny;
1476
+ right: z.ZodAny;
1477
+ bottom: z.ZodAny;
1478
+ left: z.ZodAny;
1479
+ }, "strip", z.ZodTypeAny, {
1480
+ isLinked: boolean;
1481
+ top?: any;
1482
+ right?: any;
1483
+ bottom?: any;
1484
+ left?: any;
1485
+ }, {
1486
+ isLinked: boolean;
1487
+ top?: any;
1488
+ right?: any;
1489
+ bottom?: any;
1490
+ left?: any;
1491
+ }>;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ $$type: "linked-dimensions";
1494
+ value: {
1495
+ isLinked: boolean;
1496
+ top?: any;
1497
+ right?: any;
1498
+ bottom?: any;
1499
+ left?: any;
1500
+ };
1501
+ }, {
1502
+ $$type: "linked-dimensions";
1503
+ value: {
1504
+ isLinked: boolean;
1505
+ top?: any;
1506
+ right?: any;
1507
+ bottom?: any;
1508
+ left?: any;
1509
+ };
1510
+ }>;
1511
+ };
1512
+ type LinkedDimensionsPropValue = z.infer<typeof linkedDimensionsPropType.schema>;
1513
+
1514
+ declare const shadowPropType: {
1515
+ isValid: (prop: unknown) => prop is {
1516
+ $$type: "shadow";
1517
+ value: {
1518
+ color: {
1519
+ $$type: "color";
1520
+ value: string;
1521
+ };
1522
+ position: "inset" | null;
1523
+ hOffset: {
1524
+ $$type: "size";
1525
+ value: {
1526
+ size: number;
1527
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1528
+ };
1529
+ };
1530
+ vOffset: {
1531
+ $$type: "size";
1532
+ value: {
1533
+ size: number;
1534
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1535
+ };
1536
+ };
1537
+ blur: {
1538
+ $$type: "size";
1539
+ value: {
1540
+ size: number;
1541
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1542
+ };
1543
+ };
1544
+ spread: {
1545
+ $$type: "size";
1546
+ value: {
1547
+ size: number;
1548
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1549
+ };
1550
+ };
1551
+ };
1552
+ };
1553
+ create: {
1554
+ (value: {
1555
+ color: {
1556
+ $$type: "color";
1557
+ value: string;
1558
+ };
1559
+ position: "inset" | null;
1560
+ hOffset: {
1561
+ $$type: "size";
1562
+ value: {
1563
+ size: number;
1564
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1565
+ };
1566
+ };
1567
+ vOffset: {
1568
+ $$type: "size";
1569
+ value: {
1570
+ size: number;
1571
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1572
+ };
1573
+ };
1574
+ blur: {
1575
+ $$type: "size";
1576
+ value: {
1577
+ size: number;
1578
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1579
+ };
1580
+ };
1581
+ spread: {
1582
+ $$type: "size";
1583
+ value: {
1584
+ size: number;
1585
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1586
+ };
1587
+ };
1588
+ }): {
1589
+ $$type: "shadow";
1590
+ value: {
1591
+ color: {
1592
+ $$type: "color";
1593
+ value: string;
1594
+ };
1595
+ position: "inset" | null;
1596
+ hOffset: {
1597
+ $$type: "size";
1598
+ value: {
1599
+ size: number;
1600
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1601
+ };
1602
+ };
1603
+ vOffset: {
1604
+ $$type: "size";
1605
+ value: {
1606
+ size: number;
1607
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1608
+ };
1609
+ };
1610
+ blur: {
1611
+ $$type: "size";
1612
+ value: {
1613
+ size: number;
1614
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1615
+ };
1616
+ };
1617
+ spread: {
1618
+ $$type: "size";
1619
+ value: {
1620
+ size: number;
1621
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1622
+ };
1623
+ };
1624
+ };
1625
+ };
1626
+ (value: (prev?: {
1627
+ color: {
1628
+ $$type: "color";
1629
+ value: string;
1630
+ };
1631
+ position: "inset" | null;
1632
+ hOffset: {
1633
+ $$type: "size";
1634
+ value: {
1635
+ size: number;
1636
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1637
+ };
1638
+ };
1639
+ vOffset: {
1640
+ $$type: "size";
1641
+ value: {
1642
+ size: number;
1643
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1644
+ };
1645
+ };
1646
+ blur: {
1647
+ $$type: "size";
1648
+ value: {
1649
+ size: number;
1650
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1651
+ };
1652
+ };
1653
+ spread: {
1654
+ $$type: "size";
1655
+ value: {
1656
+ size: number;
1657
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1658
+ };
1659
+ };
1660
+ } | undefined) => {
1661
+ color: {
1662
+ $$type: "color";
1663
+ value: string;
1664
+ };
1665
+ position: "inset" | null;
1666
+ hOffset: {
1667
+ $$type: "size";
1668
+ value: {
1669
+ size: number;
1670
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1671
+ };
1672
+ };
1673
+ vOffset: {
1674
+ $$type: "size";
1675
+ value: {
1676
+ size: number;
1677
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1678
+ };
1679
+ };
1680
+ blur: {
1681
+ $$type: "size";
1682
+ value: {
1683
+ size: number;
1684
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1685
+ };
1686
+ };
1687
+ spread: {
1688
+ $$type: "size";
1689
+ value: {
1690
+ size: number;
1691
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1692
+ };
1693
+ };
1694
+ }, base: unknown): {
1695
+ $$type: "shadow";
1696
+ value: {
1697
+ color: {
1698
+ $$type: "color";
1699
+ value: string;
1700
+ };
1701
+ position: "inset" | null;
1702
+ hOffset: {
1703
+ $$type: "size";
1704
+ value: {
1705
+ size: number;
1706
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1707
+ };
1708
+ };
1709
+ vOffset: {
1710
+ $$type: "size";
1711
+ value: {
1712
+ size: number;
1713
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1714
+ };
1715
+ };
1716
+ blur: {
1717
+ $$type: "size";
1718
+ value: {
1719
+ size: number;
1720
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1721
+ };
1722
+ };
1723
+ spread: {
1724
+ $$type: "size";
1725
+ value: {
1726
+ size: number;
1727
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1728
+ };
1729
+ };
1730
+ };
1731
+ };
1732
+ };
1733
+ schema: z.ZodObject<{
1734
+ $$type: z.ZodLiteral<"shadow">;
1735
+ value: z.ZodObject<{
1736
+ position: z.ZodNullable<z.ZodLiteral<"inset">>;
1737
+ hOffset: z.ZodObject<{
1738
+ $$type: z.ZodLiteral<"size">;
1739
+ value: z.ZodObject<{
1740
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
1741
+ size: z.ZodNumber;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ size: number;
1744
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1745
+ }, {
1746
+ size: number;
1747
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1748
+ }>;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ $$type: "size";
1751
+ value: {
1752
+ size: number;
1753
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1754
+ };
1755
+ }, {
1756
+ $$type: "size";
1757
+ value: {
1758
+ size: number;
1759
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1760
+ };
1761
+ }>;
1762
+ vOffset: z.ZodObject<{
1763
+ $$type: z.ZodLiteral<"size">;
1764
+ value: z.ZodObject<{
1765
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
1766
+ size: z.ZodNumber;
1767
+ }, "strip", z.ZodTypeAny, {
1768
+ size: number;
1769
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1770
+ }, {
1771
+ size: number;
1772
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1773
+ }>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ $$type: "size";
1776
+ value: {
1777
+ size: number;
1778
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1779
+ };
1780
+ }, {
1781
+ $$type: "size";
1782
+ value: {
1783
+ size: number;
1784
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1785
+ };
1786
+ }>;
1787
+ blur: z.ZodObject<{
1788
+ $$type: z.ZodLiteral<"size">;
1789
+ value: z.ZodObject<{
1790
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
1791
+ size: z.ZodNumber;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ size: number;
1794
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1795
+ }, {
1796
+ size: number;
1797
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1798
+ }>;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ $$type: "size";
1801
+ value: {
1802
+ size: number;
1803
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1804
+ };
1805
+ }, {
1806
+ $$type: "size";
1807
+ value: {
1808
+ size: number;
1809
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1810
+ };
1811
+ }>;
1812
+ spread: z.ZodObject<{
1813
+ $$type: z.ZodLiteral<"size">;
1814
+ value: z.ZodObject<{
1815
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
1816
+ size: z.ZodNumber;
1817
+ }, "strip", z.ZodTypeAny, {
1818
+ size: number;
1819
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1820
+ }, {
1821
+ size: number;
1822
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1823
+ }>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ $$type: "size";
1826
+ value: {
1827
+ size: number;
1828
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1829
+ };
1830
+ }, {
1831
+ $$type: "size";
1832
+ value: {
1833
+ size: number;
1834
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1835
+ };
1836
+ }>;
1837
+ color: z.ZodObject<{
1838
+ $$type: z.ZodLiteral<"color">;
1839
+ value: z.ZodString;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ $$type: "color";
1842
+ value: string;
1843
+ }, {
1844
+ $$type: "color";
1845
+ value: string;
1846
+ }>;
1847
+ }, "strip", z.ZodTypeAny, {
1848
+ color: {
1849
+ $$type: "color";
1850
+ value: string;
1851
+ };
1852
+ position: "inset" | null;
1853
+ hOffset: {
1854
+ $$type: "size";
1855
+ value: {
1856
+ size: number;
1857
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1858
+ };
1859
+ };
1860
+ vOffset: {
1861
+ $$type: "size";
1862
+ value: {
1863
+ size: number;
1864
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1865
+ };
1866
+ };
1867
+ blur: {
1868
+ $$type: "size";
1869
+ value: {
1870
+ size: number;
1871
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1872
+ };
1873
+ };
1874
+ spread: {
1875
+ $$type: "size";
1876
+ value: {
1877
+ size: number;
1878
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1879
+ };
1880
+ };
1881
+ }, {
1882
+ color: {
1883
+ $$type: "color";
1884
+ value: string;
1885
+ };
1886
+ position: "inset" | null;
1887
+ hOffset: {
1888
+ $$type: "size";
1889
+ value: {
1890
+ size: number;
1891
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1892
+ };
1893
+ };
1894
+ vOffset: {
1895
+ $$type: "size";
1896
+ value: {
1897
+ size: number;
1898
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1899
+ };
1900
+ };
1901
+ blur: {
1902
+ $$type: "size";
1903
+ value: {
1904
+ size: number;
1905
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1906
+ };
1907
+ };
1908
+ spread: {
1909
+ $$type: "size";
1910
+ value: {
1911
+ size: number;
1912
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1913
+ };
1914
+ };
1915
+ }>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ $$type: "shadow";
1918
+ value: {
1919
+ color: {
1920
+ $$type: "color";
1921
+ value: string;
1922
+ };
1923
+ position: "inset" | null;
1924
+ hOffset: {
1925
+ $$type: "size";
1926
+ value: {
1927
+ size: number;
1928
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1929
+ };
1930
+ };
1931
+ vOffset: {
1932
+ $$type: "size";
1933
+ value: {
1934
+ size: number;
1935
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1936
+ };
1937
+ };
1938
+ blur: {
1939
+ $$type: "size";
1940
+ value: {
1941
+ size: number;
1942
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1943
+ };
1944
+ };
1945
+ spread: {
1946
+ $$type: "size";
1947
+ value: {
1948
+ size: number;
1949
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1950
+ };
1951
+ };
1952
+ };
1953
+ }, {
1954
+ $$type: "shadow";
1955
+ value: {
1956
+ color: {
1957
+ $$type: "color";
1958
+ value: string;
1959
+ };
1960
+ position: "inset" | null;
1961
+ hOffset: {
1962
+ $$type: "size";
1963
+ value: {
1964
+ size: number;
1965
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1966
+ };
1967
+ };
1968
+ vOffset: {
1969
+ $$type: "size";
1970
+ value: {
1971
+ size: number;
1972
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1973
+ };
1974
+ };
1975
+ blur: {
1976
+ $$type: "size";
1977
+ value: {
1978
+ size: number;
1979
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1980
+ };
1981
+ };
1982
+ spread: {
1983
+ $$type: "size";
1984
+ value: {
1985
+ size: number;
1986
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
1987
+ };
1988
+ };
1989
+ };
1990
+ }>;
1991
+ };
1992
+ type ShadowPropValue = z.infer<typeof shadowPropType.schema>;
1993
+
1994
+ declare const sizePropType: {
1995
+ isValid: (prop: unknown) => prop is {
1996
+ $$type: "size";
1997
+ value: {
1998
+ size: number;
1999
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2000
+ };
2001
+ };
2002
+ create: {
2003
+ (value: {
2004
+ size: number;
2005
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2006
+ }): {
2007
+ $$type: "size";
2008
+ value: {
2009
+ size: number;
2010
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2011
+ };
2012
+ };
2013
+ (value: (prev?: {
2014
+ size: number;
2015
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2016
+ } | undefined) => {
2017
+ size: number;
2018
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2019
+ }, base: unknown): {
2020
+ $$type: "size";
2021
+ value: {
2022
+ size: number;
2023
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2024
+ };
2025
+ };
2026
+ };
2027
+ schema: z.ZodObject<{
2028
+ $$type: z.ZodLiteral<"size">;
2029
+ value: z.ZodObject<{
2030
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
2031
+ size: z.ZodNumber;
2032
+ }, "strip", z.ZodTypeAny, {
2033
+ size: number;
2034
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2035
+ }, {
2036
+ size: number;
2037
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2038
+ }>;
2039
+ }, "strip", z.ZodTypeAny, {
2040
+ $$type: "size";
2041
+ value: {
2042
+ size: number;
2043
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2044
+ };
2045
+ }, {
2046
+ $$type: "size";
2047
+ value: {
2048
+ size: number;
2049
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2050
+ };
2051
+ }>;
2052
+ };
2053
+ type SizePropValue = z.infer<typeof sizePropType.schema>;
2054
+
2055
+ declare const strokePropType: {
2056
+ isValid: (prop: unknown) => prop is {
2057
+ $$type: "stroke";
2058
+ value: {
2059
+ color: {
2060
+ $$type: "color";
2061
+ value: string;
2062
+ };
2063
+ width: {
2064
+ $$type: "size";
2065
+ value: {
2066
+ size: number;
2067
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2068
+ };
2069
+ };
2070
+ };
2071
+ };
2072
+ create: {
2073
+ (value: {
2074
+ color: {
2075
+ $$type: "color";
2076
+ value: string;
2077
+ };
2078
+ width: {
2079
+ $$type: "size";
2080
+ value: {
2081
+ size: number;
2082
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2083
+ };
2084
+ };
2085
+ }): {
2086
+ $$type: "stroke";
2087
+ value: {
2088
+ color: {
2089
+ $$type: "color";
2090
+ value: string;
2091
+ };
2092
+ width: {
2093
+ $$type: "size";
2094
+ value: {
2095
+ size: number;
2096
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2097
+ };
2098
+ };
2099
+ };
2100
+ };
2101
+ (value: (prev?: {
2102
+ color: {
2103
+ $$type: "color";
2104
+ value: string;
2105
+ };
2106
+ width: {
2107
+ $$type: "size";
2108
+ value: {
2109
+ size: number;
2110
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2111
+ };
2112
+ };
2113
+ } | undefined) => {
2114
+ color: {
2115
+ $$type: "color";
2116
+ value: string;
2117
+ };
2118
+ width: {
2119
+ $$type: "size";
2120
+ value: {
2121
+ size: number;
2122
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2123
+ };
2124
+ };
2125
+ }, base: unknown): {
2126
+ $$type: "stroke";
2127
+ value: {
2128
+ color: {
2129
+ $$type: "color";
2130
+ value: string;
2131
+ };
2132
+ width: {
2133
+ $$type: "size";
2134
+ value: {
2135
+ size: number;
2136
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2137
+ };
2138
+ };
2139
+ };
2140
+ };
2141
+ };
2142
+ schema: z.ZodObject<{
2143
+ $$type: z.ZodLiteral<"stroke">;
2144
+ value: z.ZodObject<{
2145
+ color: z.ZodObject<{
2146
+ $$type: z.ZodLiteral<"color">;
2147
+ value: z.ZodString;
2148
+ }, "strip", z.ZodTypeAny, {
2149
+ $$type: "color";
2150
+ value: string;
2151
+ }, {
2152
+ $$type: "color";
2153
+ value: string;
2154
+ }>;
2155
+ width: z.ZodObject<{
2156
+ $$type: z.ZodLiteral<"size">;
2157
+ value: z.ZodObject<{
2158
+ unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
2159
+ size: z.ZodNumber;
2160
+ }, "strip", z.ZodTypeAny, {
2161
+ size: number;
2162
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2163
+ }, {
2164
+ size: number;
2165
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2166
+ }>;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ $$type: "size";
2169
+ value: {
2170
+ size: number;
2171
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2172
+ };
2173
+ }, {
2174
+ $$type: "size";
2175
+ value: {
2176
+ size: number;
2177
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2178
+ };
2179
+ }>;
2180
+ }, "strip", z.ZodTypeAny, {
2181
+ color: {
2182
+ $$type: "color";
2183
+ value: string;
2184
+ };
2185
+ width: {
2186
+ $$type: "size";
2187
+ value: {
2188
+ size: number;
2189
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2190
+ };
2191
+ };
2192
+ }, {
2193
+ color: {
2194
+ $$type: "color";
2195
+ value: string;
2196
+ };
2197
+ width: {
2198
+ $$type: "size";
2199
+ value: {
2200
+ size: number;
2201
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2202
+ };
2203
+ };
2204
+ }>;
2205
+ }, "strip", z.ZodTypeAny, {
2206
+ $$type: "stroke";
2207
+ value: {
2208
+ color: {
2209
+ $$type: "color";
2210
+ value: string;
2211
+ };
2212
+ width: {
2213
+ $$type: "size";
2214
+ value: {
2215
+ size: number;
2216
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2217
+ };
2218
+ };
2219
+ };
2220
+ }, {
2221
+ $$type: "stroke";
2222
+ value: {
2223
+ color: {
2224
+ $$type: "color";
2225
+ value: string;
2226
+ };
2227
+ width: {
2228
+ $$type: "size";
2229
+ value: {
2230
+ size: number;
2231
+ unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
2232
+ };
2233
+ };
2234
+ };
2235
+ }>;
2236
+ };
2237
+ type StrokePropValue = z.infer<typeof strokePropType.schema>;
2238
+
2239
+ declare const urlPropType: {
2240
+ isValid: (prop: unknown) => prop is {
2241
+ $$type: "url";
2242
+ value: string;
2243
+ };
2244
+ create: {
2245
+ (value: string): {
2246
+ $$type: "url";
2247
+ value: string;
2248
+ };
2249
+ (value: (prev?: string | undefined) => string, base: unknown): {
2250
+ $$type: "url";
2251
+ value: string;
2252
+ };
2253
+ };
2254
+ schema: z.ZodObject<{
2255
+ $$type: z.ZodLiteral<"url">;
2256
+ value: z.ZodString;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ $$type: "url";
2259
+ value: string;
2260
+ }, {
2261
+ $$type: "url";
2262
+ value: string;
2263
+ }>;
2264
+ };
2265
+ type UrlPropValue = z.infer<typeof urlPropType.schema>;
2266
+
2267
+ type Updater<T> = (prev?: T) => T;
2268
+ /**
2269
+ * Usage example:
2270
+ *
2271
+ * ```ts
2272
+ * const elementsPropUtils = createPropUtils( 'elements', z.array( z.string() ) );
2273
+ *
2274
+ * elementsPropUtils.isValid( element.props?.children );
2275
+ * elementsPropUtils.create( [ 'a', 'b' ] );
2276
+ * elementsPropUtils.create( ( prev = [] ) => [ ...prev, 'c' ], element.props?.children );
2277
+ * ```
2278
+ */
2279
+ declare function createPropUtils<TKey extends string, TValue extends ZodTypeAny>(key: TKey, valueSchema: TValue): {
2280
+ isValid: (prop: unknown) => prop is { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2281
+ $$type: z.ZodLiteral<TKey>;
2282
+ value: TValue;
2283
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2284
+ $$type: z.ZodLiteral<TKey>;
2285
+ value: TValue;
2286
+ }>, any>[k]; };
2287
+ create: {
2288
+ (value: { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2289
+ $$type: z.ZodLiteral<TKey>;
2290
+ value: TValue;
2291
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2292
+ $$type: z.ZodLiteral<TKey>;
2293
+ value: TValue;
2294
+ }>, any>[k]; }["value"]): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2295
+ $$type: z.ZodLiteral<TKey>;
2296
+ value: TValue;
2297
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2298
+ $$type: z.ZodLiteral<TKey>;
2299
+ value: TValue;
2300
+ }>, any>[k]; };
2301
+ (value: Updater<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2302
+ $$type: z.ZodLiteral<TKey>;
2303
+ value: TValue;
2304
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2305
+ $$type: z.ZodLiteral<TKey>;
2306
+ value: TValue;
2307
+ }>, any>[k]; }["value"]>, base: unknown): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2308
+ $$type: z.ZodLiteral<TKey>;
2309
+ value: TValue;
2310
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2311
+ $$type: z.ZodLiteral<TKey>;
2312
+ value: TValue;
2313
+ }>, any>[k]; };
2314
+ };
2315
+ schema: z.ZodObject<{
2316
+ $$type: z.ZodLiteral<TKey>;
2317
+ value: TValue;
2318
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2319
+ $$type: z.ZodLiteral<TKey>;
2320
+ value: TValue;
2321
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2322
+ $$type: z.ZodLiteral<TKey>;
2323
+ value: TValue;
2324
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
2325
+ $$type: z.ZodLiteral<TKey>;
2326
+ value: TValue;
2327
+ }>]: z.baseObjectInputType<{
2328
+ $$type: z.ZodLiteral<TKey>;
2329
+ value: TValue;
2330
+ }>[k_1]; }>;
2331
+ };
2332
+
2333
+ declare const transformableSchema: z.ZodObject<{
2334
+ $$type: z.ZodString;
2335
+ value: z.ZodAny;
2336
+ }, "strip", z.ZodTypeAny, {
2337
+ $$type: string;
2338
+ value?: any;
2339
+ }, {
2340
+ $$type: string;
2341
+ value?: any;
2342
+ }>;
2343
+ type TransformablePropValue = z.infer<typeof transformableSchema>;
2344
+ declare const isTransformable: (value: unknown) => value is TransformablePropValue;
2345
+
2346
+ export { type ArrayPropType, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorPropValue, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LinkedDimensionsPropValue, type ObjectPropType, type PlainPropType, type PlainPropValue, type PlainProps, type PropKey, type PropType, type PropValue, type Props, type ShadowPropValue, type SizePropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, borderRadiusPropType, borderWidthPropType, boxShadowPropType, classesPropType, colorPropType, createPropUtils, imageAttachmentIdPropType, imagePropType, imageSrcPropType, isTransformable, linkedDimensionsPropType, shadowPropType, sizePropType, strokePropType, urlPropType };