visualfries 0.1.0 → 0.1.1

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.
@@ -4,892 +4,602 @@ import { z } from 'zod';
4
4
  * Defines properties for both linear and radial gradients
5
5
  */
6
6
  export declare const GradientDefinitionShape: z.ZodObject<{
7
- /** Gradient type */
8
- type: z.ZodEnum<["linear", "radial"]>;
9
- /** Array of color strings */
10
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
11
- /** Optional array of stop positions (0-1) matching colors */
12
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
13
- /** Angle in degrees (for linear gradients) */
7
+ type: z.ZodEnum<{
8
+ linear: "linear";
9
+ radial: "radial";
10
+ }>;
11
+ colors: z.ZodArray<z.ZodString>;
12
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
14
13
  angle: z.ZodOptional<z.ZodNumber>;
15
- /** Position description (for radial gradients) */
16
14
  position: z.ZodOptional<z.ZodString>;
17
- /** Shape type (for radial gradients) */
18
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
19
- }, "strip", z.ZodTypeAny, {
20
- type: "linear" | "radial";
21
- colors: string[];
22
- stops?: number[] | undefined;
23
- angle?: number | undefined;
24
- position?: string | undefined;
25
- shape?: "ellipse" | "circle" | undefined;
26
- }, {
27
- type: "linear" | "radial";
28
- colors: string[];
29
- stops?: number[] | undefined;
30
- angle?: number | undefined;
31
- position?: string | undefined;
32
- shape?: "ellipse" | "circle" | undefined;
33
- }>;
15
+ shape: z.ZodOptional<z.ZodEnum<{
16
+ ellipse: "ellipse";
17
+ circle: "circle";
18
+ }>>;
19
+ }, z.core.$strip>;
34
20
  /**
35
21
  * Color type that can be either a string or a gradient object
36
22
  */
37
- export declare const ColorTypeShape: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
38
- /** Gradient type */
39
- type: z.ZodEnum<["linear", "radial"]>;
40
- /** Array of color strings */
41
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
42
- /** Optional array of stop positions (0-1) matching colors */
43
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44
- /** Angle in degrees (for linear gradients) */
23
+ export declare const ColorTypeShape: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
24
+ type: z.ZodEnum<{
25
+ linear: "linear";
26
+ radial: "radial";
27
+ }>;
28
+ colors: z.ZodArray<z.ZodString>;
29
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
45
30
  angle: z.ZodOptional<z.ZodNumber>;
46
- /** Position description (for radial gradients) */
47
31
  position: z.ZodOptional<z.ZodString>;
48
- /** Shape type (for radial gradients) */
49
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
50
- }, "strip", z.ZodTypeAny, {
51
- type: "linear" | "radial";
52
- colors: string[];
53
- stops?: number[] | undefined;
54
- angle?: number | undefined;
55
- position?: string | undefined;
56
- shape?: "ellipse" | "circle" | undefined;
57
- }, {
58
- type: "linear" | "radial";
59
- colors: string[];
60
- stops?: number[] | undefined;
61
- angle?: number | undefined;
62
- position?: string | undefined;
63
- shape?: "ellipse" | "circle" | undefined;
64
- }>]>;
32
+ shape: z.ZodOptional<z.ZodEnum<{
33
+ ellipse: "ellipse";
34
+ circle: "circle";
35
+ }>>;
36
+ }, z.core.$strip>]>;
65
37
  /**
66
38
  * Position property schema
67
39
  * Defines the position of a component within the scene
68
40
  */
69
41
  export declare const PositionShape: z.ZodObject<{
70
- /** X-coordinate position (from left) */
71
42
  x: z.ZodNumber;
72
- /** Y-coordinate position (from top) */
73
43
  y: z.ZodNumber;
74
- /** Rotation in degrees */
75
- rotation: z.ZodDefault<z.ZodNumber>;
76
- /** Anchor point for transformations (0,0 is top-left, 1,1 is bottom-right) */
77
- anchor: z.ZodDefault<z.ZodObject<{
78
- x: z.ZodDefault<z.ZodNumber>;
79
- y: z.ZodDefault<z.ZodNumber>;
80
- }, "strip", z.ZodTypeAny, {
81
- x: number;
82
- y: number;
83
- }, {
84
- x?: number | undefined;
85
- y?: number | undefined;
86
- }>>;
87
- }, "strip", z.ZodTypeAny, {
88
- x: number;
89
- y: number;
90
- rotation: number;
91
- anchor: {
92
- x: number;
93
- y: number;
94
- };
95
- }, {
96
- x: number;
97
- y: number;
98
- rotation?: number | undefined;
99
- anchor?: {
100
- x?: number | undefined;
101
- y?: number | undefined;
102
- } | undefined;
103
- }>;
44
+ rotation: z.ZodPrefault<z.ZodNumber>;
45
+ anchor: z.ZodPrefault<z.ZodObject<{
46
+ x: z.ZodPrefault<z.ZodNumber>;
47
+ y: z.ZodPrefault<z.ZodNumber>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>;
104
50
  /**
105
51
  * Size property schema
106
52
  * Defines the dimensions of a component
107
53
  */
108
54
  export declare const SizeShape: z.ZodObject<{
109
- /** Width in pixels */
110
55
  width: z.ZodNumber;
111
- /** Height in pixels */
112
56
  height: z.ZodNumber;
113
- /** Uniform scale factor */
114
- scale: z.ZodDefault<z.ZodNumber>;
115
- /** Whether to maintain aspect ratio when resizing */
116
- maintainAspectRatio: z.ZodDefault<z.ZodBoolean>;
117
- /** Original dimensions before any transformations */
57
+ scale: z.ZodPrefault<z.ZodNumber>;
58
+ maintainAspectRatio: z.ZodPrefault<z.ZodBoolean>;
118
59
  original: z.ZodOptional<z.ZodObject<{
119
60
  width: z.ZodOptional<z.ZodNumber>;
120
61
  height: z.ZodOptional<z.ZodNumber>;
121
- }, "strip", z.ZodTypeAny, {
122
- width?: number | undefined;
123
- height?: number | undefined;
124
- }, {
125
- width?: number | undefined;
126
- height?: number | undefined;
127
- }>>;
128
- }, "strip", z.ZodTypeAny, {
129
- width: number;
130
- height: number;
131
- scale: number;
132
- maintainAspectRatio: boolean;
133
- original?: {
134
- width?: number | undefined;
135
- height?: number | undefined;
136
- } | undefined;
137
- }, {
138
- width: number;
139
- height: number;
140
- scale?: number | undefined;
141
- maintainAspectRatio?: boolean | undefined;
142
- original?: {
143
- width?: number | undefined;
144
- height?: number | undefined;
145
- } | undefined;
146
- }>;
62
+ }, z.core.$strip>>;
63
+ }, z.core.$strip>;
147
64
  /**
148
65
  * Transform property schema
149
66
  * Defines additional transformations beyond basic position and size
150
67
  */
151
68
  export declare const TransformShape: z.ZodObject<{
152
- /** Horizontal scale factor (1 = 100%) */
153
- scaleX: z.ZodDefault<z.ZodNumber>;
154
- /** Vertical scale factor (1 = 100%) */
155
- scaleY: z.ZodDefault<z.ZodNumber>;
156
- /** Horizontal skew in degrees */
157
- skewX: z.ZodDefault<z.ZodNumber>;
158
- /** Vertical skew in degrees */
159
- skewY: z.ZodDefault<z.ZodNumber>;
160
- /** Origin point for transformations */
69
+ scaleX: z.ZodPrefault<z.ZodNumber>;
70
+ scaleY: z.ZodPrefault<z.ZodNumber>;
71
+ skewX: z.ZodPrefault<z.ZodNumber>;
72
+ skewY: z.ZodPrefault<z.ZodNumber>;
161
73
  transformOrigin: z.ZodOptional<z.ZodObject<{
162
- x: z.ZodDefault<z.ZodNumber>;
163
- y: z.ZodDefault<z.ZodNumber>;
164
- }, "strip", z.ZodTypeAny, {
165
- x: number;
166
- y: number;
167
- }, {
168
- x?: number | undefined;
169
- y?: number | undefined;
170
- }>>;
171
- }, "strip", z.ZodTypeAny, {
172
- scaleX: number;
173
- scaleY: number;
174
- skewX: number;
175
- skewY: number;
176
- transformOrigin?: {
177
- x: number;
178
- y: number;
179
- } | undefined;
180
- }, {
181
- scaleX?: number | undefined;
182
- scaleY?: number | undefined;
183
- skewX?: number | undefined;
184
- skewY?: number | undefined;
185
- transformOrigin?: {
186
- x?: number | undefined;
187
- y?: number | undefined;
188
- } | undefined;
189
- }>;
74
+ x: z.ZodPrefault<z.ZodNumber>;
75
+ y: z.ZodPrefault<z.ZodNumber>;
76
+ }, z.core.$strip>>;
77
+ }, z.core.$strip>;
190
78
  /**
191
79
  * Shadow effect schema
192
80
  */
193
81
  export declare const ShadowShape: z.ZodObject<{
194
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
195
- /** Optional preset name */
82
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
196
83
  preset: z.ZodOptional<z.ZodString>;
197
- /** Shadow color */
198
- color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
199
- /** Shadow blur radius in pixels */
84
+ color: z.ZodOptional<z.ZodString>;
200
85
  blur: z.ZodOptional<z.ZodNumber>;
201
- /** Shadow size in pixels */
202
86
  size: z.ZodOptional<z.ZodNumber>;
203
- /** Horizontal offset in pixels */
204
87
  offsetX: z.ZodOptional<z.ZodNumber>;
205
- /** Vertical offset in pixels */
206
88
  offsetY: z.ZodOptional<z.ZodNumber>;
207
- /** Shadow opacity (0-1) */
208
89
  opacity: z.ZodOptional<z.ZodNumber>;
209
- }, "strip", z.ZodTypeAny, {
210
- offsetX?: number | undefined;
211
- offsetY?: number | undefined;
212
- opacity?: number | undefined;
213
- enabled?: boolean | undefined;
214
- color?: string | undefined;
215
- preset?: string | undefined;
216
- blur?: number | undefined;
217
- size?: number | undefined;
218
- }, {
219
- offsetX?: number | undefined;
220
- offsetY?: number | undefined;
221
- opacity?: number | undefined;
222
- enabled?: boolean | undefined;
223
- color?: string | undefined;
224
- preset?: string | undefined;
225
- blur?: number | undefined;
226
- size?: number | undefined;
227
- }>;
90
+ }, z.core.$strip>;
228
91
  /**
229
92
  * Outline/Stroke effect schema
230
93
  */
231
94
  export declare const OutlineShape: z.ZodObject<{
232
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
233
- /** Optional preset name */
95
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
234
96
  preset: z.ZodOptional<z.ZodString>;
235
- /** Outline color */
236
- color: z.ZodEffects<z.ZodString, string, string>;
237
- /** Outline width in pixels */
97
+ color: z.ZodString;
238
98
  size: z.ZodOptional<z.ZodNumber>;
239
- /** Outline opacity (0-1) */
240
99
  opacity: z.ZodOptional<z.ZodNumber>;
241
- /** Outline style (Note: style/dashArray not in schema-llm.md, maybe remove?) */
242
- style: z.ZodOptional<z.ZodDefault<z.ZodEnum<["solid", "dashed", "dotted"]>>>;
243
- /** Custom dash pattern (only for 'dashed' style) */
244
- dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
245
- }, "strip", z.ZodTypeAny, {
246
- color: string;
247
- opacity?: number | undefined;
248
- enabled?: boolean | undefined;
249
- preset?: string | undefined;
250
- size?: number | undefined;
251
- style?: "solid" | "dashed" | "dotted" | undefined;
252
- dashArray?: number[] | undefined;
253
- }, {
254
- color: string;
255
- opacity?: number | undefined;
256
- enabled?: boolean | undefined;
257
- preset?: string | undefined;
258
- size?: number | undefined;
259
- style?: "solid" | "dashed" | "dotted" | undefined;
260
- dashArray?: number[] | undefined;
261
- }>;
100
+ style: z.ZodOptional<z.ZodPrefault<z.ZodEnum<{
101
+ solid: "solid";
102
+ dashed: "dashed";
103
+ dotted: "dotted";
104
+ }>>>;
105
+ dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
106
+ }, z.core.$strip>;
262
107
  /**
263
108
  * Font size with unit schema
264
109
  */
265
110
  export declare const FontSizeShape: z.ZodObject<{
266
- /** Font size value */
267
111
  value: z.ZodNumber;
268
- /** Font size unit */
269
- unit: z.ZodDefault<z.ZodEnum<["px", "em", "rem", "%"]>>;
270
- }, "strip", z.ZodTypeAny, {
271
- value: number;
272
- unit: "px" | "em" | "rem" | "%";
273
- }, {
274
- value: number;
275
- unit?: "px" | "em" | "rem" | "%" | undefined;
276
- }>;
112
+ unit: z.ZodPrefault<z.ZodEnum<{
113
+ px: "px";
114
+ em: "em";
115
+ rem: "rem";
116
+ "%": "%";
117
+ }>>;
118
+ }, z.core.$strip>;
277
119
  /**
278
120
  * Line height with unit schema
279
121
  */
280
122
  export declare const LineHeightShape: z.ZodObject<{
281
- /** Line height value */
282
123
  value: z.ZodNumber;
283
- /** Line height unit */
284
- unit: z.ZodDefault<z.ZodEnum<["normal", "px", "em", "%"]>>;
285
- }, "strip", z.ZodTypeAny, {
286
- value: number;
287
- unit: "px" | "em" | "%" | "normal";
288
- }, {
289
- value: number;
290
- unit?: "px" | "em" | "%" | "normal" | undefined;
291
- }>;
124
+ unit: z.ZodPrefault<z.ZodEnum<{
125
+ normal: "normal";
126
+ px: "px";
127
+ em: "em";
128
+ "%": "%";
129
+ }>>;
130
+ }, z.core.$strip>;
292
131
  /**
293
132
  * Color with opacity schema
294
133
  */
295
134
  export declare const ColorWithOpacityShape: z.ZodObject<{
296
- /** Color value (hex, rgb, rgba, etc.) */
297
- color: z.ZodEffects<z.ZodString, string, string>;
298
- /** Opacity (0-1) */
299
- opacity: z.ZodDefault<z.ZodNumber>;
300
- }, "strip", z.ZodTypeAny, {
301
- opacity: number;
302
- color: string;
303
- }, {
304
- color: string;
305
- opacity?: number | undefined;
306
- }>;
135
+ color: z.ZodString;
136
+ opacity: z.ZodPrefault<z.ZodNumber>;
137
+ }, z.core.$strip>;
307
138
  /**
308
139
  * Gradient stop schema
309
140
  */
310
141
  export declare const GradientStopShape: z.ZodObject<{
311
- /** Color value */
312
- color: z.ZodEffects<z.ZodString, string, string>;
313
- /** Position in the gradient (0-1) */
142
+ color: z.ZodString;
314
143
  position: z.ZodNumber;
315
- /** Opacity (0-1) */
316
- opacity: z.ZodDefault<z.ZodNumber>;
317
- }, "strip", z.ZodTypeAny, {
318
- opacity: number;
319
- position: number;
320
- color: string;
321
- }, {
322
- position: number;
323
- color: string;
324
- opacity?: number | undefined;
325
- }>;
144
+ opacity: z.ZodPrefault<z.ZodNumber>;
145
+ }, z.core.$strip>;
326
146
  /**
327
147
  * Gradient background schema
328
148
  */
329
149
  export declare const GradientShape: z.ZodObject<{
330
- /** Gradient type */
331
- type: z.ZodEnum<["linear", "radial"]>;
332
- /** Gradient stops */
150
+ type: z.ZodEnum<{
151
+ linear: "linear";
152
+ radial: "radial";
153
+ }>;
333
154
  stops: z.ZodArray<z.ZodObject<{
334
- /** Color value */
335
- color: z.ZodEffects<z.ZodString, string, string>;
336
- /** Position in the gradient (0-1) */
155
+ color: z.ZodString;
337
156
  position: z.ZodNumber;
338
- /** Opacity (0-1) */
339
- opacity: z.ZodDefault<z.ZodNumber>;
340
- }, "strip", z.ZodTypeAny, {
341
- opacity: number;
342
- position: number;
343
- color: string;
344
- }, {
345
- position: number;
346
- color: string;
347
- opacity?: number | undefined;
348
- }>, "many">;
349
- /** Angle in degrees (for linear gradients) */
350
- angle: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
351
- /** Center position (for radial gradients) */
157
+ opacity: z.ZodPrefault<z.ZodNumber>;
158
+ }, z.core.$strip>>;
159
+ angle: z.ZodOptional<z.ZodPrefault<z.ZodNumber>>;
352
160
  center: z.ZodOptional<z.ZodObject<{
353
- x: z.ZodDefault<z.ZodNumber>;
354
- y: z.ZodDefault<z.ZodNumber>;
355
- }, "strip", z.ZodTypeAny, {
356
- x: number;
357
- y: number;
358
- }, {
359
- x?: number | undefined;
360
- y?: number | undefined;
361
- }>>;
362
- }, "strip", z.ZodTypeAny, {
363
- type: "linear" | "radial";
364
- stops: {
365
- opacity: number;
366
- position: number;
367
- color: string;
368
- }[];
369
- angle?: number | undefined;
370
- center?: {
371
- x: number;
372
- y: number;
373
- } | undefined;
374
- }, {
375
- type: "linear" | "radial";
376
- stops: {
377
- position: number;
378
- color: string;
379
- opacity?: number | undefined;
380
- }[];
381
- angle?: number | undefined;
382
- center?: {
383
- x?: number | undefined;
384
- y?: number | undefined;
385
- } | undefined;
386
- }>;
161
+ x: z.ZodPrefault<z.ZodNumber>;
162
+ y: z.ZodPrefault<z.ZodNumber>;
163
+ }, z.core.$strip>>;
164
+ }, z.core.$strip>;
387
165
  /**
388
166
  * Animation timing schema
389
167
  * Defines timing properties for animations
390
168
  */
391
169
  export declare const AnimationTimingShape: z.ZodObject<{
392
- /** Delay before animation starts (in seconds) */
393
- delay: z.ZodDefault<z.ZodNumber>;
394
- /** Animation duration (in seconds) */
395
- duration: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
396
- /** Number of times the animation repeats (-1 for infinite) */
397
- repeat: z.ZodDefault<z.ZodNumber>;
398
- /** Delay between animation repetitions (in seconds) */
399
- repeatDelay: z.ZodDefault<z.ZodNumber>;
400
- /** Time between successive animations in seconds (for staggered animations) */
401
- stagger: z.ZodDefault<z.ZodNumber>;
402
- /** Whether to reverse the animation on alternate repeats */
403
- yoyo: z.ZodDefault<z.ZodBoolean>;
404
- }, "strip", z.ZodTypeAny, {
405
- duration: number;
406
- delay: number;
407
- stagger: number;
408
- repeat: number;
409
- repeatDelay: number;
410
- yoyo: boolean;
411
- }, {
412
- duration?: number | undefined;
413
- delay?: number | undefined;
414
- stagger?: number | undefined;
415
- repeat?: number | undefined;
416
- repeatDelay?: number | undefined;
417
- yoyo?: boolean | undefined;
418
- }>;
170
+ delay: z.ZodPrefault<z.ZodNumber>;
171
+ duration: z.ZodPipe<z.ZodPrefault<z.ZodNumber>, z.ZodTransform<number, number>>;
172
+ repeat: z.ZodPrefault<z.ZodInt>;
173
+ repeatDelay: z.ZodPrefault<z.ZodNumber>;
174
+ stagger: z.ZodPrefault<z.ZodNumber>;
175
+ yoyo: z.ZodPrefault<z.ZodBoolean>;
176
+ }, z.core.$strip>;
419
177
  /**
420
178
  * Animation easing schema
421
179
  * Defines how animations accelerate and decelerate
422
180
  */
423
- export declare const AnimationEasingShape: z.ZodUnion<[z.ZodEnum<["linear", "power1.in", "power1.out", "power1.inOut", "power2.in", "power2.out", "power2.inOut", "power3.in", "power3.out", "power3.inOut", "power4.in", "power4.out", "power4.inOut", "back.in", "back.out", "back.inOut", "elastic.in", "elastic.out", "elastic.inOut", "bounce.in", "bounce.out", "bounce.inOut", "circ.in", "circ.out", "circ.inOut", "expo.in", "expo.out", "expo.inOut", "sine.in", "sine.out", "sine.inOut"]>, z.ZodObject<{
181
+ export declare const AnimationEasingShape: z.ZodUnion<readonly [z.ZodEnum<{
182
+ linear: "linear";
183
+ "power1.in": "power1.in";
184
+ "power1.out": "power1.out";
185
+ "power1.inOut": "power1.inOut";
186
+ "power2.in": "power2.in";
187
+ "power2.out": "power2.out";
188
+ "power2.inOut": "power2.inOut";
189
+ "power3.in": "power3.in";
190
+ "power3.out": "power3.out";
191
+ "power3.inOut": "power3.inOut";
192
+ "power4.in": "power4.in";
193
+ "power4.out": "power4.out";
194
+ "power4.inOut": "power4.inOut";
195
+ "back.in": "back.in";
196
+ "back.out": "back.out";
197
+ "back.inOut": "back.inOut";
198
+ "bounce.in": "bounce.in";
199
+ "bounce.out": "bounce.out";
200
+ "bounce.inOut": "bounce.inOut";
201
+ "circ.in": "circ.in";
202
+ "circ.out": "circ.out";
203
+ "circ.inOut": "circ.inOut";
204
+ "elastic.in": "elastic.in";
205
+ "elastic.out": "elastic.out";
206
+ "elastic.inOut": "elastic.inOut";
207
+ "expo.in": "expo.in";
208
+ "expo.out": "expo.out";
209
+ "expo.inOut": "expo.inOut";
210
+ "sine.in": "sine.in";
211
+ "sine.out": "sine.out";
212
+ "sine.inOut": "sine.inOut";
213
+ }>, z.ZodObject<{
424
214
  type: z.ZodLiteral<"cubicBezier">;
425
215
  x1: z.ZodNumber;
426
216
  y1: z.ZodNumber;
427
217
  x2: z.ZodNumber;
428
218
  y2: z.ZodNumber;
429
- }, "strip", z.ZodTypeAny, {
430
- type: "cubicBezier";
431
- x1: number;
432
- y1: number;
433
- x2: number;
434
- y2: number;
435
- }, {
436
- type: "cubicBezier";
437
- x1: number;
438
- y1: number;
439
- x2: number;
440
- y2: number;
441
- }>]>;
219
+ }, z.core.$strip>]>;
442
220
  /**
443
221
  * Keyframe schema
444
222
  * Defines a single keyframe in an animation
445
223
  */
446
224
  export declare const KeyframeShape: z.ZodObject<{
447
- /** Time position in seconds relative to animation start */
448
- time: z.ZodEffects<z.ZodNumber, number, number>;
449
- /** Target property values at this keyframe */
450
- value: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
451
- /** Easing to use when transitioning to this keyframe */
452
- easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "power1.in", "power1.out", "power1.inOut", "power2.in", "power2.out", "power2.inOut", "power3.in", "power3.out", "power3.inOut", "power4.in", "power4.out", "power4.inOut", "back.in", "back.out", "back.inOut", "elastic.in", "elastic.out", "elastic.inOut", "bounce.in", "bounce.out", "bounce.inOut", "circ.in", "circ.out", "circ.inOut", "expo.in", "expo.out", "expo.inOut", "sine.in", "sine.out", "sine.inOut"]>, z.ZodObject<{
225
+ time: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
226
+ value: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
227
+ easing: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
228
+ linear: "linear";
229
+ "power1.in": "power1.in";
230
+ "power1.out": "power1.out";
231
+ "power1.inOut": "power1.inOut";
232
+ "power2.in": "power2.in";
233
+ "power2.out": "power2.out";
234
+ "power2.inOut": "power2.inOut";
235
+ "power3.in": "power3.in";
236
+ "power3.out": "power3.out";
237
+ "power3.inOut": "power3.inOut";
238
+ "power4.in": "power4.in";
239
+ "power4.out": "power4.out";
240
+ "power4.inOut": "power4.inOut";
241
+ "back.in": "back.in";
242
+ "back.out": "back.out";
243
+ "back.inOut": "back.inOut";
244
+ "bounce.in": "bounce.in";
245
+ "bounce.out": "bounce.out";
246
+ "bounce.inOut": "bounce.inOut";
247
+ "circ.in": "circ.in";
248
+ "circ.out": "circ.out";
249
+ "circ.inOut": "circ.inOut";
250
+ "elastic.in": "elastic.in";
251
+ "elastic.out": "elastic.out";
252
+ "elastic.inOut": "elastic.inOut";
253
+ "expo.in": "expo.in";
254
+ "expo.out": "expo.out";
255
+ "expo.inOut": "expo.inOut";
256
+ "sine.in": "sine.in";
257
+ "sine.out": "sine.out";
258
+ "sine.inOut": "sine.inOut";
259
+ }>, z.ZodObject<{
453
260
  type: z.ZodLiteral<"cubicBezier">;
454
261
  x1: z.ZodNumber;
455
262
  y1: z.ZodNumber;
456
263
  x2: z.ZodNumber;
457
264
  y2: z.ZodNumber;
458
- }, "strip", z.ZodTypeAny, {
459
- type: "cubicBezier";
460
- x1: number;
461
- y1: number;
462
- x2: number;
463
- y2: number;
464
- }, {
465
- type: "cubicBezier";
466
- x1: number;
467
- y1: number;
468
- x2: number;
469
- y2: number;
470
- }>]>>;
471
- }, "strip", z.ZodTypeAny, {
472
- value: Record<string, string | number | boolean>;
473
- time: number;
474
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
475
- type: "cubicBezier";
476
- x1: number;
477
- y1: number;
478
- x2: number;
479
- y2: number;
480
- } | undefined;
481
- }, {
482
- value: Record<string, string | number | boolean>;
483
- time: number;
484
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
485
- type: "cubicBezier";
486
- x1: number;
487
- y1: number;
488
- x2: number;
489
- y2: number;
490
- } | undefined;
491
- }>;
265
+ }, z.core.$strip>]>>;
266
+ }, z.core.$strip>;
492
267
  /**
493
268
  * Animation target schema
494
269
  * Defines what elements an animation affects
495
270
  */
496
- export declare const AnimationTargetShape: z.ZodEnum<["element", "words", "lines", "chars", "transform", "opacity", "position", "size"]>;
271
+ export declare const AnimationTargetShape: z.ZodEnum<{
272
+ transform: "transform";
273
+ words: "words";
274
+ lines: "lines";
275
+ chars: "chars";
276
+ position: "position";
277
+ opacity: "opacity";
278
+ size: "size";
279
+ element: "element";
280
+ }>;
497
281
  /**
498
282
  * Enhanced animation schema
499
283
  * Comprehensive definition of an animation
500
284
  */
501
285
  export declare const EnhancedAnimationShape: z.ZodObject<{
502
- /** Unique identifier */
503
286
  id: z.ZodString;
504
- /** Animation name */
505
287
  name: z.ZodString;
506
- /** Animation type */
507
- type: z.ZodEnum<["preset", "custom", "keyframe"]>;
508
- /** Preset identifier (for preset animations) */
288
+ type: z.ZodEnum<{
289
+ custom: "custom";
290
+ preset: "preset";
291
+ keyframe: "keyframe";
292
+ }>;
509
293
  presetId: z.ZodOptional<z.ZodString>;
510
- /** What the animation targets */
511
- target: z.ZodDefault<z.ZodEnum<["element", "words", "lines", "chars", "transform", "opacity", "position", "size"]>>;
512
- /** Animation timing properties */
513
- timing: z.ZodDefault<z.ZodObject<{
514
- /** Delay before animation starts (in seconds) */
515
- delay: z.ZodDefault<z.ZodNumber>;
516
- /** Animation duration (in seconds) */
517
- duration: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
518
- /** Number of times the animation repeats (-1 for infinite) */
519
- repeat: z.ZodDefault<z.ZodNumber>;
520
- /** Delay between animation repetitions (in seconds) */
521
- repeatDelay: z.ZodDefault<z.ZodNumber>;
522
- /** Time between successive animations in seconds (for staggered animations) */
523
- stagger: z.ZodDefault<z.ZodNumber>;
524
- /** Whether to reverse the animation on alternate repeats */
525
- yoyo: z.ZodDefault<z.ZodBoolean>;
526
- }, "strip", z.ZodTypeAny, {
527
- duration: number;
528
- delay: number;
529
- stagger: number;
530
- repeat: number;
531
- repeatDelay: number;
532
- yoyo: boolean;
533
- }, {
534
- duration?: number | undefined;
535
- delay?: number | undefined;
536
- stagger?: number | undefined;
537
- repeat?: number | undefined;
538
- repeatDelay?: number | undefined;
539
- yoyo?: boolean | undefined;
294
+ target: z.ZodPrefault<z.ZodEnum<{
295
+ transform: "transform";
296
+ words: "words";
297
+ lines: "lines";
298
+ chars: "chars";
299
+ position: "position";
300
+ opacity: "opacity";
301
+ size: "size";
302
+ element: "element";
540
303
  }>>;
541
- /** Animation easing */
542
- easing: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["linear", "power1.in", "power1.out", "power1.inOut", "power2.in", "power2.out", "power2.inOut", "power3.in", "power3.out", "power3.inOut", "power4.in", "power4.out", "power4.inOut", "back.in", "back.out", "back.inOut", "elastic.in", "elastic.out", "elastic.inOut", "bounce.in", "bounce.out", "bounce.inOut", "circ.in", "circ.out", "circ.inOut", "expo.in", "expo.out", "expo.inOut", "sine.in", "sine.out", "sine.inOut"]>, z.ZodObject<{
304
+ timing: z.ZodPrefault<z.ZodObject<{
305
+ delay: z.ZodPrefault<z.ZodNumber>;
306
+ duration: z.ZodPipe<z.ZodPrefault<z.ZodNumber>, z.ZodTransform<number, number>>;
307
+ repeat: z.ZodPrefault<z.ZodInt>;
308
+ repeatDelay: z.ZodPrefault<z.ZodNumber>;
309
+ stagger: z.ZodPrefault<z.ZodNumber>;
310
+ yoyo: z.ZodPrefault<z.ZodBoolean>;
311
+ }, z.core.$strip>>;
312
+ easing: z.ZodPrefault<z.ZodUnion<readonly [z.ZodEnum<{
313
+ linear: "linear";
314
+ "power1.in": "power1.in";
315
+ "power1.out": "power1.out";
316
+ "power1.inOut": "power1.inOut";
317
+ "power2.in": "power2.in";
318
+ "power2.out": "power2.out";
319
+ "power2.inOut": "power2.inOut";
320
+ "power3.in": "power3.in";
321
+ "power3.out": "power3.out";
322
+ "power3.inOut": "power3.inOut";
323
+ "power4.in": "power4.in";
324
+ "power4.out": "power4.out";
325
+ "power4.inOut": "power4.inOut";
326
+ "back.in": "back.in";
327
+ "back.out": "back.out";
328
+ "back.inOut": "back.inOut";
329
+ "bounce.in": "bounce.in";
330
+ "bounce.out": "bounce.out";
331
+ "bounce.inOut": "bounce.inOut";
332
+ "circ.in": "circ.in";
333
+ "circ.out": "circ.out";
334
+ "circ.inOut": "circ.inOut";
335
+ "elastic.in": "elastic.in";
336
+ "elastic.out": "elastic.out";
337
+ "elastic.inOut": "elastic.inOut";
338
+ "expo.in": "expo.in";
339
+ "expo.out": "expo.out";
340
+ "expo.inOut": "expo.inOut";
341
+ "sine.in": "sine.in";
342
+ "sine.out": "sine.out";
343
+ "sine.inOut": "sine.inOut";
344
+ }>, z.ZodObject<{
543
345
  type: z.ZodLiteral<"cubicBezier">;
544
346
  x1: z.ZodNumber;
545
347
  y1: z.ZodNumber;
546
348
  x2: z.ZodNumber;
547
349
  y2: z.ZodNumber;
548
- }, "strip", z.ZodTypeAny, {
549
- type: "cubicBezier";
550
- x1: number;
551
- y1: number;
552
- x2: number;
553
- y2: number;
554
- }, {
555
- type: "cubicBezier";
556
- x1: number;
557
- y1: number;
558
- x2: number;
559
- y2: number;
560
- }>]>>;
561
- /** For keyframe animations: the keyframes */
350
+ }, z.core.$strip>]>>;
562
351
  keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
563
- /** Time position in seconds relative to animation start */
564
- time: z.ZodEffects<z.ZodNumber, number, number>;
565
- /** Target property values at this keyframe */
566
- value: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
567
- /** Easing to use when transitioning to this keyframe */
568
- easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "power1.in", "power1.out", "power1.inOut", "power2.in", "power2.out", "power2.inOut", "power3.in", "power3.out", "power3.inOut", "power4.in", "power4.out", "power4.inOut", "back.in", "back.out", "back.inOut", "elastic.in", "elastic.out", "elastic.inOut", "bounce.in", "bounce.out", "bounce.inOut", "circ.in", "circ.out", "circ.inOut", "expo.in", "expo.out", "expo.inOut", "sine.in", "sine.out", "sine.inOut"]>, z.ZodObject<{
352
+ time: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
353
+ value: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
354
+ easing: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
355
+ linear: "linear";
356
+ "power1.in": "power1.in";
357
+ "power1.out": "power1.out";
358
+ "power1.inOut": "power1.inOut";
359
+ "power2.in": "power2.in";
360
+ "power2.out": "power2.out";
361
+ "power2.inOut": "power2.inOut";
362
+ "power3.in": "power3.in";
363
+ "power3.out": "power3.out";
364
+ "power3.inOut": "power3.inOut";
365
+ "power4.in": "power4.in";
366
+ "power4.out": "power4.out";
367
+ "power4.inOut": "power4.inOut";
368
+ "back.in": "back.in";
369
+ "back.out": "back.out";
370
+ "back.inOut": "back.inOut";
371
+ "bounce.in": "bounce.in";
372
+ "bounce.out": "bounce.out";
373
+ "bounce.inOut": "bounce.inOut";
374
+ "circ.in": "circ.in";
375
+ "circ.out": "circ.out";
376
+ "circ.inOut": "circ.inOut";
377
+ "elastic.in": "elastic.in";
378
+ "elastic.out": "elastic.out";
379
+ "elastic.inOut": "elastic.inOut";
380
+ "expo.in": "expo.in";
381
+ "expo.out": "expo.out";
382
+ "expo.inOut": "expo.inOut";
383
+ "sine.in": "sine.in";
384
+ "sine.out": "sine.out";
385
+ "sine.inOut": "sine.inOut";
386
+ }>, z.ZodObject<{
569
387
  type: z.ZodLiteral<"cubicBezier">;
570
388
  x1: z.ZodNumber;
571
389
  y1: z.ZodNumber;
572
390
  x2: z.ZodNumber;
573
391
  y2: z.ZodNumber;
574
- }, "strip", z.ZodTypeAny, {
575
- type: "cubicBezier";
576
- x1: number;
577
- y1: number;
578
- x2: number;
579
- y2: number;
580
- }, {
581
- type: "cubicBezier";
582
- x1: number;
583
- y1: number;
584
- x2: number;
585
- y2: number;
586
- }>]>>;
587
- }, "strip", z.ZodTypeAny, {
588
- value: Record<string, string | number | boolean>;
589
- time: number;
590
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
591
- type: "cubicBezier";
592
- x1: number;
593
- y1: number;
594
- x2: number;
595
- y2: number;
596
- } | undefined;
597
- }, {
598
- value: Record<string, string | number | boolean>;
599
- time: number;
600
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
601
- type: "cubicBezier";
602
- x1: number;
603
- y1: number;
604
- x2: number;
605
- y2: number;
606
- } | undefined;
607
- }>, "many">>;
608
- /** Whether animation plays automatically */
609
- autoplay: z.ZodDefault<z.ZodBoolean>;
610
- /** Whether to preserve transform styles that aren't explicitly animated */
611
- preserveTransform: z.ZodDefault<z.ZodBoolean>;
612
- /** Additional animation parameters */
392
+ }, z.core.$strip>]>>;
393
+ }, z.core.$strip>>>;
394
+ autoplay: z.ZodPrefault<z.ZodBoolean>;
395
+ preserveTransform: z.ZodPrefault<z.ZodBoolean>;
613
396
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
614
- }, "strip", z.ZodTypeAny, {
615
- id: string;
616
- name: string;
617
- type: "custom" | "preset" | "keyframe";
618
- target: "opacity" | "position" | "element" | "size" | "words" | "lines" | "chars" | "transform";
619
- autoplay: boolean;
620
- easing: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
621
- type: "cubicBezier";
622
- x1: number;
623
- y1: number;
624
- x2: number;
625
- y2: number;
626
- };
627
- timing: {
628
- duration: number;
629
- delay: number;
630
- stagger: number;
631
- repeat: number;
632
- repeatDelay: number;
633
- yoyo: boolean;
634
- };
635
- preserveTransform: boolean;
636
- presetId?: string | undefined;
637
- parameters?: Record<string, unknown> | undefined;
638
- keyframes?: {
639
- value: Record<string, string | number | boolean>;
640
- time: number;
641
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
642
- type: "cubicBezier";
643
- x1: number;
644
- y1: number;
645
- x2: number;
646
- y2: number;
647
- } | undefined;
648
- }[] | undefined;
649
- }, {
650
- id: string;
651
- name: string;
652
- type: "custom" | "preset" | "keyframe";
653
- target?: "opacity" | "position" | "element" | "size" | "words" | "lines" | "chars" | "transform" | undefined;
654
- presetId?: string | undefined;
655
- autoplay?: boolean | undefined;
656
- parameters?: Record<string, unknown> | undefined;
657
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
658
- type: "cubicBezier";
659
- x1: number;
660
- y1: number;
661
- x2: number;
662
- y2: number;
663
- } | undefined;
664
- timing?: {
665
- duration?: number | undefined;
666
- delay?: number | undefined;
667
- stagger?: number | undefined;
668
- repeat?: number | undefined;
669
- repeatDelay?: number | undefined;
670
- yoyo?: boolean | undefined;
671
- } | undefined;
672
- keyframes?: {
673
- value: Record<string, string | number | boolean>;
674
- time: number;
675
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
676
- type: "cubicBezier";
677
- x1: number;
678
- y1: number;
679
- x2: number;
680
- y2: number;
681
- } | undefined;
682
- }[] | undefined;
683
- preserveTransform?: boolean | undefined;
684
- }>;
397
+ }, z.core.$strip>;
685
398
  /**
686
399
  * Transition schema
687
400
  * Defines a transition between two components or states
688
401
  */
689
402
  export declare const TransitionShape: z.ZodObject<{
690
- /** Unique identifier */
691
403
  id: z.ZodString;
692
- /** Transition name */
693
404
  name: z.ZodOptional<z.ZodString>;
694
- /** Source component ID */
695
405
  fromComponentId: z.ZodString;
696
- /** Target component ID */
697
406
  toComponentId: z.ZodString;
698
- /** Transition type */
699
- type: z.ZodEnum<["fade", "slide", "zoom", "wipe", "custom", "preset"]>;
700
- /** Preset identifier (for preset transitions) */
407
+ type: z.ZodEnum<{
408
+ custom: "custom";
409
+ preset: "preset";
410
+ zoom: "zoom";
411
+ fade: "fade";
412
+ slide: "slide";
413
+ wipe: "wipe";
414
+ }>;
701
415
  presetId: z.ZodOptional<z.ZodString>;
702
- /** Transition duration in seconds */
703
- duration: z.ZodEffects<z.ZodNumber, number, number>;
704
- /** Transition direction (for directional transitions) */
705
- direction: z.ZodOptional<z.ZodEnum<["left", "right", "up", "down", "in", "out"]>>;
706
- /** Transition easing */
707
- easing: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["linear", "power1.in", "power1.out", "power1.inOut", "power2.in", "power2.out", "power2.inOut", "power3.in", "power3.out", "power3.inOut", "power4.in", "power4.out", "power4.inOut", "back.in", "back.out", "back.inOut", "elastic.in", "elastic.out", "elastic.inOut", "bounce.in", "bounce.out", "bounce.inOut", "circ.in", "circ.out", "circ.inOut", "expo.in", "expo.out", "expo.inOut", "sine.in", "sine.out", "sine.inOut"]>, z.ZodObject<{
416
+ duration: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
417
+ direction: z.ZodOptional<z.ZodEnum<{
418
+ in: "in";
419
+ out: "out";
420
+ left: "left";
421
+ right: "right";
422
+ up: "up";
423
+ down: "down";
424
+ }>>;
425
+ easing: z.ZodPrefault<z.ZodUnion<readonly [z.ZodEnum<{
426
+ linear: "linear";
427
+ "power1.in": "power1.in";
428
+ "power1.out": "power1.out";
429
+ "power1.inOut": "power1.inOut";
430
+ "power2.in": "power2.in";
431
+ "power2.out": "power2.out";
432
+ "power2.inOut": "power2.inOut";
433
+ "power3.in": "power3.in";
434
+ "power3.out": "power3.out";
435
+ "power3.inOut": "power3.inOut";
436
+ "power4.in": "power4.in";
437
+ "power4.out": "power4.out";
438
+ "power4.inOut": "power4.inOut";
439
+ "back.in": "back.in";
440
+ "back.out": "back.out";
441
+ "back.inOut": "back.inOut";
442
+ "bounce.in": "bounce.in";
443
+ "bounce.out": "bounce.out";
444
+ "bounce.inOut": "bounce.inOut";
445
+ "circ.in": "circ.in";
446
+ "circ.out": "circ.out";
447
+ "circ.inOut": "circ.inOut";
448
+ "elastic.in": "elastic.in";
449
+ "elastic.out": "elastic.out";
450
+ "elastic.inOut": "elastic.inOut";
451
+ "expo.in": "expo.in";
452
+ "expo.out": "expo.out";
453
+ "expo.inOut": "expo.inOut";
454
+ "sine.in": "sine.in";
455
+ "sine.out": "sine.out";
456
+ "sine.inOut": "sine.inOut";
457
+ }>, z.ZodObject<{
708
458
  type: z.ZodLiteral<"cubicBezier">;
709
459
  x1: z.ZodNumber;
710
460
  y1: z.ZodNumber;
711
461
  x2: z.ZodNumber;
712
462
  y2: z.ZodNumber;
713
- }, "strip", z.ZodTypeAny, {
714
- type: "cubicBezier";
715
- x1: number;
716
- y1: number;
717
- x2: number;
718
- y2: number;
719
- }, {
720
- type: "cubicBezier";
721
- x1: number;
722
- y1: number;
723
- x2: number;
724
- y2: number;
725
- }>]>>;
726
- /** Additional transition parameters */
463
+ }, z.core.$strip>]>>;
727
464
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
728
- }, "strip", z.ZodTypeAny, {
729
- id: string;
730
- type: "custom" | "preset" | "zoom" | "fade" | "slide" | "wipe";
731
- duration: number;
732
- fromComponentId: string;
733
- toComponentId: string;
734
- easing: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
735
- type: "cubicBezier";
736
- x1: number;
737
- y1: number;
738
- x2: number;
739
- y2: number;
740
- };
741
- name?: string | undefined;
742
- presetId?: string | undefined;
743
- direction?: "left" | "right" | "up" | "down" | "in" | "out" | undefined;
744
- parameters?: Record<string, unknown> | undefined;
745
- }, {
746
- id: string;
747
- type: "custom" | "preset" | "zoom" | "fade" | "slide" | "wipe";
748
- duration: number;
749
- fromComponentId: string;
750
- toComponentId: string;
751
- name?: string | undefined;
752
- presetId?: string | undefined;
753
- direction?: "left" | "right" | "up" | "down" | "in" | "out" | undefined;
754
- parameters?: Record<string, unknown> | undefined;
755
- easing?: "linear" | "power1.in" | "power1.out" | "power1.inOut" | "power2.in" | "power2.out" | "power2.inOut" | "power3.in" | "power3.out" | "power3.inOut" | "power4.in" | "power4.out" | "power4.inOut" | "back.in" | "back.out" | "back.inOut" | "bounce.in" | "bounce.out" | "bounce.inOut" | "circ.in" | "circ.out" | "circ.inOut" | "elastic.in" | "elastic.out" | "elastic.inOut" | "expo.in" | "expo.out" | "expo.inOut" | "sine.in" | "sine.out" | "sine.inOut" | {
756
- type: "cubicBezier";
757
- x1: number;
758
- y1: number;
759
- x2: number;
760
- y2: number;
761
- } | undefined;
762
- }>;
465
+ }, z.core.$strip>;
763
466
  /**
764
467
  * Effect schema base
765
468
  * Base schema for all effects
766
469
  */
767
470
  export declare const EffectBaseShape: z.ZodObject<{
768
- /** Effect type */
769
471
  type: z.ZodString;
770
- /** Whether the effect is enabled */
771
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
772
- /** Effect intensity (0-1) */
773
- intensity: z.ZodDefault<z.ZodNumber>;
774
- /** Effect mix blend mode */
775
- blendMode: z.ZodDefault<z.ZodEnum<["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"]>>;
776
- }, "strip", z.ZodTypeAny, {
777
- type: string;
778
- intensity: number;
779
- blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
780
- enabled?: boolean | undefined;
781
- }, {
782
- type: string;
783
- enabled?: boolean | undefined;
784
- intensity?: number | undefined;
785
- blendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | undefined;
786
- }>;
472
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
473
+ intensity: z.ZodPrefault<z.ZodNumber>;
474
+ blendMode: z.ZodPrefault<z.ZodEnum<{
475
+ color: "color";
476
+ normal: "normal";
477
+ multiply: "multiply";
478
+ screen: "screen";
479
+ overlay: "overlay";
480
+ darken: "darken";
481
+ lighten: "lighten";
482
+ "color-dodge": "color-dodge";
483
+ "color-burn": "color-burn";
484
+ "hard-light": "hard-light";
485
+ "soft-light": "soft-light";
486
+ difference: "difference";
487
+ exclusion: "exclusion";
488
+ hue: "hue";
489
+ saturation: "saturation";
490
+ luminosity: "luminosity";
491
+ }>>;
492
+ }, z.core.$strip>;
787
493
  /**
788
494
  * Blur effect schema
789
495
  */
790
496
  export declare const BlurEffectShape: z.ZodObject<{
791
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
792
- intensity: z.ZodDefault<z.ZodNumber>;
793
- blendMode: z.ZodDefault<z.ZodEnum<["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"]>>;
794
- } & {
497
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
498
+ intensity: z.ZodPrefault<z.ZodNumber>;
499
+ blendMode: z.ZodPrefault<z.ZodEnum<{
500
+ color: "color";
501
+ normal: "normal";
502
+ multiply: "multiply";
503
+ screen: "screen";
504
+ overlay: "overlay";
505
+ darken: "darken";
506
+ lighten: "lighten";
507
+ "color-dodge": "color-dodge";
508
+ "color-burn": "color-burn";
509
+ "hard-light": "hard-light";
510
+ "soft-light": "soft-light";
511
+ difference: "difference";
512
+ exclusion: "exclusion";
513
+ hue: "hue";
514
+ saturation: "saturation";
515
+ luminosity: "luminosity";
516
+ }>>;
795
517
  type: z.ZodLiteral<"blur">;
796
- radius: z.ZodDefault<z.ZodNumber>;
797
- }, "strip", z.ZodTypeAny, {
798
- type: "blur";
799
- radius: number;
800
- intensity: number;
801
- blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
802
- enabled?: boolean | undefined;
803
- }, {
804
- type: "blur";
805
- enabled?: boolean | undefined;
806
- radius?: number | undefined;
807
- intensity?: number | undefined;
808
- blendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | undefined;
809
- }>;
518
+ radius: z.ZodPrefault<z.ZodNumber>;
519
+ }, z.core.$strip>;
810
520
  /**
811
521
  * Color adjustment effect schema
812
522
  */
813
523
  export declare const ColorAdjustmentEffectShape: z.ZodObject<{
814
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
815
- intensity: z.ZodDefault<z.ZodNumber>;
816
- blendMode: z.ZodDefault<z.ZodEnum<["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"]>>;
817
- } & {
524
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
525
+ intensity: z.ZodPrefault<z.ZodNumber>;
526
+ blendMode: z.ZodPrefault<z.ZodEnum<{
527
+ color: "color";
528
+ normal: "normal";
529
+ multiply: "multiply";
530
+ screen: "screen";
531
+ overlay: "overlay";
532
+ darken: "darken";
533
+ lighten: "lighten";
534
+ "color-dodge": "color-dodge";
535
+ "color-burn": "color-burn";
536
+ "hard-light": "hard-light";
537
+ "soft-light": "soft-light";
538
+ difference: "difference";
539
+ exclusion: "exclusion";
540
+ hue: "hue";
541
+ saturation: "saturation";
542
+ luminosity: "luminosity";
543
+ }>>;
818
544
  type: z.ZodLiteral<"colorAdjustment">;
819
- brightness: z.ZodDefault<z.ZodNumber>;
820
- contrast: z.ZodDefault<z.ZodNumber>;
821
- saturation: z.ZodDefault<z.ZodNumber>;
822
- hue: z.ZodDefault<z.ZodNumber>;
823
- }, "strip", z.ZodTypeAny, {
824
- type: "colorAdjustment";
825
- intensity: number;
826
- hue: number;
827
- saturation: number;
828
- blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
829
- brightness: number;
830
- contrast: number;
831
- enabled?: boolean | undefined;
832
- }, {
833
- type: "colorAdjustment";
834
- enabled?: boolean | undefined;
835
- intensity?: number | undefined;
836
- hue?: number | undefined;
837
- saturation?: number | undefined;
838
- blendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | undefined;
839
- brightness?: number | undefined;
840
- contrast?: number | undefined;
841
- }>;
545
+ brightness: z.ZodPrefault<z.ZodNumber>;
546
+ contrast: z.ZodPrefault<z.ZodNumber>;
547
+ saturation: z.ZodPrefault<z.ZodNumber>;
548
+ hue: z.ZodPrefault<z.ZodNumber>;
549
+ }, z.core.$strip>;
842
550
  /**
843
551
  * Union of all effect types
844
552
  */
845
- export declare const EffectShape: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
846
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
847
- intensity: z.ZodDefault<z.ZodNumber>;
848
- blendMode: z.ZodDefault<z.ZodEnum<["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"]>>;
849
- } & {
553
+ export declare const EffectShape: z.ZodDiscriminatedUnion<[z.ZodObject<{
554
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
555
+ intensity: z.ZodPrefault<z.ZodNumber>;
556
+ blendMode: z.ZodPrefault<z.ZodEnum<{
557
+ color: "color";
558
+ normal: "normal";
559
+ multiply: "multiply";
560
+ screen: "screen";
561
+ overlay: "overlay";
562
+ darken: "darken";
563
+ lighten: "lighten";
564
+ "color-dodge": "color-dodge";
565
+ "color-burn": "color-burn";
566
+ "hard-light": "hard-light";
567
+ "soft-light": "soft-light";
568
+ difference: "difference";
569
+ exclusion: "exclusion";
570
+ hue: "hue";
571
+ saturation: "saturation";
572
+ luminosity: "luminosity";
573
+ }>>;
850
574
  type: z.ZodLiteral<"blur">;
851
- radius: z.ZodDefault<z.ZodNumber>;
852
- }, "strip", z.ZodTypeAny, {
853
- type: "blur";
854
- radius: number;
855
- intensity: number;
856
- blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
857
- enabled?: boolean | undefined;
858
- }, {
859
- type: "blur";
860
- enabled?: boolean | undefined;
861
- radius?: number | undefined;
862
- intensity?: number | undefined;
863
- blendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | undefined;
864
- }>, z.ZodObject<{
865
- enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
866
- intensity: z.ZodDefault<z.ZodNumber>;
867
- blendMode: z.ZodDefault<z.ZodEnum<["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"]>>;
868
- } & {
575
+ radius: z.ZodPrefault<z.ZodNumber>;
576
+ }, z.core.$strip>, z.ZodObject<{
577
+ enabled: z.ZodOptional<z.ZodPrefault<z.ZodBoolean>>;
578
+ intensity: z.ZodPrefault<z.ZodNumber>;
579
+ blendMode: z.ZodPrefault<z.ZodEnum<{
580
+ color: "color";
581
+ normal: "normal";
582
+ multiply: "multiply";
583
+ screen: "screen";
584
+ overlay: "overlay";
585
+ darken: "darken";
586
+ lighten: "lighten";
587
+ "color-dodge": "color-dodge";
588
+ "color-burn": "color-burn";
589
+ "hard-light": "hard-light";
590
+ "soft-light": "soft-light";
591
+ difference: "difference";
592
+ exclusion: "exclusion";
593
+ hue: "hue";
594
+ saturation: "saturation";
595
+ luminosity: "luminosity";
596
+ }>>;
869
597
  type: z.ZodLiteral<"colorAdjustment">;
870
- brightness: z.ZodDefault<z.ZodNumber>;
871
- contrast: z.ZodDefault<z.ZodNumber>;
872
- saturation: z.ZodDefault<z.ZodNumber>;
873
- hue: z.ZodDefault<z.ZodNumber>;
874
- }, "strip", z.ZodTypeAny, {
875
- type: "colorAdjustment";
876
- intensity: number;
877
- hue: number;
878
- saturation: number;
879
- blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
880
- brightness: number;
881
- contrast: number;
882
- enabled?: boolean | undefined;
883
- }, {
884
- type: "colorAdjustment";
885
- enabled?: boolean | undefined;
886
- intensity?: number | undefined;
887
- hue?: number | undefined;
888
- saturation?: number | undefined;
889
- blendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | undefined;
890
- brightness?: number | undefined;
891
- contrast?: number | undefined;
892
- }>]>;
598
+ brightness: z.ZodPrefault<z.ZodNumber>;
599
+ contrast: z.ZodPrefault<z.ZodNumber>;
600
+ saturation: z.ZodPrefault<z.ZodNumber>;
601
+ hue: z.ZodPrefault<z.ZodNumber>;
602
+ }, z.core.$strip>], "type">;
893
603
  export type Position = z.infer<typeof PositionShape>;
894
604
  export type Size = z.infer<typeof SizeShape>;
895
605
  export type Transform = z.infer<typeof TransformShape>;