@webstudio-is/css-engine 0.90.0 → 0.92.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 (59) hide show
  1. package/lib/__generated__/types.js +1 -0
  2. package/lib/core/compare-media.js +2 -4
  3. package/{src/core/compare-media.test.ts → lib/core/compare-media.test.js} +7 -9
  4. package/lib/core/create-css-engine.js +2 -4
  5. package/lib/core/css-engine.js +2 -4
  6. package/lib/core/css-engine.stories.js +48 -0
  7. package/{src/core/css-engine.test.ts → lib/core/css-engine.test.js} +51 -88
  8. package/lib/core/equal-media.js +2 -4
  9. package/{src/core/equal-media.test.ts → lib/core/equal-media.test.js} +1 -3
  10. package/lib/core/find-applicable-media.js +2 -4
  11. package/{src/core/find-applicable-media.test.ts → lib/core/find-applicable-media.test.js} +7 -8
  12. package/lib/core/index.js +2 -4
  13. package/lib/core/match-media.js +2 -4
  14. package/{src/core/match-media.test.ts → lib/core/match-media.test.js} +1 -3
  15. package/lib/core/rules.js +5 -10
  16. package/lib/core/style-element.js +2 -4
  17. package/lib/core/style-sheet.js +2 -4
  18. package/lib/core/to-property.js +2 -4
  19. package/{src/core/to-property.test.ts → lib/core/to-property.test.js} +1 -1
  20. package/lib/core/to-value.js +2 -4
  21. package/{src/core/to-value.test.ts → lib/core/to-value.test.js} +21 -32
  22. package/lib/index.js +2 -0
  23. package/lib/schema.js +98 -0
  24. package/lib/types/__generated__/types.d.ts +2 -0
  25. package/lib/types/core/css-engine.d.ts +1 -1
  26. package/lib/types/core/rules.d.ts +2 -2
  27. package/lib/types/core/to-property.d.ts +1 -1
  28. package/lib/types/core/to-value.d.ts +1 -1
  29. package/lib/types/index.d.ts +2 -0
  30. package/lib/types/schema.d.ts +3233 -0
  31. package/package.json +12 -15
  32. package/lib/cjs/core/compare-media.js +0 -38
  33. package/lib/cjs/core/create-css-engine.js +0 -27
  34. package/lib/cjs/core/css-engine.js +0 -122
  35. package/lib/cjs/core/equal-media.js +0 -26
  36. package/lib/cjs/core/find-applicable-media.js +0 -33
  37. package/lib/cjs/core/index.js +0 -32
  38. package/lib/cjs/core/match-media.js +0 -28
  39. package/lib/cjs/core/rules.js +0 -187
  40. package/lib/cjs/core/style-element.js +0 -61
  41. package/lib/cjs/core/style-sheet.js +0 -36
  42. package/lib/cjs/core/to-property.js +0 -40
  43. package/lib/cjs/core/to-value.js +0 -98
  44. package/lib/cjs/index.js +0 -18
  45. package/lib/cjs/package.json +0 -1
  46. package/src/core/compare-media.ts +0 -30
  47. package/src/core/create-css-engine.ts +0 -5
  48. package/src/core/css-engine.stories.tsx +0 -48
  49. package/src/core/css-engine.ts +0 -128
  50. package/src/core/equal-media.ts +0 -5
  51. package/src/core/find-applicable-media.ts +0 -20
  52. package/src/core/index.ts +0 -15
  53. package/src/core/match-media.ts +0 -8
  54. package/src/core/rules.ts +0 -182
  55. package/src/core/style-element.ts +0 -38
  56. package/src/core/style-sheet.ts +0 -15
  57. package/src/core/to-property.ts +0 -12
  58. package/src/core/to-value.ts +0 -108
  59. package/src/index.ts +0 -1
@@ -0,0 +1,3233 @@
1
+ import { z } from "zod";
2
+ import type { Property as GeneratedProperty, Unit as GeneratedUnit } from "./__generated__/types";
3
+ export type CustomProperty = `--${string}`;
4
+ export type StyleProperty = GeneratedProperty | CustomProperty;
5
+ declare const Unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
6
+ export type Unit = z.infer<typeof Unit>;
7
+ export declare const UnitValue: z.ZodObject<{
8
+ type: z.ZodLiteral<"unit">;
9
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
10
+ value: z.ZodNumber;
11
+ }, "strip", z.ZodTypeAny, {
12
+ type: "unit";
13
+ value: number;
14
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
15
+ }, {
16
+ type: "unit";
17
+ value: number;
18
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
19
+ }>;
20
+ export type UnitValue = z.infer<typeof UnitValue>;
21
+ export declare const KeywordValue: z.ZodObject<{
22
+ type: z.ZodLiteral<"keyword">;
23
+ value: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ type: "keyword";
26
+ value: string;
27
+ }, {
28
+ type: "keyword";
29
+ value: string;
30
+ }>;
31
+ export type KeywordValue = z.infer<typeof KeywordValue>;
32
+ /**
33
+ * Valid unparsed css value
34
+ **/
35
+ export declare const UnparsedValue: z.ZodObject<{
36
+ type: z.ZodLiteral<"unparsed">;
37
+ value: z.ZodString;
38
+ hidden: z.ZodOptional<z.ZodBoolean>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ type: "unparsed";
41
+ value: string;
42
+ hidden?: boolean | undefined;
43
+ }, {
44
+ type: "unparsed";
45
+ value: string;
46
+ hidden?: boolean | undefined;
47
+ }>;
48
+ export type UnparsedValue = z.infer<typeof UnparsedValue>;
49
+ declare const FontFamilyValue: z.ZodObject<{
50
+ type: z.ZodLiteral<"fontFamily">;
51
+ value: z.ZodArray<z.ZodString, "many">;
52
+ }, "strip", z.ZodTypeAny, {
53
+ type: "fontFamily";
54
+ value: string[];
55
+ }, {
56
+ type: "fontFamily";
57
+ value: string[];
58
+ }>;
59
+ export type FontFamilyValue = z.infer<typeof FontFamilyValue>;
60
+ declare const RgbValue: z.ZodObject<{
61
+ type: z.ZodLiteral<"rgb">;
62
+ r: z.ZodNumber;
63
+ g: z.ZodNumber;
64
+ b: z.ZodNumber;
65
+ alpha: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ type: "rgb";
68
+ r: number;
69
+ g: number;
70
+ b: number;
71
+ alpha: number;
72
+ }, {
73
+ type: "rgb";
74
+ r: number;
75
+ g: number;
76
+ b: number;
77
+ alpha: number;
78
+ }>;
79
+ export type RgbValue = z.infer<typeof RgbValue>;
80
+ export declare const ImageValue: z.ZodObject<{
81
+ type: z.ZodLiteral<"image">;
82
+ value: z.ZodUnion<[z.ZodObject<{
83
+ type: z.ZodLiteral<"asset">;
84
+ value: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ type: "asset";
87
+ value: string;
88
+ }, {
89
+ type: "asset";
90
+ value: string;
91
+ }>, z.ZodObject<{
92
+ type: z.ZodLiteral<"url">;
93
+ url: z.ZodString;
94
+ }, "strip", z.ZodTypeAny, {
95
+ type: "url";
96
+ url: string;
97
+ }, {
98
+ type: "url";
99
+ url: string;
100
+ }>]>;
101
+ hidden: z.ZodOptional<z.ZodBoolean>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ type: "image";
104
+ value: {
105
+ type: "asset";
106
+ value: string;
107
+ } | {
108
+ type: "url";
109
+ url: string;
110
+ };
111
+ hidden?: boolean | undefined;
112
+ }, {
113
+ type: "image";
114
+ value: {
115
+ type: "asset";
116
+ value: string;
117
+ } | {
118
+ type: "url";
119
+ url: string;
120
+ };
121
+ hidden?: boolean | undefined;
122
+ }>;
123
+ export type ImageValue = z.infer<typeof ImageValue>;
124
+ export declare const InvalidValue: z.ZodObject<{
125
+ type: z.ZodLiteral<"invalid">;
126
+ value: z.ZodString;
127
+ }, "strip", z.ZodTypeAny, {
128
+ type: "invalid";
129
+ value: string;
130
+ }, {
131
+ type: "invalid";
132
+ value: string;
133
+ }>;
134
+ export type InvalidValue = z.infer<typeof InvalidValue>;
135
+ declare const UnsetValue: z.ZodObject<{
136
+ type: z.ZodLiteral<"unset">;
137
+ value: z.ZodLiteral<"">;
138
+ }, "strip", z.ZodTypeAny, {
139
+ type: "unset";
140
+ value: "";
141
+ }, {
142
+ type: "unset";
143
+ value: "";
144
+ }>;
145
+ export type UnsetValue = z.infer<typeof UnsetValue>;
146
+ export declare const TupleValueItem: z.ZodUnion<[z.ZodObject<{
147
+ type: z.ZodLiteral<"unit">;
148
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
149
+ value: z.ZodNumber;
150
+ }, "strip", z.ZodTypeAny, {
151
+ type: "unit";
152
+ value: number;
153
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
154
+ }, {
155
+ type: "unit";
156
+ value: number;
157
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
158
+ }>, z.ZodObject<{
159
+ type: z.ZodLiteral<"keyword">;
160
+ value: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ type: "keyword";
163
+ value: string;
164
+ }, {
165
+ type: "keyword";
166
+ value: string;
167
+ }>, z.ZodObject<{
168
+ type: z.ZodLiteral<"unparsed">;
169
+ value: z.ZodString;
170
+ hidden: z.ZodOptional<z.ZodBoolean>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ type: "unparsed";
173
+ value: string;
174
+ hidden?: boolean | undefined;
175
+ }, {
176
+ type: "unparsed";
177
+ value: string;
178
+ hidden?: boolean | undefined;
179
+ }>, z.ZodObject<{
180
+ type: z.ZodLiteral<"rgb">;
181
+ r: z.ZodNumber;
182
+ g: z.ZodNumber;
183
+ b: z.ZodNumber;
184
+ alpha: z.ZodNumber;
185
+ }, "strip", z.ZodTypeAny, {
186
+ type: "rgb";
187
+ r: number;
188
+ g: number;
189
+ b: number;
190
+ alpha: number;
191
+ }, {
192
+ type: "rgb";
193
+ r: number;
194
+ g: number;
195
+ b: number;
196
+ alpha: number;
197
+ }>]>;
198
+ export type TupleValueItem = z.infer<typeof TupleValueItem>;
199
+ export declare const TupleValue: z.ZodObject<{
200
+ type: z.ZodLiteral<"tuple">;
201
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
202
+ type: z.ZodLiteral<"unit">;
203
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
204
+ value: z.ZodNumber;
205
+ }, "strip", z.ZodTypeAny, {
206
+ type: "unit";
207
+ value: number;
208
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
209
+ }, {
210
+ type: "unit";
211
+ value: number;
212
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
213
+ }>, z.ZodObject<{
214
+ type: z.ZodLiteral<"keyword">;
215
+ value: z.ZodString;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: "keyword";
218
+ value: string;
219
+ }, {
220
+ type: "keyword";
221
+ value: string;
222
+ }>, z.ZodObject<{
223
+ type: z.ZodLiteral<"unparsed">;
224
+ value: z.ZodString;
225
+ hidden: z.ZodOptional<z.ZodBoolean>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ type: "unparsed";
228
+ value: string;
229
+ hidden?: boolean | undefined;
230
+ }, {
231
+ type: "unparsed";
232
+ value: string;
233
+ hidden?: boolean | undefined;
234
+ }>, z.ZodObject<{
235
+ type: z.ZodLiteral<"rgb">;
236
+ r: z.ZodNumber;
237
+ g: z.ZodNumber;
238
+ b: z.ZodNumber;
239
+ alpha: z.ZodNumber;
240
+ }, "strip", z.ZodTypeAny, {
241
+ type: "rgb";
242
+ r: number;
243
+ g: number;
244
+ b: number;
245
+ alpha: number;
246
+ }, {
247
+ type: "rgb";
248
+ r: number;
249
+ g: number;
250
+ b: number;
251
+ alpha: number;
252
+ }>]>, "many">;
253
+ hidden: z.ZodOptional<z.ZodBoolean>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ type: "tuple";
256
+ value: ({
257
+ type: "unit";
258
+ value: number;
259
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
260
+ } | {
261
+ type: "keyword";
262
+ value: string;
263
+ } | {
264
+ type: "unparsed";
265
+ value: string;
266
+ hidden?: boolean | undefined;
267
+ } | {
268
+ type: "rgb";
269
+ r: number;
270
+ g: number;
271
+ b: number;
272
+ alpha: number;
273
+ })[];
274
+ hidden?: boolean | undefined;
275
+ }, {
276
+ type: "tuple";
277
+ value: ({
278
+ type: "unit";
279
+ value: number;
280
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
281
+ } | {
282
+ type: "keyword";
283
+ value: string;
284
+ } | {
285
+ type: "unparsed";
286
+ value: string;
287
+ hidden?: boolean | undefined;
288
+ } | {
289
+ type: "rgb";
290
+ r: number;
291
+ g: number;
292
+ b: number;
293
+ alpha: number;
294
+ })[];
295
+ hidden?: boolean | undefined;
296
+ }>;
297
+ export type TupleValue = z.infer<typeof TupleValue>;
298
+ declare const LayerValueItem: z.ZodUnion<[z.ZodObject<{
299
+ type: z.ZodLiteral<"unit">;
300
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
301
+ value: z.ZodNumber;
302
+ }, "strip", z.ZodTypeAny, {
303
+ type: "unit";
304
+ value: number;
305
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
306
+ }, {
307
+ type: "unit";
308
+ value: number;
309
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
310
+ }>, z.ZodObject<{
311
+ type: z.ZodLiteral<"keyword">;
312
+ value: z.ZodString;
313
+ }, "strip", z.ZodTypeAny, {
314
+ type: "keyword";
315
+ value: string;
316
+ }, {
317
+ type: "keyword";
318
+ value: string;
319
+ }>, z.ZodObject<{
320
+ type: z.ZodLiteral<"unparsed">;
321
+ value: z.ZodString;
322
+ hidden: z.ZodOptional<z.ZodBoolean>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ type: "unparsed";
325
+ value: string;
326
+ hidden?: boolean | undefined;
327
+ }, {
328
+ type: "unparsed";
329
+ value: string;
330
+ hidden?: boolean | undefined;
331
+ }>, z.ZodObject<{
332
+ type: z.ZodLiteral<"image">;
333
+ value: z.ZodUnion<[z.ZodObject<{
334
+ type: z.ZodLiteral<"asset">;
335
+ value: z.ZodString;
336
+ }, "strip", z.ZodTypeAny, {
337
+ type: "asset";
338
+ value: string;
339
+ }, {
340
+ type: "asset";
341
+ value: string;
342
+ }>, z.ZodObject<{
343
+ type: z.ZodLiteral<"url">;
344
+ url: z.ZodString;
345
+ }, "strip", z.ZodTypeAny, {
346
+ type: "url";
347
+ url: string;
348
+ }, {
349
+ type: "url";
350
+ url: string;
351
+ }>]>;
352
+ hidden: z.ZodOptional<z.ZodBoolean>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ type: "image";
355
+ value: {
356
+ type: "asset";
357
+ value: string;
358
+ } | {
359
+ type: "url";
360
+ url: string;
361
+ };
362
+ hidden?: boolean | undefined;
363
+ }, {
364
+ type: "image";
365
+ value: {
366
+ type: "asset";
367
+ value: string;
368
+ } | {
369
+ type: "url";
370
+ url: string;
371
+ };
372
+ hidden?: boolean | undefined;
373
+ }>, z.ZodObject<{
374
+ type: z.ZodLiteral<"tuple">;
375
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
376
+ type: z.ZodLiteral<"unit">;
377
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
378
+ value: z.ZodNumber;
379
+ }, "strip", z.ZodTypeAny, {
380
+ type: "unit";
381
+ value: number;
382
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
383
+ }, {
384
+ type: "unit";
385
+ value: number;
386
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
387
+ }>, z.ZodObject<{
388
+ type: z.ZodLiteral<"keyword">;
389
+ value: z.ZodString;
390
+ }, "strip", z.ZodTypeAny, {
391
+ type: "keyword";
392
+ value: string;
393
+ }, {
394
+ type: "keyword";
395
+ value: string;
396
+ }>, z.ZodObject<{
397
+ type: z.ZodLiteral<"unparsed">;
398
+ value: z.ZodString;
399
+ hidden: z.ZodOptional<z.ZodBoolean>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ type: "unparsed";
402
+ value: string;
403
+ hidden?: boolean | undefined;
404
+ }, {
405
+ type: "unparsed";
406
+ value: string;
407
+ hidden?: boolean | undefined;
408
+ }>, z.ZodObject<{
409
+ type: z.ZodLiteral<"rgb">;
410
+ r: z.ZodNumber;
411
+ g: z.ZodNumber;
412
+ b: z.ZodNumber;
413
+ alpha: z.ZodNumber;
414
+ }, "strip", z.ZodTypeAny, {
415
+ type: "rgb";
416
+ r: number;
417
+ g: number;
418
+ b: number;
419
+ alpha: number;
420
+ }, {
421
+ type: "rgb";
422
+ r: number;
423
+ g: number;
424
+ b: number;
425
+ alpha: number;
426
+ }>]>, "many">;
427
+ hidden: z.ZodOptional<z.ZodBoolean>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ type: "tuple";
430
+ value: ({
431
+ type: "unit";
432
+ value: number;
433
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
434
+ } | {
435
+ type: "keyword";
436
+ value: string;
437
+ } | {
438
+ type: "unparsed";
439
+ value: string;
440
+ hidden?: boolean | undefined;
441
+ } | {
442
+ type: "rgb";
443
+ r: number;
444
+ g: number;
445
+ b: number;
446
+ alpha: number;
447
+ })[];
448
+ hidden?: boolean | undefined;
449
+ }, {
450
+ type: "tuple";
451
+ value: ({
452
+ type: "unit";
453
+ value: number;
454
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
455
+ } | {
456
+ type: "keyword";
457
+ value: string;
458
+ } | {
459
+ type: "unparsed";
460
+ value: string;
461
+ hidden?: boolean | undefined;
462
+ } | {
463
+ type: "rgb";
464
+ r: number;
465
+ g: number;
466
+ b: number;
467
+ alpha: number;
468
+ })[];
469
+ hidden?: boolean | undefined;
470
+ }>, z.ZodObject<{
471
+ type: z.ZodLiteral<"invalid">;
472
+ value: z.ZodString;
473
+ }, "strip", z.ZodTypeAny, {
474
+ type: "invalid";
475
+ value: string;
476
+ }, {
477
+ type: "invalid";
478
+ value: string;
479
+ }>]>;
480
+ export type LayerValueItem = z.infer<typeof LayerValueItem>;
481
+ export declare const LayersValue: z.ZodObject<{
482
+ type: z.ZodLiteral<"layers">;
483
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
484
+ type: z.ZodLiteral<"unit">;
485
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
486
+ value: z.ZodNumber;
487
+ }, "strip", z.ZodTypeAny, {
488
+ type: "unit";
489
+ value: number;
490
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
491
+ }, {
492
+ type: "unit";
493
+ value: number;
494
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
495
+ }>, z.ZodObject<{
496
+ type: z.ZodLiteral<"keyword">;
497
+ value: z.ZodString;
498
+ }, "strip", z.ZodTypeAny, {
499
+ type: "keyword";
500
+ value: string;
501
+ }, {
502
+ type: "keyword";
503
+ value: string;
504
+ }>, z.ZodObject<{
505
+ type: z.ZodLiteral<"unparsed">;
506
+ value: z.ZodString;
507
+ hidden: z.ZodOptional<z.ZodBoolean>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ type: "unparsed";
510
+ value: string;
511
+ hidden?: boolean | undefined;
512
+ }, {
513
+ type: "unparsed";
514
+ value: string;
515
+ hidden?: boolean | undefined;
516
+ }>, z.ZodObject<{
517
+ type: z.ZodLiteral<"image">;
518
+ value: z.ZodUnion<[z.ZodObject<{
519
+ type: z.ZodLiteral<"asset">;
520
+ value: z.ZodString;
521
+ }, "strip", z.ZodTypeAny, {
522
+ type: "asset";
523
+ value: string;
524
+ }, {
525
+ type: "asset";
526
+ value: string;
527
+ }>, z.ZodObject<{
528
+ type: z.ZodLiteral<"url">;
529
+ url: z.ZodString;
530
+ }, "strip", z.ZodTypeAny, {
531
+ type: "url";
532
+ url: string;
533
+ }, {
534
+ type: "url";
535
+ url: string;
536
+ }>]>;
537
+ hidden: z.ZodOptional<z.ZodBoolean>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ type: "image";
540
+ value: {
541
+ type: "asset";
542
+ value: string;
543
+ } | {
544
+ type: "url";
545
+ url: string;
546
+ };
547
+ hidden?: boolean | undefined;
548
+ }, {
549
+ type: "image";
550
+ value: {
551
+ type: "asset";
552
+ value: string;
553
+ } | {
554
+ type: "url";
555
+ url: string;
556
+ };
557
+ hidden?: boolean | undefined;
558
+ }>, z.ZodObject<{
559
+ type: z.ZodLiteral<"tuple">;
560
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
561
+ type: z.ZodLiteral<"unit">;
562
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
563
+ value: z.ZodNumber;
564
+ }, "strip", z.ZodTypeAny, {
565
+ type: "unit";
566
+ value: number;
567
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
568
+ }, {
569
+ type: "unit";
570
+ value: number;
571
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
572
+ }>, z.ZodObject<{
573
+ type: z.ZodLiteral<"keyword">;
574
+ value: z.ZodString;
575
+ }, "strip", z.ZodTypeAny, {
576
+ type: "keyword";
577
+ value: string;
578
+ }, {
579
+ type: "keyword";
580
+ value: string;
581
+ }>, z.ZodObject<{
582
+ type: z.ZodLiteral<"unparsed">;
583
+ value: z.ZodString;
584
+ hidden: z.ZodOptional<z.ZodBoolean>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ type: "unparsed";
587
+ value: string;
588
+ hidden?: boolean | undefined;
589
+ }, {
590
+ type: "unparsed";
591
+ value: string;
592
+ hidden?: boolean | undefined;
593
+ }>, z.ZodObject<{
594
+ type: z.ZodLiteral<"rgb">;
595
+ r: z.ZodNumber;
596
+ g: z.ZodNumber;
597
+ b: z.ZodNumber;
598
+ alpha: z.ZodNumber;
599
+ }, "strip", z.ZodTypeAny, {
600
+ type: "rgb";
601
+ r: number;
602
+ g: number;
603
+ b: number;
604
+ alpha: number;
605
+ }, {
606
+ type: "rgb";
607
+ r: number;
608
+ g: number;
609
+ b: number;
610
+ alpha: number;
611
+ }>]>, "many">;
612
+ hidden: z.ZodOptional<z.ZodBoolean>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ type: "tuple";
615
+ value: ({
616
+ type: "unit";
617
+ value: number;
618
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
619
+ } | {
620
+ type: "keyword";
621
+ value: string;
622
+ } | {
623
+ type: "unparsed";
624
+ value: string;
625
+ hidden?: boolean | undefined;
626
+ } | {
627
+ type: "rgb";
628
+ r: number;
629
+ g: number;
630
+ b: number;
631
+ alpha: number;
632
+ })[];
633
+ hidden?: boolean | undefined;
634
+ }, {
635
+ type: "tuple";
636
+ value: ({
637
+ type: "unit";
638
+ value: number;
639
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
640
+ } | {
641
+ type: "keyword";
642
+ value: string;
643
+ } | {
644
+ type: "unparsed";
645
+ value: string;
646
+ hidden?: boolean | undefined;
647
+ } | {
648
+ type: "rgb";
649
+ r: number;
650
+ g: number;
651
+ b: number;
652
+ alpha: number;
653
+ })[];
654
+ hidden?: boolean | undefined;
655
+ }>, z.ZodObject<{
656
+ type: z.ZodLiteral<"invalid">;
657
+ value: z.ZodString;
658
+ }, "strip", z.ZodTypeAny, {
659
+ type: "invalid";
660
+ value: string;
661
+ }, {
662
+ type: "invalid";
663
+ value: string;
664
+ }>]>, "many">;
665
+ }, "strip", z.ZodTypeAny, {
666
+ type: "layers";
667
+ value: ({
668
+ type: "unit";
669
+ value: number;
670
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
671
+ } | {
672
+ type: "keyword";
673
+ value: string;
674
+ } | {
675
+ type: "unparsed";
676
+ value: string;
677
+ hidden?: boolean | undefined;
678
+ } | {
679
+ type: "image";
680
+ value: {
681
+ type: "asset";
682
+ value: string;
683
+ } | {
684
+ type: "url";
685
+ url: string;
686
+ };
687
+ hidden?: boolean | undefined;
688
+ } | {
689
+ type: "invalid";
690
+ value: string;
691
+ } | {
692
+ type: "tuple";
693
+ value: ({
694
+ type: "unit";
695
+ value: number;
696
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
697
+ } | {
698
+ type: "keyword";
699
+ value: string;
700
+ } | {
701
+ type: "unparsed";
702
+ value: string;
703
+ hidden?: boolean | undefined;
704
+ } | {
705
+ type: "rgb";
706
+ r: number;
707
+ g: number;
708
+ b: number;
709
+ alpha: number;
710
+ })[];
711
+ hidden?: boolean | undefined;
712
+ })[];
713
+ }, {
714
+ type: "layers";
715
+ value: ({
716
+ type: "unit";
717
+ value: number;
718
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
719
+ } | {
720
+ type: "keyword";
721
+ value: string;
722
+ } | {
723
+ type: "unparsed";
724
+ value: string;
725
+ hidden?: boolean | undefined;
726
+ } | {
727
+ type: "image";
728
+ value: {
729
+ type: "asset";
730
+ value: string;
731
+ } | {
732
+ type: "url";
733
+ url: string;
734
+ };
735
+ hidden?: boolean | undefined;
736
+ } | {
737
+ type: "invalid";
738
+ value: string;
739
+ } | {
740
+ type: "tuple";
741
+ value: ({
742
+ type: "unit";
743
+ value: number;
744
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
745
+ } | {
746
+ type: "keyword";
747
+ value: string;
748
+ } | {
749
+ type: "unparsed";
750
+ value: string;
751
+ hidden?: boolean | undefined;
752
+ } | {
753
+ type: "rgb";
754
+ r: number;
755
+ g: number;
756
+ b: number;
757
+ alpha: number;
758
+ })[];
759
+ hidden?: boolean | undefined;
760
+ })[];
761
+ }>;
762
+ export type LayersValue = z.infer<typeof LayersValue>;
763
+ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
764
+ type: z.ZodLiteral<"image">;
765
+ value: z.ZodUnion<[z.ZodObject<{
766
+ type: z.ZodLiteral<"asset">;
767
+ value: z.ZodString;
768
+ }, "strip", z.ZodTypeAny, {
769
+ type: "asset";
770
+ value: string;
771
+ }, {
772
+ type: "asset";
773
+ value: string;
774
+ }>, z.ZodObject<{
775
+ type: z.ZodLiteral<"url">;
776
+ url: z.ZodString;
777
+ }, "strip", z.ZodTypeAny, {
778
+ type: "url";
779
+ url: string;
780
+ }, {
781
+ type: "url";
782
+ url: string;
783
+ }>]>;
784
+ hidden: z.ZodOptional<z.ZodBoolean>;
785
+ }, "strip", z.ZodTypeAny, {
786
+ type: "image";
787
+ value: {
788
+ type: "asset";
789
+ value: string;
790
+ } | {
791
+ type: "url";
792
+ url: string;
793
+ };
794
+ hidden?: boolean | undefined;
795
+ }, {
796
+ type: "image";
797
+ value: {
798
+ type: "asset";
799
+ value: string;
800
+ } | {
801
+ type: "url";
802
+ url: string;
803
+ };
804
+ hidden?: boolean | undefined;
805
+ }>, z.ZodObject<{
806
+ type: z.ZodLiteral<"layers">;
807
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
808
+ type: z.ZodLiteral<"unit">;
809
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
810
+ value: z.ZodNumber;
811
+ }, "strip", z.ZodTypeAny, {
812
+ type: "unit";
813
+ value: number;
814
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
815
+ }, {
816
+ type: "unit";
817
+ value: number;
818
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
819
+ }>, z.ZodObject<{
820
+ type: z.ZodLiteral<"keyword">;
821
+ value: z.ZodString;
822
+ }, "strip", z.ZodTypeAny, {
823
+ type: "keyword";
824
+ value: string;
825
+ }, {
826
+ type: "keyword";
827
+ value: string;
828
+ }>, z.ZodObject<{
829
+ type: z.ZodLiteral<"unparsed">;
830
+ value: z.ZodString;
831
+ hidden: z.ZodOptional<z.ZodBoolean>;
832
+ }, "strip", z.ZodTypeAny, {
833
+ type: "unparsed";
834
+ value: string;
835
+ hidden?: boolean | undefined;
836
+ }, {
837
+ type: "unparsed";
838
+ value: string;
839
+ hidden?: boolean | undefined;
840
+ }>, z.ZodObject<{
841
+ type: z.ZodLiteral<"image">;
842
+ value: z.ZodUnion<[z.ZodObject<{
843
+ type: z.ZodLiteral<"asset">;
844
+ value: z.ZodString;
845
+ }, "strip", z.ZodTypeAny, {
846
+ type: "asset";
847
+ value: string;
848
+ }, {
849
+ type: "asset";
850
+ value: string;
851
+ }>, z.ZodObject<{
852
+ type: z.ZodLiteral<"url">;
853
+ url: z.ZodString;
854
+ }, "strip", z.ZodTypeAny, {
855
+ type: "url";
856
+ url: string;
857
+ }, {
858
+ type: "url";
859
+ url: string;
860
+ }>]>;
861
+ hidden: z.ZodOptional<z.ZodBoolean>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ type: "image";
864
+ value: {
865
+ type: "asset";
866
+ value: string;
867
+ } | {
868
+ type: "url";
869
+ url: string;
870
+ };
871
+ hidden?: boolean | undefined;
872
+ }, {
873
+ type: "image";
874
+ value: {
875
+ type: "asset";
876
+ value: string;
877
+ } | {
878
+ type: "url";
879
+ url: string;
880
+ };
881
+ hidden?: boolean | undefined;
882
+ }>, z.ZodObject<{
883
+ type: z.ZodLiteral<"tuple">;
884
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
885
+ type: z.ZodLiteral<"unit">;
886
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
887
+ value: z.ZodNumber;
888
+ }, "strip", z.ZodTypeAny, {
889
+ type: "unit";
890
+ value: number;
891
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
892
+ }, {
893
+ type: "unit";
894
+ value: number;
895
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
896
+ }>, z.ZodObject<{
897
+ type: z.ZodLiteral<"keyword">;
898
+ value: z.ZodString;
899
+ }, "strip", z.ZodTypeAny, {
900
+ type: "keyword";
901
+ value: string;
902
+ }, {
903
+ type: "keyword";
904
+ value: string;
905
+ }>, z.ZodObject<{
906
+ type: z.ZodLiteral<"unparsed">;
907
+ value: z.ZodString;
908
+ hidden: z.ZodOptional<z.ZodBoolean>;
909
+ }, "strip", z.ZodTypeAny, {
910
+ type: "unparsed";
911
+ value: string;
912
+ hidden?: boolean | undefined;
913
+ }, {
914
+ type: "unparsed";
915
+ value: string;
916
+ hidden?: boolean | undefined;
917
+ }>, z.ZodObject<{
918
+ type: z.ZodLiteral<"rgb">;
919
+ r: z.ZodNumber;
920
+ g: z.ZodNumber;
921
+ b: z.ZodNumber;
922
+ alpha: z.ZodNumber;
923
+ }, "strip", z.ZodTypeAny, {
924
+ type: "rgb";
925
+ r: number;
926
+ g: number;
927
+ b: number;
928
+ alpha: number;
929
+ }, {
930
+ type: "rgb";
931
+ r: number;
932
+ g: number;
933
+ b: number;
934
+ alpha: number;
935
+ }>]>, "many">;
936
+ hidden: z.ZodOptional<z.ZodBoolean>;
937
+ }, "strip", z.ZodTypeAny, {
938
+ type: "tuple";
939
+ value: ({
940
+ type: "unit";
941
+ value: number;
942
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
943
+ } | {
944
+ type: "keyword";
945
+ value: string;
946
+ } | {
947
+ type: "unparsed";
948
+ value: string;
949
+ hidden?: boolean | undefined;
950
+ } | {
951
+ type: "rgb";
952
+ r: number;
953
+ g: number;
954
+ b: number;
955
+ alpha: number;
956
+ })[];
957
+ hidden?: boolean | undefined;
958
+ }, {
959
+ type: "tuple";
960
+ value: ({
961
+ type: "unit";
962
+ value: number;
963
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
964
+ } | {
965
+ type: "keyword";
966
+ value: string;
967
+ } | {
968
+ type: "unparsed";
969
+ value: string;
970
+ hidden?: boolean | undefined;
971
+ } | {
972
+ type: "rgb";
973
+ r: number;
974
+ g: number;
975
+ b: number;
976
+ alpha: number;
977
+ })[];
978
+ hidden?: boolean | undefined;
979
+ }>, z.ZodObject<{
980
+ type: z.ZodLiteral<"invalid">;
981
+ value: z.ZodString;
982
+ }, "strip", z.ZodTypeAny, {
983
+ type: "invalid";
984
+ value: string;
985
+ }, {
986
+ type: "invalid";
987
+ value: string;
988
+ }>]>, "many">;
989
+ }, "strip", z.ZodTypeAny, {
990
+ type: "layers";
991
+ value: ({
992
+ type: "unit";
993
+ value: number;
994
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
995
+ } | {
996
+ type: "keyword";
997
+ value: string;
998
+ } | {
999
+ type: "unparsed";
1000
+ value: string;
1001
+ hidden?: boolean | undefined;
1002
+ } | {
1003
+ type: "image";
1004
+ value: {
1005
+ type: "asset";
1006
+ value: string;
1007
+ } | {
1008
+ type: "url";
1009
+ url: string;
1010
+ };
1011
+ hidden?: boolean | undefined;
1012
+ } | {
1013
+ type: "invalid";
1014
+ value: string;
1015
+ } | {
1016
+ type: "tuple";
1017
+ value: ({
1018
+ type: "unit";
1019
+ value: number;
1020
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1021
+ } | {
1022
+ type: "keyword";
1023
+ value: string;
1024
+ } | {
1025
+ type: "unparsed";
1026
+ value: string;
1027
+ hidden?: boolean | undefined;
1028
+ } | {
1029
+ type: "rgb";
1030
+ r: number;
1031
+ g: number;
1032
+ b: number;
1033
+ alpha: number;
1034
+ })[];
1035
+ hidden?: boolean | undefined;
1036
+ })[];
1037
+ }, {
1038
+ type: "layers";
1039
+ value: ({
1040
+ type: "unit";
1041
+ value: number;
1042
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1043
+ } | {
1044
+ type: "keyword";
1045
+ value: string;
1046
+ } | {
1047
+ type: "unparsed";
1048
+ value: string;
1049
+ hidden?: boolean | undefined;
1050
+ } | {
1051
+ type: "image";
1052
+ value: {
1053
+ type: "asset";
1054
+ value: string;
1055
+ } | {
1056
+ type: "url";
1057
+ url: string;
1058
+ };
1059
+ hidden?: boolean | undefined;
1060
+ } | {
1061
+ type: "invalid";
1062
+ value: string;
1063
+ } | {
1064
+ type: "tuple";
1065
+ value: ({
1066
+ type: "unit";
1067
+ value: number;
1068
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1069
+ } | {
1070
+ type: "keyword";
1071
+ value: string;
1072
+ } | {
1073
+ type: "unparsed";
1074
+ value: string;
1075
+ hidden?: boolean | undefined;
1076
+ } | {
1077
+ type: "rgb";
1078
+ r: number;
1079
+ g: number;
1080
+ b: number;
1081
+ alpha: number;
1082
+ })[];
1083
+ hidden?: boolean | undefined;
1084
+ })[];
1085
+ }>, z.ZodObject<{
1086
+ type: z.ZodLiteral<"unit">;
1087
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
1088
+ value: z.ZodNumber;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ type: "unit";
1091
+ value: number;
1092
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1093
+ }, {
1094
+ type: "unit";
1095
+ value: number;
1096
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1097
+ }>, z.ZodObject<{
1098
+ type: z.ZodLiteral<"keyword">;
1099
+ value: z.ZodString;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ type: "keyword";
1102
+ value: string;
1103
+ }, {
1104
+ type: "keyword";
1105
+ value: string;
1106
+ }>, z.ZodObject<{
1107
+ type: z.ZodLiteral<"fontFamily">;
1108
+ value: z.ZodArray<z.ZodString, "many">;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ type: "fontFamily";
1111
+ value: string[];
1112
+ }, {
1113
+ type: "fontFamily";
1114
+ value: string[];
1115
+ }>, z.ZodObject<{
1116
+ type: z.ZodLiteral<"rgb">;
1117
+ r: z.ZodNumber;
1118
+ g: z.ZodNumber;
1119
+ b: z.ZodNumber;
1120
+ alpha: z.ZodNumber;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ type: "rgb";
1123
+ r: number;
1124
+ g: number;
1125
+ b: number;
1126
+ alpha: number;
1127
+ }, {
1128
+ type: "rgb";
1129
+ r: number;
1130
+ g: number;
1131
+ b: number;
1132
+ alpha: number;
1133
+ }>, z.ZodObject<{
1134
+ type: z.ZodLiteral<"unparsed">;
1135
+ value: z.ZodString;
1136
+ hidden: z.ZodOptional<z.ZodBoolean>;
1137
+ }, "strip", z.ZodTypeAny, {
1138
+ type: "unparsed";
1139
+ value: string;
1140
+ hidden?: boolean | undefined;
1141
+ }, {
1142
+ type: "unparsed";
1143
+ value: string;
1144
+ hidden?: boolean | undefined;
1145
+ }>, z.ZodObject<{
1146
+ type: z.ZodLiteral<"tuple">;
1147
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1148
+ type: z.ZodLiteral<"unit">;
1149
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
1150
+ value: z.ZodNumber;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ type: "unit";
1153
+ value: number;
1154
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1155
+ }, {
1156
+ type: "unit";
1157
+ value: number;
1158
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1159
+ }>, z.ZodObject<{
1160
+ type: z.ZodLiteral<"keyword">;
1161
+ value: z.ZodString;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ type: "keyword";
1164
+ value: string;
1165
+ }, {
1166
+ type: "keyword";
1167
+ value: string;
1168
+ }>, z.ZodObject<{
1169
+ type: z.ZodLiteral<"unparsed">;
1170
+ value: z.ZodString;
1171
+ hidden: z.ZodOptional<z.ZodBoolean>;
1172
+ }, "strip", z.ZodTypeAny, {
1173
+ type: "unparsed";
1174
+ value: string;
1175
+ hidden?: boolean | undefined;
1176
+ }, {
1177
+ type: "unparsed";
1178
+ value: string;
1179
+ hidden?: boolean | undefined;
1180
+ }>, z.ZodObject<{
1181
+ type: z.ZodLiteral<"rgb">;
1182
+ r: z.ZodNumber;
1183
+ g: z.ZodNumber;
1184
+ b: z.ZodNumber;
1185
+ alpha: z.ZodNumber;
1186
+ }, "strip", z.ZodTypeAny, {
1187
+ type: "rgb";
1188
+ r: number;
1189
+ g: number;
1190
+ b: number;
1191
+ alpha: number;
1192
+ }, {
1193
+ type: "rgb";
1194
+ r: number;
1195
+ g: number;
1196
+ b: number;
1197
+ alpha: number;
1198
+ }>]>, "many">;
1199
+ hidden: z.ZodOptional<z.ZodBoolean>;
1200
+ }, "strip", z.ZodTypeAny, {
1201
+ type: "tuple";
1202
+ value: ({
1203
+ type: "unit";
1204
+ value: number;
1205
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1206
+ } | {
1207
+ type: "keyword";
1208
+ value: string;
1209
+ } | {
1210
+ type: "unparsed";
1211
+ value: string;
1212
+ hidden?: boolean | undefined;
1213
+ } | {
1214
+ type: "rgb";
1215
+ r: number;
1216
+ g: number;
1217
+ b: number;
1218
+ alpha: number;
1219
+ })[];
1220
+ hidden?: boolean | undefined;
1221
+ }, {
1222
+ type: "tuple";
1223
+ value: ({
1224
+ type: "unit";
1225
+ value: number;
1226
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1227
+ } | {
1228
+ type: "keyword";
1229
+ value: string;
1230
+ } | {
1231
+ type: "unparsed";
1232
+ value: string;
1233
+ hidden?: boolean | undefined;
1234
+ } | {
1235
+ type: "rgb";
1236
+ r: number;
1237
+ g: number;
1238
+ b: number;
1239
+ alpha: number;
1240
+ })[];
1241
+ hidden?: boolean | undefined;
1242
+ }>]>;
1243
+ export type ValidStaticStyleValue = z.infer<typeof ValidStaticStyleValue>;
1244
+ /**
1245
+ * All StyleValue types that going to need wrapping into a CSS variable when rendered
1246
+ * on canvas inside builder.
1247
+ * Values like InvalidValue, UnsetValue, VarValue don't need to be wrapped
1248
+ */
1249
+ export declare const isValidStaticStyleValue: (styleValue: StyleValue) => styleValue is {
1250
+ type: "unit";
1251
+ value: number;
1252
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1253
+ } | {
1254
+ type: "keyword";
1255
+ value: string;
1256
+ } | {
1257
+ type: "unparsed";
1258
+ value: string;
1259
+ hidden?: boolean | undefined;
1260
+ } | {
1261
+ type: "fontFamily";
1262
+ value: string[];
1263
+ } | {
1264
+ type: "rgb";
1265
+ r: number;
1266
+ g: number;
1267
+ b: number;
1268
+ alpha: number;
1269
+ } | {
1270
+ type: "image";
1271
+ value: {
1272
+ type: "asset";
1273
+ value: string;
1274
+ } | {
1275
+ type: "url";
1276
+ url: string;
1277
+ };
1278
+ hidden?: boolean | undefined;
1279
+ } | {
1280
+ type: "tuple";
1281
+ value: ({
1282
+ type: "unit";
1283
+ value: number;
1284
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1285
+ } | {
1286
+ type: "keyword";
1287
+ value: string;
1288
+ } | {
1289
+ type: "unparsed";
1290
+ value: string;
1291
+ hidden?: boolean | undefined;
1292
+ } | {
1293
+ type: "rgb";
1294
+ r: number;
1295
+ g: number;
1296
+ b: number;
1297
+ alpha: number;
1298
+ })[];
1299
+ hidden?: boolean | undefined;
1300
+ } | {
1301
+ type: "layers";
1302
+ value: ({
1303
+ type: "unit";
1304
+ value: number;
1305
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1306
+ } | {
1307
+ type: "keyword";
1308
+ value: string;
1309
+ } | {
1310
+ type: "unparsed";
1311
+ value: string;
1312
+ hidden?: boolean | undefined;
1313
+ } | {
1314
+ type: "image";
1315
+ value: {
1316
+ type: "asset";
1317
+ value: string;
1318
+ } | {
1319
+ type: "url";
1320
+ url: string;
1321
+ };
1322
+ hidden?: boolean | undefined;
1323
+ } | {
1324
+ type: "invalid";
1325
+ value: string;
1326
+ } | {
1327
+ type: "tuple";
1328
+ value: ({
1329
+ type: "unit";
1330
+ value: number;
1331
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1332
+ } | {
1333
+ type: "keyword";
1334
+ value: string;
1335
+ } | {
1336
+ type: "unparsed";
1337
+ value: string;
1338
+ hidden?: boolean | undefined;
1339
+ } | {
1340
+ type: "rgb";
1341
+ r: number;
1342
+ g: number;
1343
+ b: number;
1344
+ alpha: number;
1345
+ })[];
1346
+ hidden?: boolean | undefined;
1347
+ })[];
1348
+ };
1349
+ declare const VarValue: z.ZodObject<{
1350
+ type: z.ZodLiteral<"var">;
1351
+ value: z.ZodString;
1352
+ fallbacks: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1353
+ type: z.ZodLiteral<"image">;
1354
+ value: z.ZodUnion<[z.ZodObject<{
1355
+ type: z.ZodLiteral<"asset">;
1356
+ value: z.ZodString;
1357
+ }, "strip", z.ZodTypeAny, {
1358
+ type: "asset";
1359
+ value: string;
1360
+ }, {
1361
+ type: "asset";
1362
+ value: string;
1363
+ }>, z.ZodObject<{
1364
+ type: z.ZodLiteral<"url">;
1365
+ url: z.ZodString;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ type: "url";
1368
+ url: string;
1369
+ }, {
1370
+ type: "url";
1371
+ url: string;
1372
+ }>]>;
1373
+ hidden: z.ZodOptional<z.ZodBoolean>;
1374
+ }, "strip", z.ZodTypeAny, {
1375
+ type: "image";
1376
+ value: {
1377
+ type: "asset";
1378
+ value: string;
1379
+ } | {
1380
+ type: "url";
1381
+ url: string;
1382
+ };
1383
+ hidden?: boolean | undefined;
1384
+ }, {
1385
+ type: "image";
1386
+ value: {
1387
+ type: "asset";
1388
+ value: string;
1389
+ } | {
1390
+ type: "url";
1391
+ url: string;
1392
+ };
1393
+ hidden?: boolean | undefined;
1394
+ }>, z.ZodObject<{
1395
+ type: z.ZodLiteral<"layers">;
1396
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1397
+ type: z.ZodLiteral<"unit">;
1398
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
1399
+ value: z.ZodNumber;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ type: "unit";
1402
+ value: number;
1403
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1404
+ }, {
1405
+ type: "unit";
1406
+ value: number;
1407
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1408
+ }>, z.ZodObject<{
1409
+ type: z.ZodLiteral<"keyword">;
1410
+ value: z.ZodString;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ type: "keyword";
1413
+ value: string;
1414
+ }, {
1415
+ type: "keyword";
1416
+ value: string;
1417
+ }>, z.ZodObject<{
1418
+ type: z.ZodLiteral<"unparsed">;
1419
+ value: z.ZodString;
1420
+ hidden: z.ZodOptional<z.ZodBoolean>;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ type: "unparsed";
1423
+ value: string;
1424
+ hidden?: boolean | undefined;
1425
+ }, {
1426
+ type: "unparsed";
1427
+ value: string;
1428
+ hidden?: boolean | undefined;
1429
+ }>, z.ZodObject<{
1430
+ type: z.ZodLiteral<"image">;
1431
+ value: z.ZodUnion<[z.ZodObject<{
1432
+ type: z.ZodLiteral<"asset">;
1433
+ value: z.ZodString;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ type: "asset";
1436
+ value: string;
1437
+ }, {
1438
+ type: "asset";
1439
+ value: string;
1440
+ }>, z.ZodObject<{
1441
+ type: z.ZodLiteral<"url">;
1442
+ url: z.ZodString;
1443
+ }, "strip", z.ZodTypeAny, {
1444
+ type: "url";
1445
+ url: string;
1446
+ }, {
1447
+ type: "url";
1448
+ url: string;
1449
+ }>]>;
1450
+ hidden: z.ZodOptional<z.ZodBoolean>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ type: "image";
1453
+ value: {
1454
+ type: "asset";
1455
+ value: string;
1456
+ } | {
1457
+ type: "url";
1458
+ url: string;
1459
+ };
1460
+ hidden?: boolean | undefined;
1461
+ }, {
1462
+ type: "image";
1463
+ value: {
1464
+ type: "asset";
1465
+ value: string;
1466
+ } | {
1467
+ type: "url";
1468
+ url: string;
1469
+ };
1470
+ hidden?: boolean | undefined;
1471
+ }>, z.ZodObject<{
1472
+ type: z.ZodLiteral<"tuple">;
1473
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1474
+ type: z.ZodLiteral<"unit">;
1475
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
1476
+ value: z.ZodNumber;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ type: "unit";
1479
+ value: number;
1480
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1481
+ }, {
1482
+ type: "unit";
1483
+ value: number;
1484
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1485
+ }>, z.ZodObject<{
1486
+ type: z.ZodLiteral<"keyword">;
1487
+ value: z.ZodString;
1488
+ }, "strip", z.ZodTypeAny, {
1489
+ type: "keyword";
1490
+ value: string;
1491
+ }, {
1492
+ type: "keyword";
1493
+ value: string;
1494
+ }>, z.ZodObject<{
1495
+ type: z.ZodLiteral<"unparsed">;
1496
+ value: z.ZodString;
1497
+ hidden: z.ZodOptional<z.ZodBoolean>;
1498
+ }, "strip", z.ZodTypeAny, {
1499
+ type: "unparsed";
1500
+ value: string;
1501
+ hidden?: boolean | undefined;
1502
+ }, {
1503
+ type: "unparsed";
1504
+ value: string;
1505
+ hidden?: boolean | undefined;
1506
+ }>, z.ZodObject<{
1507
+ type: z.ZodLiteral<"rgb">;
1508
+ r: z.ZodNumber;
1509
+ g: z.ZodNumber;
1510
+ b: z.ZodNumber;
1511
+ alpha: z.ZodNumber;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ type: "rgb";
1514
+ r: number;
1515
+ g: number;
1516
+ b: number;
1517
+ alpha: number;
1518
+ }, {
1519
+ type: "rgb";
1520
+ r: number;
1521
+ g: number;
1522
+ b: number;
1523
+ alpha: number;
1524
+ }>]>, "many">;
1525
+ hidden: z.ZodOptional<z.ZodBoolean>;
1526
+ }, "strip", z.ZodTypeAny, {
1527
+ type: "tuple";
1528
+ value: ({
1529
+ type: "unit";
1530
+ value: number;
1531
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1532
+ } | {
1533
+ type: "keyword";
1534
+ value: string;
1535
+ } | {
1536
+ type: "unparsed";
1537
+ value: string;
1538
+ hidden?: boolean | undefined;
1539
+ } | {
1540
+ type: "rgb";
1541
+ r: number;
1542
+ g: number;
1543
+ b: number;
1544
+ alpha: number;
1545
+ })[];
1546
+ hidden?: boolean | undefined;
1547
+ }, {
1548
+ type: "tuple";
1549
+ value: ({
1550
+ type: "unit";
1551
+ value: number;
1552
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1553
+ } | {
1554
+ type: "keyword";
1555
+ value: string;
1556
+ } | {
1557
+ type: "unparsed";
1558
+ value: string;
1559
+ hidden?: boolean | undefined;
1560
+ } | {
1561
+ type: "rgb";
1562
+ r: number;
1563
+ g: number;
1564
+ b: number;
1565
+ alpha: number;
1566
+ })[];
1567
+ hidden?: boolean | undefined;
1568
+ }>, z.ZodObject<{
1569
+ type: z.ZodLiteral<"invalid">;
1570
+ value: z.ZodString;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ type: "invalid";
1573
+ value: string;
1574
+ }, {
1575
+ type: "invalid";
1576
+ value: string;
1577
+ }>]>, "many">;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ type: "layers";
1580
+ value: ({
1581
+ type: "unit";
1582
+ value: number;
1583
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1584
+ } | {
1585
+ type: "keyword";
1586
+ value: string;
1587
+ } | {
1588
+ type: "unparsed";
1589
+ value: string;
1590
+ hidden?: boolean | undefined;
1591
+ } | {
1592
+ type: "image";
1593
+ value: {
1594
+ type: "asset";
1595
+ value: string;
1596
+ } | {
1597
+ type: "url";
1598
+ url: string;
1599
+ };
1600
+ hidden?: boolean | undefined;
1601
+ } | {
1602
+ type: "invalid";
1603
+ value: string;
1604
+ } | {
1605
+ type: "tuple";
1606
+ value: ({
1607
+ type: "unit";
1608
+ value: number;
1609
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1610
+ } | {
1611
+ type: "keyword";
1612
+ value: string;
1613
+ } | {
1614
+ type: "unparsed";
1615
+ value: string;
1616
+ hidden?: boolean | undefined;
1617
+ } | {
1618
+ type: "rgb";
1619
+ r: number;
1620
+ g: number;
1621
+ b: number;
1622
+ alpha: number;
1623
+ })[];
1624
+ hidden?: boolean | undefined;
1625
+ })[];
1626
+ }, {
1627
+ type: "layers";
1628
+ value: ({
1629
+ type: "unit";
1630
+ value: number;
1631
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1632
+ } | {
1633
+ type: "keyword";
1634
+ value: string;
1635
+ } | {
1636
+ type: "unparsed";
1637
+ value: string;
1638
+ hidden?: boolean | undefined;
1639
+ } | {
1640
+ type: "image";
1641
+ value: {
1642
+ type: "asset";
1643
+ value: string;
1644
+ } | {
1645
+ type: "url";
1646
+ url: string;
1647
+ };
1648
+ hidden?: boolean | undefined;
1649
+ } | {
1650
+ type: "invalid";
1651
+ value: string;
1652
+ } | {
1653
+ type: "tuple";
1654
+ value: ({
1655
+ type: "unit";
1656
+ value: number;
1657
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1658
+ } | {
1659
+ type: "keyword";
1660
+ value: string;
1661
+ } | {
1662
+ type: "unparsed";
1663
+ value: string;
1664
+ hidden?: boolean | undefined;
1665
+ } | {
1666
+ type: "rgb";
1667
+ r: number;
1668
+ g: number;
1669
+ b: number;
1670
+ alpha: number;
1671
+ })[];
1672
+ hidden?: boolean | undefined;
1673
+ })[];
1674
+ }>, z.ZodObject<{
1675
+ type: z.ZodLiteral<"unit">;
1676
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
1677
+ value: z.ZodNumber;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ type: "unit";
1680
+ value: number;
1681
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1682
+ }, {
1683
+ type: "unit";
1684
+ value: number;
1685
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1686
+ }>, z.ZodObject<{
1687
+ type: z.ZodLiteral<"keyword">;
1688
+ value: z.ZodString;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ type: "keyword";
1691
+ value: string;
1692
+ }, {
1693
+ type: "keyword";
1694
+ value: string;
1695
+ }>, z.ZodObject<{
1696
+ type: z.ZodLiteral<"fontFamily">;
1697
+ value: z.ZodArray<z.ZodString, "many">;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ type: "fontFamily";
1700
+ value: string[];
1701
+ }, {
1702
+ type: "fontFamily";
1703
+ value: string[];
1704
+ }>, z.ZodObject<{
1705
+ type: z.ZodLiteral<"rgb">;
1706
+ r: z.ZodNumber;
1707
+ g: z.ZodNumber;
1708
+ b: z.ZodNumber;
1709
+ alpha: z.ZodNumber;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ type: "rgb";
1712
+ r: number;
1713
+ g: number;
1714
+ b: number;
1715
+ alpha: number;
1716
+ }, {
1717
+ type: "rgb";
1718
+ r: number;
1719
+ g: number;
1720
+ b: number;
1721
+ alpha: number;
1722
+ }>, z.ZodObject<{
1723
+ type: z.ZodLiteral<"unparsed">;
1724
+ value: z.ZodString;
1725
+ hidden: z.ZodOptional<z.ZodBoolean>;
1726
+ }, "strip", z.ZodTypeAny, {
1727
+ type: "unparsed";
1728
+ value: string;
1729
+ hidden?: boolean | undefined;
1730
+ }, {
1731
+ type: "unparsed";
1732
+ value: string;
1733
+ hidden?: boolean | undefined;
1734
+ }>, z.ZodObject<{
1735
+ type: z.ZodLiteral<"tuple">;
1736
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1737
+ type: z.ZodLiteral<"unit">;
1738
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
1739
+ value: z.ZodNumber;
1740
+ }, "strip", z.ZodTypeAny, {
1741
+ type: "unit";
1742
+ value: number;
1743
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1744
+ }, {
1745
+ type: "unit";
1746
+ value: number;
1747
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1748
+ }>, z.ZodObject<{
1749
+ type: z.ZodLiteral<"keyword">;
1750
+ value: z.ZodString;
1751
+ }, "strip", z.ZodTypeAny, {
1752
+ type: "keyword";
1753
+ value: string;
1754
+ }, {
1755
+ type: "keyword";
1756
+ value: string;
1757
+ }>, z.ZodObject<{
1758
+ type: z.ZodLiteral<"unparsed">;
1759
+ value: z.ZodString;
1760
+ hidden: z.ZodOptional<z.ZodBoolean>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ type: "unparsed";
1763
+ value: string;
1764
+ hidden?: boolean | undefined;
1765
+ }, {
1766
+ type: "unparsed";
1767
+ value: string;
1768
+ hidden?: boolean | undefined;
1769
+ }>, z.ZodObject<{
1770
+ type: z.ZodLiteral<"rgb">;
1771
+ r: z.ZodNumber;
1772
+ g: z.ZodNumber;
1773
+ b: z.ZodNumber;
1774
+ alpha: z.ZodNumber;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ type: "rgb";
1777
+ r: number;
1778
+ g: number;
1779
+ b: number;
1780
+ alpha: number;
1781
+ }, {
1782
+ type: "rgb";
1783
+ r: number;
1784
+ g: number;
1785
+ b: number;
1786
+ alpha: number;
1787
+ }>]>, "many">;
1788
+ hidden: z.ZodOptional<z.ZodBoolean>;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ type: "tuple";
1791
+ value: ({
1792
+ type: "unit";
1793
+ value: number;
1794
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1795
+ } | {
1796
+ type: "keyword";
1797
+ value: string;
1798
+ } | {
1799
+ type: "unparsed";
1800
+ value: string;
1801
+ hidden?: boolean | undefined;
1802
+ } | {
1803
+ type: "rgb";
1804
+ r: number;
1805
+ g: number;
1806
+ b: number;
1807
+ alpha: number;
1808
+ })[];
1809
+ hidden?: boolean | undefined;
1810
+ }, {
1811
+ type: "tuple";
1812
+ value: ({
1813
+ type: "unit";
1814
+ value: number;
1815
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1816
+ } | {
1817
+ type: "keyword";
1818
+ value: string;
1819
+ } | {
1820
+ type: "unparsed";
1821
+ value: string;
1822
+ hidden?: boolean | undefined;
1823
+ } | {
1824
+ type: "rgb";
1825
+ r: number;
1826
+ g: number;
1827
+ b: number;
1828
+ alpha: number;
1829
+ })[];
1830
+ hidden?: boolean | undefined;
1831
+ }>]>, "many">;
1832
+ }, "strip", z.ZodTypeAny, {
1833
+ type: "var";
1834
+ value: string;
1835
+ fallbacks: ({
1836
+ type: "unit";
1837
+ value: number;
1838
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1839
+ } | {
1840
+ type: "keyword";
1841
+ value: string;
1842
+ } | {
1843
+ type: "unparsed";
1844
+ value: string;
1845
+ hidden?: boolean | undefined;
1846
+ } | {
1847
+ type: "fontFamily";
1848
+ value: string[];
1849
+ } | {
1850
+ type: "rgb";
1851
+ r: number;
1852
+ g: number;
1853
+ b: number;
1854
+ alpha: number;
1855
+ } | {
1856
+ type: "image";
1857
+ value: {
1858
+ type: "asset";
1859
+ value: string;
1860
+ } | {
1861
+ type: "url";
1862
+ url: string;
1863
+ };
1864
+ hidden?: boolean | undefined;
1865
+ } | {
1866
+ type: "tuple";
1867
+ value: ({
1868
+ type: "unit";
1869
+ value: number;
1870
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1871
+ } | {
1872
+ type: "keyword";
1873
+ value: string;
1874
+ } | {
1875
+ type: "unparsed";
1876
+ value: string;
1877
+ hidden?: boolean | undefined;
1878
+ } | {
1879
+ type: "rgb";
1880
+ r: number;
1881
+ g: number;
1882
+ b: number;
1883
+ alpha: number;
1884
+ })[];
1885
+ hidden?: boolean | undefined;
1886
+ } | {
1887
+ type: "layers";
1888
+ value: ({
1889
+ type: "unit";
1890
+ value: number;
1891
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1892
+ } | {
1893
+ type: "keyword";
1894
+ value: string;
1895
+ } | {
1896
+ type: "unparsed";
1897
+ value: string;
1898
+ hidden?: boolean | undefined;
1899
+ } | {
1900
+ type: "image";
1901
+ value: {
1902
+ type: "asset";
1903
+ value: string;
1904
+ } | {
1905
+ type: "url";
1906
+ url: string;
1907
+ };
1908
+ hidden?: boolean | undefined;
1909
+ } | {
1910
+ type: "invalid";
1911
+ value: string;
1912
+ } | {
1913
+ type: "tuple";
1914
+ value: ({
1915
+ type: "unit";
1916
+ value: number;
1917
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1918
+ } | {
1919
+ type: "keyword";
1920
+ value: string;
1921
+ } | {
1922
+ type: "unparsed";
1923
+ value: string;
1924
+ hidden?: boolean | undefined;
1925
+ } | {
1926
+ type: "rgb";
1927
+ r: number;
1928
+ g: number;
1929
+ b: number;
1930
+ alpha: number;
1931
+ })[];
1932
+ hidden?: boolean | undefined;
1933
+ })[];
1934
+ })[];
1935
+ }, {
1936
+ type: "var";
1937
+ value: string;
1938
+ fallbacks: ({
1939
+ type: "unit";
1940
+ value: number;
1941
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1942
+ } | {
1943
+ type: "keyword";
1944
+ value: string;
1945
+ } | {
1946
+ type: "unparsed";
1947
+ value: string;
1948
+ hidden?: boolean | undefined;
1949
+ } | {
1950
+ type: "fontFamily";
1951
+ value: string[];
1952
+ } | {
1953
+ type: "rgb";
1954
+ r: number;
1955
+ g: number;
1956
+ b: number;
1957
+ alpha: number;
1958
+ } | {
1959
+ type: "image";
1960
+ value: {
1961
+ type: "asset";
1962
+ value: string;
1963
+ } | {
1964
+ type: "url";
1965
+ url: string;
1966
+ };
1967
+ hidden?: boolean | undefined;
1968
+ } | {
1969
+ type: "tuple";
1970
+ value: ({
1971
+ type: "unit";
1972
+ value: number;
1973
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1974
+ } | {
1975
+ type: "keyword";
1976
+ value: string;
1977
+ } | {
1978
+ type: "unparsed";
1979
+ value: string;
1980
+ hidden?: boolean | undefined;
1981
+ } | {
1982
+ type: "rgb";
1983
+ r: number;
1984
+ g: number;
1985
+ b: number;
1986
+ alpha: number;
1987
+ })[];
1988
+ hidden?: boolean | undefined;
1989
+ } | {
1990
+ type: "layers";
1991
+ value: ({
1992
+ type: "unit";
1993
+ value: number;
1994
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1995
+ } | {
1996
+ type: "keyword";
1997
+ value: string;
1998
+ } | {
1999
+ type: "unparsed";
2000
+ value: string;
2001
+ hidden?: boolean | undefined;
2002
+ } | {
2003
+ type: "image";
2004
+ value: {
2005
+ type: "asset";
2006
+ value: string;
2007
+ } | {
2008
+ type: "url";
2009
+ url: string;
2010
+ };
2011
+ hidden?: boolean | undefined;
2012
+ } | {
2013
+ type: "invalid";
2014
+ value: string;
2015
+ } | {
2016
+ type: "tuple";
2017
+ value: ({
2018
+ type: "unit";
2019
+ value: number;
2020
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2021
+ } | {
2022
+ type: "keyword";
2023
+ value: string;
2024
+ } | {
2025
+ type: "unparsed";
2026
+ value: string;
2027
+ hidden?: boolean | undefined;
2028
+ } | {
2029
+ type: "rgb";
2030
+ r: number;
2031
+ g: number;
2032
+ b: number;
2033
+ alpha: number;
2034
+ })[];
2035
+ hidden?: boolean | undefined;
2036
+ })[];
2037
+ })[];
2038
+ }>;
2039
+ export type VarValue = z.infer<typeof VarValue>;
2040
+ export declare const StyleValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2041
+ type: z.ZodLiteral<"image">;
2042
+ value: z.ZodUnion<[z.ZodObject<{
2043
+ type: z.ZodLiteral<"asset">;
2044
+ value: z.ZodString;
2045
+ }, "strip", z.ZodTypeAny, {
2046
+ type: "asset";
2047
+ value: string;
2048
+ }, {
2049
+ type: "asset";
2050
+ value: string;
2051
+ }>, z.ZodObject<{
2052
+ type: z.ZodLiteral<"url">;
2053
+ url: z.ZodString;
2054
+ }, "strip", z.ZodTypeAny, {
2055
+ type: "url";
2056
+ url: string;
2057
+ }, {
2058
+ type: "url";
2059
+ url: string;
2060
+ }>]>;
2061
+ hidden: z.ZodOptional<z.ZodBoolean>;
2062
+ }, "strip", z.ZodTypeAny, {
2063
+ type: "image";
2064
+ value: {
2065
+ type: "asset";
2066
+ value: string;
2067
+ } | {
2068
+ type: "url";
2069
+ url: string;
2070
+ };
2071
+ hidden?: boolean | undefined;
2072
+ }, {
2073
+ type: "image";
2074
+ value: {
2075
+ type: "asset";
2076
+ value: string;
2077
+ } | {
2078
+ type: "url";
2079
+ url: string;
2080
+ };
2081
+ hidden?: boolean | undefined;
2082
+ }>, z.ZodObject<{
2083
+ type: z.ZodLiteral<"layers">;
2084
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2085
+ type: z.ZodLiteral<"unit">;
2086
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2087
+ value: z.ZodNumber;
2088
+ }, "strip", z.ZodTypeAny, {
2089
+ type: "unit";
2090
+ value: number;
2091
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2092
+ }, {
2093
+ type: "unit";
2094
+ value: number;
2095
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2096
+ }>, z.ZodObject<{
2097
+ type: z.ZodLiteral<"keyword">;
2098
+ value: z.ZodString;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ type: "keyword";
2101
+ value: string;
2102
+ }, {
2103
+ type: "keyword";
2104
+ value: string;
2105
+ }>, z.ZodObject<{
2106
+ type: z.ZodLiteral<"unparsed">;
2107
+ value: z.ZodString;
2108
+ hidden: z.ZodOptional<z.ZodBoolean>;
2109
+ }, "strip", z.ZodTypeAny, {
2110
+ type: "unparsed";
2111
+ value: string;
2112
+ hidden?: boolean | undefined;
2113
+ }, {
2114
+ type: "unparsed";
2115
+ value: string;
2116
+ hidden?: boolean | undefined;
2117
+ }>, z.ZodObject<{
2118
+ type: z.ZodLiteral<"image">;
2119
+ value: z.ZodUnion<[z.ZodObject<{
2120
+ type: z.ZodLiteral<"asset">;
2121
+ value: z.ZodString;
2122
+ }, "strip", z.ZodTypeAny, {
2123
+ type: "asset";
2124
+ value: string;
2125
+ }, {
2126
+ type: "asset";
2127
+ value: string;
2128
+ }>, z.ZodObject<{
2129
+ type: z.ZodLiteral<"url">;
2130
+ url: z.ZodString;
2131
+ }, "strip", z.ZodTypeAny, {
2132
+ type: "url";
2133
+ url: string;
2134
+ }, {
2135
+ type: "url";
2136
+ url: string;
2137
+ }>]>;
2138
+ hidden: z.ZodOptional<z.ZodBoolean>;
2139
+ }, "strip", z.ZodTypeAny, {
2140
+ type: "image";
2141
+ value: {
2142
+ type: "asset";
2143
+ value: string;
2144
+ } | {
2145
+ type: "url";
2146
+ url: string;
2147
+ };
2148
+ hidden?: boolean | undefined;
2149
+ }, {
2150
+ type: "image";
2151
+ value: {
2152
+ type: "asset";
2153
+ value: string;
2154
+ } | {
2155
+ type: "url";
2156
+ url: string;
2157
+ };
2158
+ hidden?: boolean | undefined;
2159
+ }>, z.ZodObject<{
2160
+ type: z.ZodLiteral<"tuple">;
2161
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2162
+ type: z.ZodLiteral<"unit">;
2163
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2164
+ value: z.ZodNumber;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ type: "unit";
2167
+ value: number;
2168
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2169
+ }, {
2170
+ type: "unit";
2171
+ value: number;
2172
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2173
+ }>, z.ZodObject<{
2174
+ type: z.ZodLiteral<"keyword">;
2175
+ value: z.ZodString;
2176
+ }, "strip", z.ZodTypeAny, {
2177
+ type: "keyword";
2178
+ value: string;
2179
+ }, {
2180
+ type: "keyword";
2181
+ value: string;
2182
+ }>, z.ZodObject<{
2183
+ type: z.ZodLiteral<"unparsed">;
2184
+ value: z.ZodString;
2185
+ hidden: z.ZodOptional<z.ZodBoolean>;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ type: "unparsed";
2188
+ value: string;
2189
+ hidden?: boolean | undefined;
2190
+ }, {
2191
+ type: "unparsed";
2192
+ value: string;
2193
+ hidden?: boolean | undefined;
2194
+ }>, z.ZodObject<{
2195
+ type: z.ZodLiteral<"rgb">;
2196
+ r: z.ZodNumber;
2197
+ g: z.ZodNumber;
2198
+ b: z.ZodNumber;
2199
+ alpha: z.ZodNumber;
2200
+ }, "strip", z.ZodTypeAny, {
2201
+ type: "rgb";
2202
+ r: number;
2203
+ g: number;
2204
+ b: number;
2205
+ alpha: number;
2206
+ }, {
2207
+ type: "rgb";
2208
+ r: number;
2209
+ g: number;
2210
+ b: number;
2211
+ alpha: number;
2212
+ }>]>, "many">;
2213
+ hidden: z.ZodOptional<z.ZodBoolean>;
2214
+ }, "strip", z.ZodTypeAny, {
2215
+ type: "tuple";
2216
+ value: ({
2217
+ type: "unit";
2218
+ value: number;
2219
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2220
+ } | {
2221
+ type: "keyword";
2222
+ value: string;
2223
+ } | {
2224
+ type: "unparsed";
2225
+ value: string;
2226
+ hidden?: boolean | undefined;
2227
+ } | {
2228
+ type: "rgb";
2229
+ r: number;
2230
+ g: number;
2231
+ b: number;
2232
+ alpha: number;
2233
+ })[];
2234
+ hidden?: boolean | undefined;
2235
+ }, {
2236
+ type: "tuple";
2237
+ value: ({
2238
+ type: "unit";
2239
+ value: number;
2240
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2241
+ } | {
2242
+ type: "keyword";
2243
+ value: string;
2244
+ } | {
2245
+ type: "unparsed";
2246
+ value: string;
2247
+ hidden?: boolean | undefined;
2248
+ } | {
2249
+ type: "rgb";
2250
+ r: number;
2251
+ g: number;
2252
+ b: number;
2253
+ alpha: number;
2254
+ })[];
2255
+ hidden?: boolean | undefined;
2256
+ }>, z.ZodObject<{
2257
+ type: z.ZodLiteral<"invalid">;
2258
+ value: z.ZodString;
2259
+ }, "strip", z.ZodTypeAny, {
2260
+ type: "invalid";
2261
+ value: string;
2262
+ }, {
2263
+ type: "invalid";
2264
+ value: string;
2265
+ }>]>, "many">;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ type: "layers";
2268
+ value: ({
2269
+ type: "unit";
2270
+ value: number;
2271
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2272
+ } | {
2273
+ type: "keyword";
2274
+ value: string;
2275
+ } | {
2276
+ type: "unparsed";
2277
+ value: string;
2278
+ hidden?: boolean | undefined;
2279
+ } | {
2280
+ type: "image";
2281
+ value: {
2282
+ type: "asset";
2283
+ value: string;
2284
+ } | {
2285
+ type: "url";
2286
+ url: string;
2287
+ };
2288
+ hidden?: boolean | undefined;
2289
+ } | {
2290
+ type: "invalid";
2291
+ value: string;
2292
+ } | {
2293
+ type: "tuple";
2294
+ value: ({
2295
+ type: "unit";
2296
+ value: number;
2297
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2298
+ } | {
2299
+ type: "keyword";
2300
+ value: string;
2301
+ } | {
2302
+ type: "unparsed";
2303
+ value: string;
2304
+ hidden?: boolean | undefined;
2305
+ } | {
2306
+ type: "rgb";
2307
+ r: number;
2308
+ g: number;
2309
+ b: number;
2310
+ alpha: number;
2311
+ })[];
2312
+ hidden?: boolean | undefined;
2313
+ })[];
2314
+ }, {
2315
+ type: "layers";
2316
+ value: ({
2317
+ type: "unit";
2318
+ value: number;
2319
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2320
+ } | {
2321
+ type: "keyword";
2322
+ value: string;
2323
+ } | {
2324
+ type: "unparsed";
2325
+ value: string;
2326
+ hidden?: boolean | undefined;
2327
+ } | {
2328
+ type: "image";
2329
+ value: {
2330
+ type: "asset";
2331
+ value: string;
2332
+ } | {
2333
+ type: "url";
2334
+ url: string;
2335
+ };
2336
+ hidden?: boolean | undefined;
2337
+ } | {
2338
+ type: "invalid";
2339
+ value: string;
2340
+ } | {
2341
+ type: "tuple";
2342
+ value: ({
2343
+ type: "unit";
2344
+ value: number;
2345
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2346
+ } | {
2347
+ type: "keyword";
2348
+ value: string;
2349
+ } | {
2350
+ type: "unparsed";
2351
+ value: string;
2352
+ hidden?: boolean | undefined;
2353
+ } | {
2354
+ type: "rgb";
2355
+ r: number;
2356
+ g: number;
2357
+ b: number;
2358
+ alpha: number;
2359
+ })[];
2360
+ hidden?: boolean | undefined;
2361
+ })[];
2362
+ }>, z.ZodObject<{
2363
+ type: z.ZodLiteral<"unit">;
2364
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2365
+ value: z.ZodNumber;
2366
+ }, "strip", z.ZodTypeAny, {
2367
+ type: "unit";
2368
+ value: number;
2369
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2370
+ }, {
2371
+ type: "unit";
2372
+ value: number;
2373
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2374
+ }>, z.ZodObject<{
2375
+ type: z.ZodLiteral<"keyword">;
2376
+ value: z.ZodString;
2377
+ }, "strip", z.ZodTypeAny, {
2378
+ type: "keyword";
2379
+ value: string;
2380
+ }, {
2381
+ type: "keyword";
2382
+ value: string;
2383
+ }>, z.ZodObject<{
2384
+ type: z.ZodLiteral<"fontFamily">;
2385
+ value: z.ZodArray<z.ZodString, "many">;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ type: "fontFamily";
2388
+ value: string[];
2389
+ }, {
2390
+ type: "fontFamily";
2391
+ value: string[];
2392
+ }>, z.ZodObject<{
2393
+ type: z.ZodLiteral<"rgb">;
2394
+ r: z.ZodNumber;
2395
+ g: z.ZodNumber;
2396
+ b: z.ZodNumber;
2397
+ alpha: z.ZodNumber;
2398
+ }, "strip", z.ZodTypeAny, {
2399
+ type: "rgb";
2400
+ r: number;
2401
+ g: number;
2402
+ b: number;
2403
+ alpha: number;
2404
+ }, {
2405
+ type: "rgb";
2406
+ r: number;
2407
+ g: number;
2408
+ b: number;
2409
+ alpha: number;
2410
+ }>, z.ZodObject<{
2411
+ type: z.ZodLiteral<"unparsed">;
2412
+ value: z.ZodString;
2413
+ hidden: z.ZodOptional<z.ZodBoolean>;
2414
+ }, "strip", z.ZodTypeAny, {
2415
+ type: "unparsed";
2416
+ value: string;
2417
+ hidden?: boolean | undefined;
2418
+ }, {
2419
+ type: "unparsed";
2420
+ value: string;
2421
+ hidden?: boolean | undefined;
2422
+ }>, z.ZodObject<{
2423
+ type: z.ZodLiteral<"tuple">;
2424
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2425
+ type: z.ZodLiteral<"unit">;
2426
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2427
+ value: z.ZodNumber;
2428
+ }, "strip", z.ZodTypeAny, {
2429
+ type: "unit";
2430
+ value: number;
2431
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2432
+ }, {
2433
+ type: "unit";
2434
+ value: number;
2435
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2436
+ }>, z.ZodObject<{
2437
+ type: z.ZodLiteral<"keyword">;
2438
+ value: z.ZodString;
2439
+ }, "strip", z.ZodTypeAny, {
2440
+ type: "keyword";
2441
+ value: string;
2442
+ }, {
2443
+ type: "keyword";
2444
+ value: string;
2445
+ }>, z.ZodObject<{
2446
+ type: z.ZodLiteral<"unparsed">;
2447
+ value: z.ZodString;
2448
+ hidden: z.ZodOptional<z.ZodBoolean>;
2449
+ }, "strip", z.ZodTypeAny, {
2450
+ type: "unparsed";
2451
+ value: string;
2452
+ hidden?: boolean | undefined;
2453
+ }, {
2454
+ type: "unparsed";
2455
+ value: string;
2456
+ hidden?: boolean | undefined;
2457
+ }>, z.ZodObject<{
2458
+ type: z.ZodLiteral<"rgb">;
2459
+ r: z.ZodNumber;
2460
+ g: z.ZodNumber;
2461
+ b: z.ZodNumber;
2462
+ alpha: z.ZodNumber;
2463
+ }, "strip", z.ZodTypeAny, {
2464
+ type: "rgb";
2465
+ r: number;
2466
+ g: number;
2467
+ b: number;
2468
+ alpha: number;
2469
+ }, {
2470
+ type: "rgb";
2471
+ r: number;
2472
+ g: number;
2473
+ b: number;
2474
+ alpha: number;
2475
+ }>]>, "many">;
2476
+ hidden: z.ZodOptional<z.ZodBoolean>;
2477
+ }, "strip", z.ZodTypeAny, {
2478
+ type: "tuple";
2479
+ value: ({
2480
+ type: "unit";
2481
+ value: number;
2482
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2483
+ } | {
2484
+ type: "keyword";
2485
+ value: string;
2486
+ } | {
2487
+ type: "unparsed";
2488
+ value: string;
2489
+ hidden?: boolean | undefined;
2490
+ } | {
2491
+ type: "rgb";
2492
+ r: number;
2493
+ g: number;
2494
+ b: number;
2495
+ alpha: number;
2496
+ })[];
2497
+ hidden?: boolean | undefined;
2498
+ }, {
2499
+ type: "tuple";
2500
+ value: ({
2501
+ type: "unit";
2502
+ value: number;
2503
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2504
+ } | {
2505
+ type: "keyword";
2506
+ value: string;
2507
+ } | {
2508
+ type: "unparsed";
2509
+ value: string;
2510
+ hidden?: boolean | undefined;
2511
+ } | {
2512
+ type: "rgb";
2513
+ r: number;
2514
+ g: number;
2515
+ b: number;
2516
+ alpha: number;
2517
+ })[];
2518
+ hidden?: boolean | undefined;
2519
+ }>]>, z.ZodObject<{
2520
+ type: z.ZodLiteral<"invalid">;
2521
+ value: z.ZodString;
2522
+ }, "strip", z.ZodTypeAny, {
2523
+ type: "invalid";
2524
+ value: string;
2525
+ }, {
2526
+ type: "invalid";
2527
+ value: string;
2528
+ }>, z.ZodObject<{
2529
+ type: z.ZodLiteral<"unset">;
2530
+ value: z.ZodLiteral<"">;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ type: "unset";
2533
+ value: "";
2534
+ }, {
2535
+ type: "unset";
2536
+ value: "";
2537
+ }>, z.ZodObject<{
2538
+ type: z.ZodLiteral<"var">;
2539
+ value: z.ZodString;
2540
+ fallbacks: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2541
+ type: z.ZodLiteral<"image">;
2542
+ value: z.ZodUnion<[z.ZodObject<{
2543
+ type: z.ZodLiteral<"asset">;
2544
+ value: z.ZodString;
2545
+ }, "strip", z.ZodTypeAny, {
2546
+ type: "asset";
2547
+ value: string;
2548
+ }, {
2549
+ type: "asset";
2550
+ value: string;
2551
+ }>, z.ZodObject<{
2552
+ type: z.ZodLiteral<"url">;
2553
+ url: z.ZodString;
2554
+ }, "strip", z.ZodTypeAny, {
2555
+ type: "url";
2556
+ url: string;
2557
+ }, {
2558
+ type: "url";
2559
+ url: string;
2560
+ }>]>;
2561
+ hidden: z.ZodOptional<z.ZodBoolean>;
2562
+ }, "strip", z.ZodTypeAny, {
2563
+ type: "image";
2564
+ value: {
2565
+ type: "asset";
2566
+ value: string;
2567
+ } | {
2568
+ type: "url";
2569
+ url: string;
2570
+ };
2571
+ hidden?: boolean | undefined;
2572
+ }, {
2573
+ type: "image";
2574
+ value: {
2575
+ type: "asset";
2576
+ value: string;
2577
+ } | {
2578
+ type: "url";
2579
+ url: string;
2580
+ };
2581
+ hidden?: boolean | undefined;
2582
+ }>, z.ZodObject<{
2583
+ type: z.ZodLiteral<"layers">;
2584
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2585
+ type: z.ZodLiteral<"unit">;
2586
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2587
+ value: z.ZodNumber;
2588
+ }, "strip", z.ZodTypeAny, {
2589
+ type: "unit";
2590
+ value: number;
2591
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2592
+ }, {
2593
+ type: "unit";
2594
+ value: number;
2595
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2596
+ }>, z.ZodObject<{
2597
+ type: z.ZodLiteral<"keyword">;
2598
+ value: z.ZodString;
2599
+ }, "strip", z.ZodTypeAny, {
2600
+ type: "keyword";
2601
+ value: string;
2602
+ }, {
2603
+ type: "keyword";
2604
+ value: string;
2605
+ }>, z.ZodObject<{
2606
+ type: z.ZodLiteral<"unparsed">;
2607
+ value: z.ZodString;
2608
+ hidden: z.ZodOptional<z.ZodBoolean>;
2609
+ }, "strip", z.ZodTypeAny, {
2610
+ type: "unparsed";
2611
+ value: string;
2612
+ hidden?: boolean | undefined;
2613
+ }, {
2614
+ type: "unparsed";
2615
+ value: string;
2616
+ hidden?: boolean | undefined;
2617
+ }>, z.ZodObject<{
2618
+ type: z.ZodLiteral<"image">;
2619
+ value: z.ZodUnion<[z.ZodObject<{
2620
+ type: z.ZodLiteral<"asset">;
2621
+ value: z.ZodString;
2622
+ }, "strip", z.ZodTypeAny, {
2623
+ type: "asset";
2624
+ value: string;
2625
+ }, {
2626
+ type: "asset";
2627
+ value: string;
2628
+ }>, z.ZodObject<{
2629
+ type: z.ZodLiteral<"url">;
2630
+ url: z.ZodString;
2631
+ }, "strip", z.ZodTypeAny, {
2632
+ type: "url";
2633
+ url: string;
2634
+ }, {
2635
+ type: "url";
2636
+ url: string;
2637
+ }>]>;
2638
+ hidden: z.ZodOptional<z.ZodBoolean>;
2639
+ }, "strip", z.ZodTypeAny, {
2640
+ type: "image";
2641
+ value: {
2642
+ type: "asset";
2643
+ value: string;
2644
+ } | {
2645
+ type: "url";
2646
+ url: string;
2647
+ };
2648
+ hidden?: boolean | undefined;
2649
+ }, {
2650
+ type: "image";
2651
+ value: {
2652
+ type: "asset";
2653
+ value: string;
2654
+ } | {
2655
+ type: "url";
2656
+ url: string;
2657
+ };
2658
+ hidden?: boolean | undefined;
2659
+ }>, z.ZodObject<{
2660
+ type: z.ZodLiteral<"tuple">;
2661
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2662
+ type: z.ZodLiteral<"unit">;
2663
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2664
+ value: z.ZodNumber;
2665
+ }, "strip", z.ZodTypeAny, {
2666
+ type: "unit";
2667
+ value: number;
2668
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2669
+ }, {
2670
+ type: "unit";
2671
+ value: number;
2672
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2673
+ }>, z.ZodObject<{
2674
+ type: z.ZodLiteral<"keyword">;
2675
+ value: z.ZodString;
2676
+ }, "strip", z.ZodTypeAny, {
2677
+ type: "keyword";
2678
+ value: string;
2679
+ }, {
2680
+ type: "keyword";
2681
+ value: string;
2682
+ }>, z.ZodObject<{
2683
+ type: z.ZodLiteral<"unparsed">;
2684
+ value: z.ZodString;
2685
+ hidden: z.ZodOptional<z.ZodBoolean>;
2686
+ }, "strip", z.ZodTypeAny, {
2687
+ type: "unparsed";
2688
+ value: string;
2689
+ hidden?: boolean | undefined;
2690
+ }, {
2691
+ type: "unparsed";
2692
+ value: string;
2693
+ hidden?: boolean | undefined;
2694
+ }>, z.ZodObject<{
2695
+ type: z.ZodLiteral<"rgb">;
2696
+ r: z.ZodNumber;
2697
+ g: z.ZodNumber;
2698
+ b: z.ZodNumber;
2699
+ alpha: z.ZodNumber;
2700
+ }, "strip", z.ZodTypeAny, {
2701
+ type: "rgb";
2702
+ r: number;
2703
+ g: number;
2704
+ b: number;
2705
+ alpha: number;
2706
+ }, {
2707
+ type: "rgb";
2708
+ r: number;
2709
+ g: number;
2710
+ b: number;
2711
+ alpha: number;
2712
+ }>]>, "many">;
2713
+ hidden: z.ZodOptional<z.ZodBoolean>;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ type: "tuple";
2716
+ value: ({
2717
+ type: "unit";
2718
+ value: number;
2719
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2720
+ } | {
2721
+ type: "keyword";
2722
+ value: string;
2723
+ } | {
2724
+ type: "unparsed";
2725
+ value: string;
2726
+ hidden?: boolean | undefined;
2727
+ } | {
2728
+ type: "rgb";
2729
+ r: number;
2730
+ g: number;
2731
+ b: number;
2732
+ alpha: number;
2733
+ })[];
2734
+ hidden?: boolean | undefined;
2735
+ }, {
2736
+ type: "tuple";
2737
+ value: ({
2738
+ type: "unit";
2739
+ value: number;
2740
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2741
+ } | {
2742
+ type: "keyword";
2743
+ value: string;
2744
+ } | {
2745
+ type: "unparsed";
2746
+ value: string;
2747
+ hidden?: boolean | undefined;
2748
+ } | {
2749
+ type: "rgb";
2750
+ r: number;
2751
+ g: number;
2752
+ b: number;
2753
+ alpha: number;
2754
+ })[];
2755
+ hidden?: boolean | undefined;
2756
+ }>, z.ZodObject<{
2757
+ type: z.ZodLiteral<"invalid">;
2758
+ value: z.ZodString;
2759
+ }, "strip", z.ZodTypeAny, {
2760
+ type: "invalid";
2761
+ value: string;
2762
+ }, {
2763
+ type: "invalid";
2764
+ value: string;
2765
+ }>]>, "many">;
2766
+ }, "strip", z.ZodTypeAny, {
2767
+ type: "layers";
2768
+ value: ({
2769
+ type: "unit";
2770
+ value: number;
2771
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2772
+ } | {
2773
+ type: "keyword";
2774
+ value: string;
2775
+ } | {
2776
+ type: "unparsed";
2777
+ value: string;
2778
+ hidden?: boolean | undefined;
2779
+ } | {
2780
+ type: "image";
2781
+ value: {
2782
+ type: "asset";
2783
+ value: string;
2784
+ } | {
2785
+ type: "url";
2786
+ url: string;
2787
+ };
2788
+ hidden?: boolean | undefined;
2789
+ } | {
2790
+ type: "invalid";
2791
+ value: string;
2792
+ } | {
2793
+ type: "tuple";
2794
+ value: ({
2795
+ type: "unit";
2796
+ value: number;
2797
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2798
+ } | {
2799
+ type: "keyword";
2800
+ value: string;
2801
+ } | {
2802
+ type: "unparsed";
2803
+ value: string;
2804
+ hidden?: boolean | undefined;
2805
+ } | {
2806
+ type: "rgb";
2807
+ r: number;
2808
+ g: number;
2809
+ b: number;
2810
+ alpha: number;
2811
+ })[];
2812
+ hidden?: boolean | undefined;
2813
+ })[];
2814
+ }, {
2815
+ type: "layers";
2816
+ value: ({
2817
+ type: "unit";
2818
+ value: number;
2819
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2820
+ } | {
2821
+ type: "keyword";
2822
+ value: string;
2823
+ } | {
2824
+ type: "unparsed";
2825
+ value: string;
2826
+ hidden?: boolean | undefined;
2827
+ } | {
2828
+ type: "image";
2829
+ value: {
2830
+ type: "asset";
2831
+ value: string;
2832
+ } | {
2833
+ type: "url";
2834
+ url: string;
2835
+ };
2836
+ hidden?: boolean | undefined;
2837
+ } | {
2838
+ type: "invalid";
2839
+ value: string;
2840
+ } | {
2841
+ type: "tuple";
2842
+ value: ({
2843
+ type: "unit";
2844
+ value: number;
2845
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2846
+ } | {
2847
+ type: "keyword";
2848
+ value: string;
2849
+ } | {
2850
+ type: "unparsed";
2851
+ value: string;
2852
+ hidden?: boolean | undefined;
2853
+ } | {
2854
+ type: "rgb";
2855
+ r: number;
2856
+ g: number;
2857
+ b: number;
2858
+ alpha: number;
2859
+ })[];
2860
+ hidden?: boolean | undefined;
2861
+ })[];
2862
+ }>, z.ZodObject<{
2863
+ type: z.ZodLiteral<"unit">;
2864
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2865
+ value: z.ZodNumber;
2866
+ }, "strip", z.ZodTypeAny, {
2867
+ type: "unit";
2868
+ value: number;
2869
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2870
+ }, {
2871
+ type: "unit";
2872
+ value: number;
2873
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2874
+ }>, z.ZodObject<{
2875
+ type: z.ZodLiteral<"keyword">;
2876
+ value: z.ZodString;
2877
+ }, "strip", z.ZodTypeAny, {
2878
+ type: "keyword";
2879
+ value: string;
2880
+ }, {
2881
+ type: "keyword";
2882
+ value: string;
2883
+ }>, z.ZodObject<{
2884
+ type: z.ZodLiteral<"fontFamily">;
2885
+ value: z.ZodArray<z.ZodString, "many">;
2886
+ }, "strip", z.ZodTypeAny, {
2887
+ type: "fontFamily";
2888
+ value: string[];
2889
+ }, {
2890
+ type: "fontFamily";
2891
+ value: string[];
2892
+ }>, z.ZodObject<{
2893
+ type: z.ZodLiteral<"rgb">;
2894
+ r: z.ZodNumber;
2895
+ g: z.ZodNumber;
2896
+ b: z.ZodNumber;
2897
+ alpha: z.ZodNumber;
2898
+ }, "strip", z.ZodTypeAny, {
2899
+ type: "rgb";
2900
+ r: number;
2901
+ g: number;
2902
+ b: number;
2903
+ alpha: number;
2904
+ }, {
2905
+ type: "rgb";
2906
+ r: number;
2907
+ g: number;
2908
+ b: number;
2909
+ alpha: number;
2910
+ }>, z.ZodObject<{
2911
+ type: z.ZodLiteral<"unparsed">;
2912
+ value: z.ZodString;
2913
+ hidden: z.ZodOptional<z.ZodBoolean>;
2914
+ }, "strip", z.ZodTypeAny, {
2915
+ type: "unparsed";
2916
+ value: string;
2917
+ hidden?: boolean | undefined;
2918
+ }, {
2919
+ type: "unparsed";
2920
+ value: string;
2921
+ hidden?: boolean | undefined;
2922
+ }>, z.ZodObject<{
2923
+ type: z.ZodLiteral<"tuple">;
2924
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2925
+ type: z.ZodLiteral<"unit">;
2926
+ unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2927
+ value: z.ZodNumber;
2928
+ }, "strip", z.ZodTypeAny, {
2929
+ type: "unit";
2930
+ value: number;
2931
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2932
+ }, {
2933
+ type: "unit";
2934
+ value: number;
2935
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2936
+ }>, z.ZodObject<{
2937
+ type: z.ZodLiteral<"keyword">;
2938
+ value: z.ZodString;
2939
+ }, "strip", z.ZodTypeAny, {
2940
+ type: "keyword";
2941
+ value: string;
2942
+ }, {
2943
+ type: "keyword";
2944
+ value: string;
2945
+ }>, z.ZodObject<{
2946
+ type: z.ZodLiteral<"unparsed">;
2947
+ value: z.ZodString;
2948
+ hidden: z.ZodOptional<z.ZodBoolean>;
2949
+ }, "strip", z.ZodTypeAny, {
2950
+ type: "unparsed";
2951
+ value: string;
2952
+ hidden?: boolean | undefined;
2953
+ }, {
2954
+ type: "unparsed";
2955
+ value: string;
2956
+ hidden?: boolean | undefined;
2957
+ }>, z.ZodObject<{
2958
+ type: z.ZodLiteral<"rgb">;
2959
+ r: z.ZodNumber;
2960
+ g: z.ZodNumber;
2961
+ b: z.ZodNumber;
2962
+ alpha: z.ZodNumber;
2963
+ }, "strip", z.ZodTypeAny, {
2964
+ type: "rgb";
2965
+ r: number;
2966
+ g: number;
2967
+ b: number;
2968
+ alpha: number;
2969
+ }, {
2970
+ type: "rgb";
2971
+ r: number;
2972
+ g: number;
2973
+ b: number;
2974
+ alpha: number;
2975
+ }>]>, "many">;
2976
+ hidden: z.ZodOptional<z.ZodBoolean>;
2977
+ }, "strip", z.ZodTypeAny, {
2978
+ type: "tuple";
2979
+ value: ({
2980
+ type: "unit";
2981
+ value: number;
2982
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2983
+ } | {
2984
+ type: "keyword";
2985
+ value: string;
2986
+ } | {
2987
+ type: "unparsed";
2988
+ value: string;
2989
+ hidden?: boolean | undefined;
2990
+ } | {
2991
+ type: "rgb";
2992
+ r: number;
2993
+ g: number;
2994
+ b: number;
2995
+ alpha: number;
2996
+ })[];
2997
+ hidden?: boolean | undefined;
2998
+ }, {
2999
+ type: "tuple";
3000
+ value: ({
3001
+ type: "unit";
3002
+ value: number;
3003
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3004
+ } | {
3005
+ type: "keyword";
3006
+ value: string;
3007
+ } | {
3008
+ type: "unparsed";
3009
+ value: string;
3010
+ hidden?: boolean | undefined;
3011
+ } | {
3012
+ type: "rgb";
3013
+ r: number;
3014
+ g: number;
3015
+ b: number;
3016
+ alpha: number;
3017
+ })[];
3018
+ hidden?: boolean | undefined;
3019
+ }>]>, "many">;
3020
+ }, "strip", z.ZodTypeAny, {
3021
+ type: "var";
3022
+ value: string;
3023
+ fallbacks: ({
3024
+ type: "unit";
3025
+ value: number;
3026
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3027
+ } | {
3028
+ type: "keyword";
3029
+ value: string;
3030
+ } | {
3031
+ type: "unparsed";
3032
+ value: string;
3033
+ hidden?: boolean | undefined;
3034
+ } | {
3035
+ type: "fontFamily";
3036
+ value: string[];
3037
+ } | {
3038
+ type: "rgb";
3039
+ r: number;
3040
+ g: number;
3041
+ b: number;
3042
+ alpha: number;
3043
+ } | {
3044
+ type: "image";
3045
+ value: {
3046
+ type: "asset";
3047
+ value: string;
3048
+ } | {
3049
+ type: "url";
3050
+ url: string;
3051
+ };
3052
+ hidden?: boolean | undefined;
3053
+ } | {
3054
+ type: "tuple";
3055
+ value: ({
3056
+ type: "unit";
3057
+ value: number;
3058
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3059
+ } | {
3060
+ type: "keyword";
3061
+ value: string;
3062
+ } | {
3063
+ type: "unparsed";
3064
+ value: string;
3065
+ hidden?: boolean | undefined;
3066
+ } | {
3067
+ type: "rgb";
3068
+ r: number;
3069
+ g: number;
3070
+ b: number;
3071
+ alpha: number;
3072
+ })[];
3073
+ hidden?: boolean | undefined;
3074
+ } | {
3075
+ type: "layers";
3076
+ value: ({
3077
+ type: "unit";
3078
+ value: number;
3079
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3080
+ } | {
3081
+ type: "keyword";
3082
+ value: string;
3083
+ } | {
3084
+ type: "unparsed";
3085
+ value: string;
3086
+ hidden?: boolean | undefined;
3087
+ } | {
3088
+ type: "image";
3089
+ value: {
3090
+ type: "asset";
3091
+ value: string;
3092
+ } | {
3093
+ type: "url";
3094
+ url: string;
3095
+ };
3096
+ hidden?: boolean | undefined;
3097
+ } | {
3098
+ type: "invalid";
3099
+ value: string;
3100
+ } | {
3101
+ type: "tuple";
3102
+ value: ({
3103
+ type: "unit";
3104
+ value: number;
3105
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3106
+ } | {
3107
+ type: "keyword";
3108
+ value: string;
3109
+ } | {
3110
+ type: "unparsed";
3111
+ value: string;
3112
+ hidden?: boolean | undefined;
3113
+ } | {
3114
+ type: "rgb";
3115
+ r: number;
3116
+ g: number;
3117
+ b: number;
3118
+ alpha: number;
3119
+ })[];
3120
+ hidden?: boolean | undefined;
3121
+ })[];
3122
+ })[];
3123
+ }, {
3124
+ type: "var";
3125
+ value: string;
3126
+ fallbacks: ({
3127
+ type: "unit";
3128
+ value: number;
3129
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3130
+ } | {
3131
+ type: "keyword";
3132
+ value: string;
3133
+ } | {
3134
+ type: "unparsed";
3135
+ value: string;
3136
+ hidden?: boolean | undefined;
3137
+ } | {
3138
+ type: "fontFamily";
3139
+ value: string[];
3140
+ } | {
3141
+ type: "rgb";
3142
+ r: number;
3143
+ g: number;
3144
+ b: number;
3145
+ alpha: number;
3146
+ } | {
3147
+ type: "image";
3148
+ value: {
3149
+ type: "asset";
3150
+ value: string;
3151
+ } | {
3152
+ type: "url";
3153
+ url: string;
3154
+ };
3155
+ hidden?: boolean | undefined;
3156
+ } | {
3157
+ type: "tuple";
3158
+ value: ({
3159
+ type: "unit";
3160
+ value: number;
3161
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3162
+ } | {
3163
+ type: "keyword";
3164
+ value: string;
3165
+ } | {
3166
+ type: "unparsed";
3167
+ value: string;
3168
+ hidden?: boolean | undefined;
3169
+ } | {
3170
+ type: "rgb";
3171
+ r: number;
3172
+ g: number;
3173
+ b: number;
3174
+ alpha: number;
3175
+ })[];
3176
+ hidden?: boolean | undefined;
3177
+ } | {
3178
+ type: "layers";
3179
+ value: ({
3180
+ type: "unit";
3181
+ value: number;
3182
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3183
+ } | {
3184
+ type: "keyword";
3185
+ value: string;
3186
+ } | {
3187
+ type: "unparsed";
3188
+ value: string;
3189
+ hidden?: boolean | undefined;
3190
+ } | {
3191
+ type: "image";
3192
+ value: {
3193
+ type: "asset";
3194
+ value: string;
3195
+ } | {
3196
+ type: "url";
3197
+ url: string;
3198
+ };
3199
+ hidden?: boolean | undefined;
3200
+ } | {
3201
+ type: "invalid";
3202
+ value: string;
3203
+ } | {
3204
+ type: "tuple";
3205
+ value: ({
3206
+ type: "unit";
3207
+ value: number;
3208
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
3209
+ } | {
3210
+ type: "keyword";
3211
+ value: string;
3212
+ } | {
3213
+ type: "unparsed";
3214
+ value: string;
3215
+ hidden?: boolean | undefined;
3216
+ } | {
3217
+ type: "rgb";
3218
+ r: number;
3219
+ g: number;
3220
+ b: number;
3221
+ alpha: number;
3222
+ })[];
3223
+ hidden?: boolean | undefined;
3224
+ })[];
3225
+ })[];
3226
+ }>]>;
3227
+ export type StyleValue = z.infer<typeof StyleValue>;
3228
+ export type Style = {
3229
+ [property in StyleProperty]?: StyleValue;
3230
+ } & {
3231
+ [property: CustomProperty]: StyleValue;
3232
+ };
3233
+ export {};