@cntrl-site/components 0.0.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.
Files changed (155) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/dist/cli.d.ts +10 -0
  4. package/dist/components.css +1 -0
  5. package/dist/index.d.ts +33 -0
  6. package/dist/index.js +7765 -0
  7. package/dist/index.mjs +7748 -0
  8. package/dist/sdk/Client/Client.d.ts +32 -0
  9. package/dist/sdk/Client/Client.test.d.ts +1 -0
  10. package/dist/sdk/Client/__mock__/articleMock.d.ts +2 -0
  11. package/dist/sdk/Client/__mock__/keyframesMock.d.ts +2 -0
  12. package/dist/sdk/Client/__mock__/projectMock.d.ts +2 -0
  13. package/dist/sdk/Components/ControlSlider/ControlSlider.d.ts +90 -0
  14. package/dist/sdk/Components/ControlSlider/ControlSliderComponent.d.ts +519 -0
  15. package/dist/sdk/Components/ImageRevealSlider/ControlImageRevealSliderComponent.d.ts +209 -0
  16. package/dist/sdk/Components/ImageRevealSlider/ImageRevealSlider.d.ts +38 -0
  17. package/dist/sdk/Components/components.d.ts +2 -0
  18. package/dist/sdk/Components/helpers/RichTextRenderer/RichTextRenderer.d.ts +6 -0
  19. package/dist/sdk/Components/helpers/SvgImage/SvgImage.d.ts +9 -0
  20. package/dist/sdk/Components/utils/scalingValue.d.ts +1 -0
  21. package/dist/sdk/FontFaceGenerator/FontFaceGenerator.d.ts +6 -0
  22. package/dist/sdk/FontFaceGenerator/FontFaceGenerator.test.d.ts +1 -0
  23. package/dist/sdk/ScrollPlaybackVideoManager/ScrollPlaybackVideoManager.d.ts +31 -0
  24. package/dist/sdk/VideoDecoder/VideoDecoder.d.ts +12 -0
  25. package/dist/sdk/schemas/article/Article.schema.d.ts +328 -0
  26. package/dist/sdk/schemas/article/FillLayer.schema.d.ts +186 -0
  27. package/dist/sdk/schemas/article/Interaction.schema.d.ts +103 -0
  28. package/dist/sdk/schemas/article/Item.schema.d.ts +40 -0
  29. package/dist/sdk/schemas/article/ItemArea.schema.d.ts +36 -0
  30. package/dist/sdk/schemas/article/ItemBase.schema.d.ts +137 -0
  31. package/dist/sdk/schemas/article/ItemState.schema.d.ts +15723 -0
  32. package/dist/sdk/schemas/article/RichTextItem.schema.d.ts +1372 -0
  33. package/dist/sdk/schemas/article/Section.schema.d.ts +176 -0
  34. package/dist/sdk/schemas/keyframe/Keyframes.schema.d.ts +2000 -0
  35. package/dist/sdk/schemas/project/Layout.schema.d.ts +17 -0
  36. package/dist/sdk/schemas/project/Project.schema.d.ts +253 -0
  37. package/dist/sdk/schemas/shared/FillLayer.schema.d.ts +186 -0
  38. package/dist/sdk/types/article/Article.d.ts +7 -0
  39. package/dist/sdk/types/article/ArticleItemType.d.ts +13 -0
  40. package/dist/sdk/types/article/CompoundSettings.d.ts +6 -0
  41. package/dist/sdk/types/article/FX.d.ts +23 -0
  42. package/dist/sdk/types/article/Interaction.d.ts +28 -0
  43. package/dist/sdk/types/article/Item.d.ts +250 -0
  44. package/dist/sdk/types/article/ItemArea.d.ts +36 -0
  45. package/dist/sdk/types/article/ItemState.d.ts +78 -0
  46. package/dist/sdk/types/article/RichText.d.ts +40 -0
  47. package/dist/sdk/types/article/Section.d.ts +37 -0
  48. package/dist/sdk/types/component/Component.d.ts +15 -0
  49. package/dist/sdk/types/keyframe/Keyframe.d.ts +86 -0
  50. package/dist/sdk/types/project/Fonts.d.ts +22 -0
  51. package/dist/sdk/types/project/Layout.d.ts +6 -0
  52. package/dist/sdk/types/project/Meta.d.ts +9 -0
  53. package/dist/sdk/types/project/Page.d.ts +11 -0
  54. package/dist/sdk/types/project/Project.d.ts +17 -0
  55. package/dist/sdk-nextjs/common/useCurrentLayout.d.ts +6 -0
  56. package/dist/sdk-nextjs/common/useExemplary.d.ts +1 -0
  57. package/dist/sdk-nextjs/common/useItemFXData.d.ts +8 -0
  58. package/dist/sdk-nextjs/common/useKeyframeValue.d.ts +8 -0
  59. package/dist/sdk-nextjs/common/useRegisterResize.d.ts +1 -0
  60. package/dist/sdk-nextjs/components/Article.d.ts +9 -0
  61. package/dist/sdk-nextjs/components/ArticleWrapper.d.ts +2 -0
  62. package/dist/sdk-nextjs/components/Head.d.ts +9 -0
  63. package/dist/sdk-nextjs/components/LayoutStyle.d.ts +9 -0
  64. package/dist/sdk-nextjs/components/Page.d.ts +15 -0
  65. package/dist/sdk-nextjs/components/ScrollPlaybackVideo.d.ts +14 -0
  66. package/dist/sdk-nextjs/components/Section/Section.d.ts +11 -0
  67. package/dist/sdk-nextjs/components/Section/SectionImage.d.ts +14 -0
  68. package/dist/sdk-nextjs/components/Section/SectionVideo.d.ts +17 -0
  69. package/dist/sdk-nextjs/components/Section/useSectionColor.d.ts +4 -0
  70. package/dist/sdk-nextjs/components/Section/useSectionHeightMap.d.ts +3 -0
  71. package/dist/sdk-nextjs/components/items/CodeEmbedItem/CodeEmbedItem.d.ts +5 -0
  72. package/dist/sdk-nextjs/components/items/CodeEmbedItem/useCodeEmbedItem.d.ts +7 -0
  73. package/dist/sdk-nextjs/components/items/ComponentItem/ComponentItem.d.ts +4 -0
  74. package/dist/sdk-nextjs/components/items/ComponentItem/useComponentItem.d.ts +5 -0
  75. package/dist/sdk-nextjs/components/items/CompoundItem/CompoundChild.d.ts +9 -0
  76. package/dist/sdk-nextjs/components/items/CompoundItem/CompoundItem.d.ts +4 -0
  77. package/dist/sdk-nextjs/components/items/CompoundItem/useCompoundItem.d.ts +4 -0
  78. package/dist/sdk-nextjs/components/items/CustomItem/CustomItem.d.ts +4 -0
  79. package/dist/sdk-nextjs/components/items/EmbedVideoItem/VimeoEmbed.d.ts +4 -0
  80. package/dist/sdk-nextjs/components/items/EmbedVideoItem/YoutubeEmbed.d.ts +4 -0
  81. package/dist/sdk-nextjs/components/items/EmbedVideoItem/useEmbedVideoItem.d.ts +6 -0
  82. package/dist/sdk-nextjs/components/items/FileItem/ImageItem.d.ts +4 -0
  83. package/dist/sdk-nextjs/components/items/FileItem/VideoItem.d.ts +4 -0
  84. package/dist/sdk-nextjs/components/items/FileItem/useFileItem.d.ts +8 -0
  85. package/dist/sdk-nextjs/components/items/GroupItem/GroupItem.d.ts +4 -0
  86. package/dist/sdk-nextjs/components/items/GroupItem/useGroupItem.d.ts +5 -0
  87. package/dist/sdk-nextjs/components/items/Item.d.ts +20 -0
  88. package/dist/sdk-nextjs/components/items/LinkWrapper.d.ts +8 -0
  89. package/dist/sdk-nextjs/components/items/RectangleItem/RectangleItem.d.ts +4 -0
  90. package/dist/sdk-nextjs/components/items/RectangleItem/useRectangleItem.d.ts +9 -0
  91. package/dist/sdk-nextjs/components/items/RichTextItem/RichTextItem.d.ts +4 -0
  92. package/dist/sdk-nextjs/components/items/RichTextItem/useRichTextItem.d.ts +3 -0
  93. package/dist/sdk-nextjs/components/items/RichTextWrapper.d.ts +7 -0
  94. package/dist/sdk-nextjs/components/items/itemsMap.d.ts +4 -0
  95. package/dist/sdk-nextjs/components/items/useDraggable.d.ts +17 -0
  96. package/dist/sdk-nextjs/components/items/useItemAngle.d.ts +2 -0
  97. package/dist/sdk-nextjs/components/items/useItemArea.d.ts +12 -0
  98. package/dist/sdk-nextjs/components/items/useItemPointerEvents.d.ts +4 -0
  99. package/dist/sdk-nextjs/components/items/useItemScale.d.ts +2 -0
  100. package/dist/sdk-nextjs/components/items/useItemTriggers.d.ts +6 -0
  101. package/dist/sdk-nextjs/components/items/useRichTextItemValues.d.ts +9 -0
  102. package/dist/sdk-nextjs/components/items/useSizing.d.ts +8 -0
  103. package/dist/sdk-nextjs/components/items/useStickyItemTop.d.ts +2 -0
  104. package/dist/sdk-nextjs/components/useLayoutContext.d.ts +1 -0
  105. package/dist/sdk-nextjs/interactions/CSSPropertyNameMap.d.ts +4 -0
  106. package/dist/sdk-nextjs/interactions/InteractionsRegistry.d.ts +39 -0
  107. package/dist/sdk-nextjs/interactions/ItemInteractionCtrl.d.ts +21 -0
  108. package/dist/sdk-nextjs/interactions/getTransition.d.ts +9 -0
  109. package/dist/sdk-nextjs/interactions/types.d.ts +34 -0
  110. package/dist/sdk-nextjs/interactions/useItemInteractionCtrl.d.ts +2 -0
  111. package/dist/sdk-nextjs/provider/ArticleRectContext.d.ts +2 -0
  112. package/dist/sdk-nextjs/provider/CntrlContext.d.ts +2 -0
  113. package/dist/sdk-nextjs/provider/CntrlProvider.d.ts +2 -0
  114. package/dist/sdk-nextjs/provider/CntrlSdkContext.d.ts +31 -0
  115. package/dist/sdk-nextjs/provider/CustomItemRegistry.d.ts +6 -0
  116. package/dist/sdk-nextjs/provider/CustomItemTypes.d.ts +2 -0
  117. package/dist/sdk-nextjs/provider/CustomSectionRegistry.d.ts +15 -0
  118. package/dist/sdk-nextjs/provider/InteractionsContext.d.ts +10 -0
  119. package/dist/sdk-nextjs/provider/Keyframes.d.ts +6 -0
  120. package/dist/sdk-nextjs/provider/KeyframesContext.d.ts +2 -0
  121. package/dist/sdk-nextjs/provider/LayoutContext.d.ts +1 -0
  122. package/dist/sdk-nextjs/provider/WebGLContextManagerContext.d.ts +2 -0
  123. package/dist/sdk-nextjs/provider/defaultContext.d.ts +2 -0
  124. package/dist/sdk-nextjs/provider/useCntrlContext.d.ts +2 -0
  125. package/dist/sdk-nextjs/utils/Animator/Animator.d.ts +43 -0
  126. package/dist/sdk-nextjs/utils/ArticleRectManager/ArticleRectObserver.d.ts +25 -0
  127. package/dist/sdk-nextjs/utils/ArticleRectManager/useArticleRectObserver.d.ts +2 -0
  128. package/dist/sdk-nextjs/utils/ArticleRectManager/useSectionRegistry.d.ts +1 -0
  129. package/dist/sdk-nextjs/utils/EventEmitter.d.ts +11 -0
  130. package/dist/sdk-nextjs/utils/RichTextConverter/RichTextConverter.d.ts +11 -0
  131. package/dist/sdk-nextjs/utils/ScaleAnchorMap.d.ts +11 -0
  132. package/dist/sdk-nextjs/utils/StickyManager/StickyManager.d.ts +10 -0
  133. package/dist/sdk-nextjs/utils/Youtube/YouTubeIframeApiLoader.d.ts +10 -0
  134. package/dist/sdk-nextjs/utils/Youtube/YoutubeIframeApi.d.ts +89 -0
  135. package/dist/sdk-nextjs/utils/Youtube/useYouTubeIframeApi.d.ts +2 -0
  136. package/dist/sdk-nextjs/utils/areFillsVisible/areFillsVisible.d.ts +23 -0
  137. package/dist/sdk-nextjs/utils/areFillsVisible/areFillsVisible.test.d.ts +1 -0
  138. package/dist/sdk-nextjs/utils/binSearchInsertAt.d.ts +5 -0
  139. package/dist/sdk-nextjs/utils/castObject.d.ts +5 -0
  140. package/dist/sdk-nextjs/utils/checkOverflowClipSupport.d.ts +1 -0
  141. package/dist/sdk-nextjs/utils/effects/useImageFx.d.ts +7 -0
  142. package/dist/sdk-nextjs/utils/effects/useVideoFx.d.ts +7 -0
  143. package/dist/sdk-nextjs/utils/getAnchoredItemTop.d.ts +2 -0
  144. package/dist/sdk-nextjs/utils/getCompoundBoundaryStyles.d.ts +12 -0
  145. package/dist/sdk-nextjs/utils/getFill.d.ts +2 -0
  146. package/dist/sdk-nextjs/utils/getFontFamilyValue.d.ts +1 -0
  147. package/dist/sdk-nextjs/utils/getInvertedRanges.d.ts +10 -0
  148. package/dist/sdk-nextjs/utils/getItemTopStyle.d.ts +2 -0
  149. package/dist/sdk-nextjs/utils/getStyleFromItemStateAndParams.d.ts +1 -0
  150. package/dist/sdk-nextjs/utils/getValidYoutubeUrl.d.ts +1 -0
  151. package/dist/sdk-nextjs/utils/isItemType.d.ts +3 -0
  152. package/dist/sdk-nextjs/utils/rangeMap.d.ts +1 -0
  153. package/dist/sdk-nextjs/utils/useElementRect.d.ts +1 -0
  154. package/dist/utils.d.ts +3 -0
  155. package/package.json +92 -0
@@ -0,0 +1,2000 @@
1
+ import { KeyframeType } from '../../types/keyframe/Keyframe';
2
+ import { z } from 'zod';
3
+ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4
+ id: z.ZodString;
5
+ layoutId: z.ZodString;
6
+ itemId: z.ZodString;
7
+ position: z.ZodNumber;
8
+ } & {
9
+ type: z.ZodLiteral<KeyframeType.Dimensions>;
10
+ value: z.ZodObject<{
11
+ width: z.ZodNumber;
12
+ height: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ width: number;
15
+ height: number;
16
+ }, {
17
+ width: number;
18
+ height: number;
19
+ }>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ position: number;
22
+ id: string;
23
+ value: {
24
+ width: number;
25
+ height: number;
26
+ };
27
+ type: KeyframeType.Dimensions;
28
+ itemId: string;
29
+ layoutId: string;
30
+ }, {
31
+ position: number;
32
+ id: string;
33
+ value: {
34
+ width: number;
35
+ height: number;
36
+ };
37
+ type: KeyframeType.Dimensions;
38
+ itemId: string;
39
+ layoutId: string;
40
+ }>, z.ZodObject<{
41
+ id: z.ZodString;
42
+ layoutId: z.ZodString;
43
+ itemId: z.ZodString;
44
+ position: z.ZodNumber;
45
+ } & {
46
+ type: z.ZodLiteral<KeyframeType.Position>;
47
+ value: z.ZodObject<{
48
+ top: z.ZodNumber;
49
+ left: z.ZodNumber;
50
+ }, "strip", z.ZodTypeAny, {
51
+ left: number;
52
+ top: number;
53
+ }, {
54
+ left: number;
55
+ top: number;
56
+ }>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ position: number;
59
+ id: string;
60
+ value: {
61
+ left: number;
62
+ top: number;
63
+ };
64
+ type: KeyframeType.Position;
65
+ itemId: string;
66
+ layoutId: string;
67
+ }, {
68
+ position: number;
69
+ id: string;
70
+ value: {
71
+ left: number;
72
+ top: number;
73
+ };
74
+ type: KeyframeType.Position;
75
+ itemId: string;
76
+ layoutId: string;
77
+ }>, z.ZodObject<{
78
+ id: z.ZodString;
79
+ layoutId: z.ZodString;
80
+ itemId: z.ZodString;
81
+ position: z.ZodNumber;
82
+ } & {
83
+ type: z.ZodLiteral<KeyframeType.Rotation>;
84
+ value: z.ZodObject<{
85
+ angle: z.ZodNumber;
86
+ }, "strip", z.ZodTypeAny, {
87
+ angle: number;
88
+ }, {
89
+ angle: number;
90
+ }>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ position: number;
93
+ id: string;
94
+ value: {
95
+ angle: number;
96
+ };
97
+ type: KeyframeType.Rotation;
98
+ itemId: string;
99
+ layoutId: string;
100
+ }, {
101
+ position: number;
102
+ id: string;
103
+ value: {
104
+ angle: number;
105
+ };
106
+ type: KeyframeType.Rotation;
107
+ itemId: string;
108
+ layoutId: string;
109
+ }>, z.ZodObject<{
110
+ id: z.ZodString;
111
+ layoutId: z.ZodString;
112
+ itemId: z.ZodString;
113
+ position: z.ZodNumber;
114
+ } & {
115
+ type: z.ZodLiteral<KeyframeType.BorderRadius>;
116
+ value: z.ZodObject<{
117
+ radius: z.ZodNumber;
118
+ }, "strip", z.ZodTypeAny, {
119
+ radius: number;
120
+ }, {
121
+ radius: number;
122
+ }>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ position: number;
125
+ id: string;
126
+ value: {
127
+ radius: number;
128
+ };
129
+ type: KeyframeType.BorderRadius;
130
+ itemId: string;
131
+ layoutId: string;
132
+ }, {
133
+ position: number;
134
+ id: string;
135
+ value: {
136
+ radius: number;
137
+ };
138
+ type: KeyframeType.BorderRadius;
139
+ itemId: string;
140
+ layoutId: string;
141
+ }>, z.ZodObject<{
142
+ id: z.ZodString;
143
+ layoutId: z.ZodString;
144
+ itemId: z.ZodString;
145
+ position: z.ZodNumber;
146
+ } & {
147
+ type: z.ZodLiteral<KeyframeType.BorderWidth>;
148
+ value: z.ZodObject<{
149
+ borderWidth: z.ZodNumber;
150
+ }, "strip", z.ZodTypeAny, {
151
+ borderWidth: number;
152
+ }, {
153
+ borderWidth: number;
154
+ }>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ position: number;
157
+ id: string;
158
+ value: {
159
+ borderWidth: number;
160
+ };
161
+ type: KeyframeType.BorderWidth;
162
+ itemId: string;
163
+ layoutId: string;
164
+ }, {
165
+ position: number;
166
+ id: string;
167
+ value: {
168
+ borderWidth: number;
169
+ };
170
+ type: KeyframeType.BorderWidth;
171
+ itemId: string;
172
+ layoutId: string;
173
+ }>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ layoutId: z.ZodString;
176
+ itemId: z.ZodString;
177
+ position: z.ZodNumber;
178
+ } & {
179
+ type: z.ZodLiteral<KeyframeType.BorderFill>;
180
+ value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
181
+ id: z.ZodString;
182
+ type: z.ZodLiteral<"solid">;
183
+ value: z.ZodString;
184
+ blendMode: z.ZodString;
185
+ }, "strip", z.ZodTypeAny, {
186
+ id: string;
187
+ value: string;
188
+ type: "solid";
189
+ blendMode: string;
190
+ }, {
191
+ id: string;
192
+ value: string;
193
+ type: "solid";
194
+ blendMode: string;
195
+ }>, z.ZodObject<{
196
+ id: z.ZodString;
197
+ type: z.ZodLiteral<"linear-gradient">;
198
+ colors: z.ZodArray<z.ZodObject<{
199
+ id: z.ZodString;
200
+ value: z.ZodString;
201
+ position: z.ZodNumber;
202
+ }, "strip", z.ZodTypeAny, {
203
+ position: number;
204
+ id: string;
205
+ value: string;
206
+ }, {
207
+ position: number;
208
+ id: string;
209
+ value: string;
210
+ }>, "many">;
211
+ start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
212
+ end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
213
+ angle: z.ZodNumber;
214
+ blendMode: z.ZodString;
215
+ }, "strip", z.ZodTypeAny, {
216
+ id: string;
217
+ type: "linear-gradient";
218
+ blendMode: string;
219
+ colors: {
220
+ position: number;
221
+ id: string;
222
+ value: string;
223
+ }[];
224
+ start: [number, number];
225
+ end: [number, number];
226
+ angle: number;
227
+ }, {
228
+ id: string;
229
+ type: "linear-gradient";
230
+ blendMode: string;
231
+ colors: {
232
+ position: number;
233
+ id: string;
234
+ value: string;
235
+ }[];
236
+ start: [number, number];
237
+ end: [number, number];
238
+ angle: number;
239
+ }>, z.ZodObject<{
240
+ id: z.ZodString;
241
+ type: z.ZodLiteral<"radial-gradient">;
242
+ colors: z.ZodArray<z.ZodObject<{
243
+ id: z.ZodString;
244
+ value: z.ZodString;
245
+ position: z.ZodNumber;
246
+ }, "strip", z.ZodTypeAny, {
247
+ position: number;
248
+ id: string;
249
+ value: string;
250
+ }, {
251
+ position: number;
252
+ id: string;
253
+ value: string;
254
+ }>, "many">;
255
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
256
+ diameter: z.ZodNumber;
257
+ angle: z.ZodNumber;
258
+ blendMode: z.ZodString;
259
+ }, "strip", z.ZodTypeAny, {
260
+ center: [number, number];
261
+ id: string;
262
+ type: "radial-gradient";
263
+ blendMode: string;
264
+ colors: {
265
+ position: number;
266
+ id: string;
267
+ value: string;
268
+ }[];
269
+ angle: number;
270
+ diameter: number;
271
+ }, {
272
+ center: [number, number];
273
+ id: string;
274
+ type: "radial-gradient";
275
+ blendMode: string;
276
+ colors: {
277
+ position: number;
278
+ id: string;
279
+ value: string;
280
+ }[];
281
+ angle: number;
282
+ diameter: number;
283
+ }>, z.ZodObject<{
284
+ id: z.ZodString;
285
+ type: z.ZodLiteral<"conic-gradient">;
286
+ colors: z.ZodArray<z.ZodObject<{
287
+ id: z.ZodString;
288
+ value: z.ZodString;
289
+ position: z.ZodNumber;
290
+ }, "strip", z.ZodTypeAny, {
291
+ position: number;
292
+ id: string;
293
+ value: string;
294
+ }, {
295
+ position: number;
296
+ id: string;
297
+ value: string;
298
+ }>, "many">;
299
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
300
+ angle: z.ZodNumber;
301
+ blendMode: z.ZodString;
302
+ }, "strip", z.ZodTypeAny, {
303
+ center: [number, number];
304
+ id: string;
305
+ type: "conic-gradient";
306
+ blendMode: string;
307
+ colors: {
308
+ position: number;
309
+ id: string;
310
+ value: string;
311
+ }[];
312
+ angle: number;
313
+ }, {
314
+ center: [number, number];
315
+ id: string;
316
+ type: "conic-gradient";
317
+ blendMode: string;
318
+ colors: {
319
+ position: number;
320
+ id: string;
321
+ value: string;
322
+ }[];
323
+ angle: number;
324
+ }>, z.ZodObject<{
325
+ id: z.ZodString;
326
+ type: z.ZodLiteral<"image">;
327
+ src: z.ZodString;
328
+ behavior: z.ZodString;
329
+ backgroundSize: z.ZodNumber;
330
+ opacity: z.ZodNumber;
331
+ blendMode: z.ZodString;
332
+ rotation: z.ZodOptional<z.ZodNumber>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ opacity: number;
335
+ id: string;
336
+ type: "image";
337
+ blendMode: string;
338
+ src: string;
339
+ behavior: string;
340
+ backgroundSize: number;
341
+ rotation?: number | undefined;
342
+ }, {
343
+ opacity: number;
344
+ id: string;
345
+ type: "image";
346
+ blendMode: string;
347
+ src: string;
348
+ behavior: string;
349
+ backgroundSize: number;
350
+ rotation?: number | undefined;
351
+ }>]>, "many">;
352
+ }, "strip", z.ZodTypeAny, {
353
+ position: number;
354
+ id: string;
355
+ value: ({
356
+ id: string;
357
+ value: string;
358
+ type: "solid";
359
+ blendMode: string;
360
+ } | {
361
+ id: string;
362
+ type: "linear-gradient";
363
+ blendMode: string;
364
+ colors: {
365
+ position: number;
366
+ id: string;
367
+ value: string;
368
+ }[];
369
+ start: [number, number];
370
+ end: [number, number];
371
+ angle: number;
372
+ } | {
373
+ center: [number, number];
374
+ id: string;
375
+ type: "radial-gradient";
376
+ blendMode: string;
377
+ colors: {
378
+ position: number;
379
+ id: string;
380
+ value: string;
381
+ }[];
382
+ angle: number;
383
+ diameter: number;
384
+ } | {
385
+ center: [number, number];
386
+ id: string;
387
+ type: "conic-gradient";
388
+ blendMode: string;
389
+ colors: {
390
+ position: number;
391
+ id: string;
392
+ value: string;
393
+ }[];
394
+ angle: number;
395
+ } | {
396
+ opacity: number;
397
+ id: string;
398
+ type: "image";
399
+ blendMode: string;
400
+ src: string;
401
+ behavior: string;
402
+ backgroundSize: number;
403
+ rotation?: number | undefined;
404
+ })[];
405
+ type: KeyframeType.BorderFill;
406
+ itemId: string;
407
+ layoutId: string;
408
+ }, {
409
+ position: number;
410
+ id: string;
411
+ value: ({
412
+ id: string;
413
+ value: string;
414
+ type: "solid";
415
+ blendMode: string;
416
+ } | {
417
+ id: string;
418
+ type: "linear-gradient";
419
+ blendMode: string;
420
+ colors: {
421
+ position: number;
422
+ id: string;
423
+ value: string;
424
+ }[];
425
+ start: [number, number];
426
+ end: [number, number];
427
+ angle: number;
428
+ } | {
429
+ center: [number, number];
430
+ id: string;
431
+ type: "radial-gradient";
432
+ blendMode: string;
433
+ colors: {
434
+ position: number;
435
+ id: string;
436
+ value: string;
437
+ }[];
438
+ angle: number;
439
+ diameter: number;
440
+ } | {
441
+ center: [number, number];
442
+ id: string;
443
+ type: "conic-gradient";
444
+ blendMode: string;
445
+ colors: {
446
+ position: number;
447
+ id: string;
448
+ value: string;
449
+ }[];
450
+ angle: number;
451
+ } | {
452
+ opacity: number;
453
+ id: string;
454
+ type: "image";
455
+ blendMode: string;
456
+ src: string;
457
+ behavior: string;
458
+ backgroundSize: number;
459
+ rotation?: number | undefined;
460
+ })[];
461
+ type: KeyframeType.BorderFill;
462
+ itemId: string;
463
+ layoutId: string;
464
+ }>, z.ZodObject<{
465
+ id: z.ZodString;
466
+ layoutId: z.ZodString;
467
+ itemId: z.ZodString;
468
+ position: z.ZodNumber;
469
+ } & {
470
+ type: z.ZodLiteral<KeyframeType.Opacity>;
471
+ value: z.ZodObject<{
472
+ opacity: z.ZodNumber;
473
+ }, "strip", z.ZodTypeAny, {
474
+ opacity: number;
475
+ }, {
476
+ opacity: number;
477
+ }>;
478
+ }, "strip", z.ZodTypeAny, {
479
+ position: number;
480
+ id: string;
481
+ value: {
482
+ opacity: number;
483
+ };
484
+ type: KeyframeType.Opacity;
485
+ itemId: string;
486
+ layoutId: string;
487
+ }, {
488
+ position: number;
489
+ id: string;
490
+ value: {
491
+ opacity: number;
492
+ };
493
+ type: KeyframeType.Opacity;
494
+ itemId: string;
495
+ layoutId: string;
496
+ }>, z.ZodObject<{
497
+ id: z.ZodString;
498
+ layoutId: z.ZodString;
499
+ itemId: z.ZodString;
500
+ position: z.ZodNumber;
501
+ } & {
502
+ type: z.ZodLiteral<KeyframeType.Scale>;
503
+ value: z.ZodObject<{
504
+ scale: z.ZodNumber;
505
+ }, "strip", z.ZodTypeAny, {
506
+ scale: number;
507
+ }, {
508
+ scale: number;
509
+ }>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ position: number;
512
+ id: string;
513
+ value: {
514
+ scale: number;
515
+ };
516
+ type: KeyframeType.Scale;
517
+ itemId: string;
518
+ layoutId: string;
519
+ }, {
520
+ position: number;
521
+ id: string;
522
+ value: {
523
+ scale: number;
524
+ };
525
+ type: KeyframeType.Scale;
526
+ itemId: string;
527
+ layoutId: string;
528
+ }>, z.ZodObject<{
529
+ id: z.ZodString;
530
+ layoutId: z.ZodString;
531
+ itemId: z.ZodString;
532
+ position: z.ZodNumber;
533
+ } & {
534
+ type: z.ZodLiteral<KeyframeType.Blur>;
535
+ value: z.ZodObject<{
536
+ blur: z.ZodNumber;
537
+ }, "strip", z.ZodTypeAny, {
538
+ blur: number;
539
+ }, {
540
+ blur: number;
541
+ }>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ position: number;
544
+ id: string;
545
+ value: {
546
+ blur: number;
547
+ };
548
+ type: KeyframeType.Blur;
549
+ itemId: string;
550
+ layoutId: string;
551
+ }, {
552
+ position: number;
553
+ id: string;
554
+ value: {
555
+ blur: number;
556
+ };
557
+ type: KeyframeType.Blur;
558
+ itemId: string;
559
+ layoutId: string;
560
+ }>, z.ZodObject<{
561
+ id: z.ZodString;
562
+ layoutId: z.ZodString;
563
+ itemId: z.ZodString;
564
+ position: z.ZodNumber;
565
+ } & {
566
+ type: z.ZodLiteral<KeyframeType.BackdropBlur>;
567
+ value: z.ZodObject<{
568
+ backdropBlur: z.ZodNumber;
569
+ }, "strip", z.ZodTypeAny, {
570
+ backdropBlur: number;
571
+ }, {
572
+ backdropBlur: number;
573
+ }>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ position: number;
576
+ id: string;
577
+ value: {
578
+ backdropBlur: number;
579
+ };
580
+ type: KeyframeType.BackdropBlur;
581
+ itemId: string;
582
+ layoutId: string;
583
+ }, {
584
+ position: number;
585
+ id: string;
586
+ value: {
587
+ backdropBlur: number;
588
+ };
589
+ type: KeyframeType.BackdropBlur;
590
+ itemId: string;
591
+ layoutId: string;
592
+ }>, z.ZodObject<{
593
+ id: z.ZodString;
594
+ layoutId: z.ZodString;
595
+ itemId: z.ZodString;
596
+ position: z.ZodNumber;
597
+ } & {
598
+ type: z.ZodLiteral<KeyframeType.TextColor>;
599
+ value: z.ZodObject<{
600
+ color: z.ZodString;
601
+ }, "strip", z.ZodTypeAny, {
602
+ color: string;
603
+ }, {
604
+ color: string;
605
+ }>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ position: number;
608
+ id: string;
609
+ value: {
610
+ color: string;
611
+ };
612
+ type: KeyframeType.TextColor;
613
+ itemId: string;
614
+ layoutId: string;
615
+ }, {
616
+ position: number;
617
+ id: string;
618
+ value: {
619
+ color: string;
620
+ };
621
+ type: KeyframeType.TextColor;
622
+ itemId: string;
623
+ layoutId: string;
624
+ }>, z.ZodObject<{
625
+ id: z.ZodString;
626
+ layoutId: z.ZodString;
627
+ itemId: z.ZodString;
628
+ position: z.ZodNumber;
629
+ } & {
630
+ type: z.ZodLiteral<KeyframeType.LetterSpacing>;
631
+ value: z.ZodObject<{
632
+ letterSpacing: z.ZodNumber;
633
+ }, "strip", z.ZodTypeAny, {
634
+ letterSpacing: number;
635
+ }, {
636
+ letterSpacing: number;
637
+ }>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ position: number;
640
+ id: string;
641
+ value: {
642
+ letterSpacing: number;
643
+ };
644
+ type: KeyframeType.LetterSpacing;
645
+ itemId: string;
646
+ layoutId: string;
647
+ }, {
648
+ position: number;
649
+ id: string;
650
+ value: {
651
+ letterSpacing: number;
652
+ };
653
+ type: KeyframeType.LetterSpacing;
654
+ itemId: string;
655
+ layoutId: string;
656
+ }>, z.ZodObject<{
657
+ id: z.ZodString;
658
+ layoutId: z.ZodString;
659
+ itemId: z.ZodString;
660
+ position: z.ZodNumber;
661
+ } & {
662
+ type: z.ZodLiteral<KeyframeType.WordSpacing>;
663
+ value: z.ZodObject<{
664
+ wordSpacing: z.ZodNumber;
665
+ }, "strip", z.ZodTypeAny, {
666
+ wordSpacing: number;
667
+ }, {
668
+ wordSpacing: number;
669
+ }>;
670
+ }, "strip", z.ZodTypeAny, {
671
+ position: number;
672
+ id: string;
673
+ value: {
674
+ wordSpacing: number;
675
+ };
676
+ type: KeyframeType.WordSpacing;
677
+ itemId: string;
678
+ layoutId: string;
679
+ }, {
680
+ position: number;
681
+ id: string;
682
+ value: {
683
+ wordSpacing: number;
684
+ };
685
+ type: KeyframeType.WordSpacing;
686
+ itemId: string;
687
+ layoutId: string;
688
+ }>, z.ZodObject<{
689
+ id: z.ZodString;
690
+ layoutId: z.ZodString;
691
+ itemId: z.ZodString;
692
+ position: z.ZodNumber;
693
+ } & {
694
+ type: z.ZodLiteral<KeyframeType.FXParams>;
695
+ value: z.ZodRecord<z.ZodString, z.ZodNumber>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ position: number;
698
+ id: string;
699
+ value: Record<string, number>;
700
+ type: KeyframeType.FXParams;
701
+ itemId: string;
702
+ layoutId: string;
703
+ }, {
704
+ position: number;
705
+ id: string;
706
+ value: Record<string, number>;
707
+ type: KeyframeType.FXParams;
708
+ itemId: string;
709
+ layoutId: string;
710
+ }>, z.ZodObject<{
711
+ id: z.ZodString;
712
+ layoutId: z.ZodString;
713
+ itemId: z.ZodString;
714
+ position: z.ZodNumber;
715
+ } & {
716
+ type: z.ZodLiteral<KeyframeType.Fill>;
717
+ value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
718
+ id: z.ZodString;
719
+ type: z.ZodLiteral<"solid">;
720
+ value: z.ZodString;
721
+ blendMode: z.ZodString;
722
+ }, "strip", z.ZodTypeAny, {
723
+ id: string;
724
+ value: string;
725
+ type: "solid";
726
+ blendMode: string;
727
+ }, {
728
+ id: string;
729
+ value: string;
730
+ type: "solid";
731
+ blendMode: string;
732
+ }>, z.ZodObject<{
733
+ id: z.ZodString;
734
+ type: z.ZodLiteral<"linear-gradient">;
735
+ colors: z.ZodArray<z.ZodObject<{
736
+ id: z.ZodString;
737
+ value: z.ZodString;
738
+ position: z.ZodNumber;
739
+ }, "strip", z.ZodTypeAny, {
740
+ position: number;
741
+ id: string;
742
+ value: string;
743
+ }, {
744
+ position: number;
745
+ id: string;
746
+ value: string;
747
+ }>, "many">;
748
+ start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
749
+ end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
750
+ angle: z.ZodNumber;
751
+ blendMode: z.ZodString;
752
+ }, "strip", z.ZodTypeAny, {
753
+ id: string;
754
+ type: "linear-gradient";
755
+ blendMode: string;
756
+ colors: {
757
+ position: number;
758
+ id: string;
759
+ value: string;
760
+ }[];
761
+ start: [number, number];
762
+ end: [number, number];
763
+ angle: number;
764
+ }, {
765
+ id: string;
766
+ type: "linear-gradient";
767
+ blendMode: string;
768
+ colors: {
769
+ position: number;
770
+ id: string;
771
+ value: string;
772
+ }[];
773
+ start: [number, number];
774
+ end: [number, number];
775
+ angle: number;
776
+ }>, z.ZodObject<{
777
+ id: z.ZodString;
778
+ type: z.ZodLiteral<"radial-gradient">;
779
+ colors: z.ZodArray<z.ZodObject<{
780
+ id: z.ZodString;
781
+ value: z.ZodString;
782
+ position: z.ZodNumber;
783
+ }, "strip", z.ZodTypeAny, {
784
+ position: number;
785
+ id: string;
786
+ value: string;
787
+ }, {
788
+ position: number;
789
+ id: string;
790
+ value: string;
791
+ }>, "many">;
792
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
793
+ diameter: z.ZodNumber;
794
+ angle: z.ZodNumber;
795
+ blendMode: z.ZodString;
796
+ }, "strip", z.ZodTypeAny, {
797
+ center: [number, number];
798
+ id: string;
799
+ type: "radial-gradient";
800
+ blendMode: string;
801
+ colors: {
802
+ position: number;
803
+ id: string;
804
+ value: string;
805
+ }[];
806
+ angle: number;
807
+ diameter: number;
808
+ }, {
809
+ center: [number, number];
810
+ id: string;
811
+ type: "radial-gradient";
812
+ blendMode: string;
813
+ colors: {
814
+ position: number;
815
+ id: string;
816
+ value: string;
817
+ }[];
818
+ angle: number;
819
+ diameter: number;
820
+ }>, z.ZodObject<{
821
+ id: z.ZodString;
822
+ type: z.ZodLiteral<"conic-gradient">;
823
+ colors: z.ZodArray<z.ZodObject<{
824
+ id: z.ZodString;
825
+ value: z.ZodString;
826
+ position: z.ZodNumber;
827
+ }, "strip", z.ZodTypeAny, {
828
+ position: number;
829
+ id: string;
830
+ value: string;
831
+ }, {
832
+ position: number;
833
+ id: string;
834
+ value: string;
835
+ }>, "many">;
836
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
837
+ angle: z.ZodNumber;
838
+ blendMode: z.ZodString;
839
+ }, "strip", z.ZodTypeAny, {
840
+ center: [number, number];
841
+ id: string;
842
+ type: "conic-gradient";
843
+ blendMode: string;
844
+ colors: {
845
+ position: number;
846
+ id: string;
847
+ value: string;
848
+ }[];
849
+ angle: number;
850
+ }, {
851
+ center: [number, number];
852
+ id: string;
853
+ type: "conic-gradient";
854
+ blendMode: string;
855
+ colors: {
856
+ position: number;
857
+ id: string;
858
+ value: string;
859
+ }[];
860
+ angle: number;
861
+ }>, z.ZodObject<{
862
+ id: z.ZodString;
863
+ type: z.ZodLiteral<"image">;
864
+ src: z.ZodString;
865
+ behavior: z.ZodString;
866
+ backgroundSize: z.ZodNumber;
867
+ opacity: z.ZodNumber;
868
+ blendMode: z.ZodString;
869
+ rotation: z.ZodOptional<z.ZodNumber>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ opacity: number;
872
+ id: string;
873
+ type: "image";
874
+ blendMode: string;
875
+ src: string;
876
+ behavior: string;
877
+ backgroundSize: number;
878
+ rotation?: number | undefined;
879
+ }, {
880
+ opacity: number;
881
+ id: string;
882
+ type: "image";
883
+ blendMode: string;
884
+ src: string;
885
+ behavior: string;
886
+ backgroundSize: number;
887
+ rotation?: number | undefined;
888
+ }>]>, "many">;
889
+ }, "strip", z.ZodTypeAny, {
890
+ position: number;
891
+ id: string;
892
+ value: ({
893
+ id: string;
894
+ value: string;
895
+ type: "solid";
896
+ blendMode: string;
897
+ } | {
898
+ id: string;
899
+ type: "linear-gradient";
900
+ blendMode: string;
901
+ colors: {
902
+ position: number;
903
+ id: string;
904
+ value: string;
905
+ }[];
906
+ start: [number, number];
907
+ end: [number, number];
908
+ angle: number;
909
+ } | {
910
+ center: [number, number];
911
+ id: string;
912
+ type: "radial-gradient";
913
+ blendMode: string;
914
+ colors: {
915
+ position: number;
916
+ id: string;
917
+ value: string;
918
+ }[];
919
+ angle: number;
920
+ diameter: number;
921
+ } | {
922
+ center: [number, number];
923
+ id: string;
924
+ type: "conic-gradient";
925
+ blendMode: string;
926
+ colors: {
927
+ position: number;
928
+ id: string;
929
+ value: string;
930
+ }[];
931
+ angle: number;
932
+ } | {
933
+ opacity: number;
934
+ id: string;
935
+ type: "image";
936
+ blendMode: string;
937
+ src: string;
938
+ behavior: string;
939
+ backgroundSize: number;
940
+ rotation?: number | undefined;
941
+ })[];
942
+ type: KeyframeType.Fill;
943
+ itemId: string;
944
+ layoutId: string;
945
+ }, {
946
+ position: number;
947
+ id: string;
948
+ value: ({
949
+ id: string;
950
+ value: string;
951
+ type: "solid";
952
+ blendMode: string;
953
+ } | {
954
+ id: string;
955
+ type: "linear-gradient";
956
+ blendMode: string;
957
+ colors: {
958
+ position: number;
959
+ id: string;
960
+ value: string;
961
+ }[];
962
+ start: [number, number];
963
+ end: [number, number];
964
+ angle: number;
965
+ } | {
966
+ center: [number, number];
967
+ id: string;
968
+ type: "radial-gradient";
969
+ blendMode: string;
970
+ colors: {
971
+ position: number;
972
+ id: string;
973
+ value: string;
974
+ }[];
975
+ angle: number;
976
+ diameter: number;
977
+ } | {
978
+ center: [number, number];
979
+ id: string;
980
+ type: "conic-gradient";
981
+ blendMode: string;
982
+ colors: {
983
+ position: number;
984
+ id: string;
985
+ value: string;
986
+ }[];
987
+ angle: number;
988
+ } | {
989
+ opacity: number;
990
+ id: string;
991
+ type: "image";
992
+ blendMode: string;
993
+ src: string;
994
+ behavior: string;
995
+ backgroundSize: number;
996
+ rotation?: number | undefined;
997
+ })[];
998
+ type: KeyframeType.Fill;
999
+ itemId: string;
1000
+ layoutId: string;
1001
+ }>]>;
1002
+ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1003
+ id: z.ZodString;
1004
+ layoutId: z.ZodString;
1005
+ itemId: z.ZodString;
1006
+ position: z.ZodNumber;
1007
+ } & {
1008
+ type: z.ZodLiteral<KeyframeType.Dimensions>;
1009
+ value: z.ZodObject<{
1010
+ width: z.ZodNumber;
1011
+ height: z.ZodNumber;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ width: number;
1014
+ height: number;
1015
+ }, {
1016
+ width: number;
1017
+ height: number;
1018
+ }>;
1019
+ }, "strip", z.ZodTypeAny, {
1020
+ position: number;
1021
+ id: string;
1022
+ value: {
1023
+ width: number;
1024
+ height: number;
1025
+ };
1026
+ type: KeyframeType.Dimensions;
1027
+ itemId: string;
1028
+ layoutId: string;
1029
+ }, {
1030
+ position: number;
1031
+ id: string;
1032
+ value: {
1033
+ width: number;
1034
+ height: number;
1035
+ };
1036
+ type: KeyframeType.Dimensions;
1037
+ itemId: string;
1038
+ layoutId: string;
1039
+ }>, z.ZodObject<{
1040
+ id: z.ZodString;
1041
+ layoutId: z.ZodString;
1042
+ itemId: z.ZodString;
1043
+ position: z.ZodNumber;
1044
+ } & {
1045
+ type: z.ZodLiteral<KeyframeType.Position>;
1046
+ value: z.ZodObject<{
1047
+ top: z.ZodNumber;
1048
+ left: z.ZodNumber;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ left: number;
1051
+ top: number;
1052
+ }, {
1053
+ left: number;
1054
+ top: number;
1055
+ }>;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ position: number;
1058
+ id: string;
1059
+ value: {
1060
+ left: number;
1061
+ top: number;
1062
+ };
1063
+ type: KeyframeType.Position;
1064
+ itemId: string;
1065
+ layoutId: string;
1066
+ }, {
1067
+ position: number;
1068
+ id: string;
1069
+ value: {
1070
+ left: number;
1071
+ top: number;
1072
+ };
1073
+ type: KeyframeType.Position;
1074
+ itemId: string;
1075
+ layoutId: string;
1076
+ }>, z.ZodObject<{
1077
+ id: z.ZodString;
1078
+ layoutId: z.ZodString;
1079
+ itemId: z.ZodString;
1080
+ position: z.ZodNumber;
1081
+ } & {
1082
+ type: z.ZodLiteral<KeyframeType.Rotation>;
1083
+ value: z.ZodObject<{
1084
+ angle: z.ZodNumber;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ angle: number;
1087
+ }, {
1088
+ angle: number;
1089
+ }>;
1090
+ }, "strip", z.ZodTypeAny, {
1091
+ position: number;
1092
+ id: string;
1093
+ value: {
1094
+ angle: number;
1095
+ };
1096
+ type: KeyframeType.Rotation;
1097
+ itemId: string;
1098
+ layoutId: string;
1099
+ }, {
1100
+ position: number;
1101
+ id: string;
1102
+ value: {
1103
+ angle: number;
1104
+ };
1105
+ type: KeyframeType.Rotation;
1106
+ itemId: string;
1107
+ layoutId: string;
1108
+ }>, z.ZodObject<{
1109
+ id: z.ZodString;
1110
+ layoutId: z.ZodString;
1111
+ itemId: z.ZodString;
1112
+ position: z.ZodNumber;
1113
+ } & {
1114
+ type: z.ZodLiteral<KeyframeType.BorderRadius>;
1115
+ value: z.ZodObject<{
1116
+ radius: z.ZodNumber;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ radius: number;
1119
+ }, {
1120
+ radius: number;
1121
+ }>;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ position: number;
1124
+ id: string;
1125
+ value: {
1126
+ radius: number;
1127
+ };
1128
+ type: KeyframeType.BorderRadius;
1129
+ itemId: string;
1130
+ layoutId: string;
1131
+ }, {
1132
+ position: number;
1133
+ id: string;
1134
+ value: {
1135
+ radius: number;
1136
+ };
1137
+ type: KeyframeType.BorderRadius;
1138
+ itemId: string;
1139
+ layoutId: string;
1140
+ }>, z.ZodObject<{
1141
+ id: z.ZodString;
1142
+ layoutId: z.ZodString;
1143
+ itemId: z.ZodString;
1144
+ position: z.ZodNumber;
1145
+ } & {
1146
+ type: z.ZodLiteral<KeyframeType.BorderWidth>;
1147
+ value: z.ZodObject<{
1148
+ borderWidth: z.ZodNumber;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ borderWidth: number;
1151
+ }, {
1152
+ borderWidth: number;
1153
+ }>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ position: number;
1156
+ id: string;
1157
+ value: {
1158
+ borderWidth: number;
1159
+ };
1160
+ type: KeyframeType.BorderWidth;
1161
+ itemId: string;
1162
+ layoutId: string;
1163
+ }, {
1164
+ position: number;
1165
+ id: string;
1166
+ value: {
1167
+ borderWidth: number;
1168
+ };
1169
+ type: KeyframeType.BorderWidth;
1170
+ itemId: string;
1171
+ layoutId: string;
1172
+ }>, z.ZodObject<{
1173
+ id: z.ZodString;
1174
+ layoutId: z.ZodString;
1175
+ itemId: z.ZodString;
1176
+ position: z.ZodNumber;
1177
+ } & {
1178
+ type: z.ZodLiteral<KeyframeType.BorderFill>;
1179
+ value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1180
+ id: z.ZodString;
1181
+ type: z.ZodLiteral<"solid">;
1182
+ value: z.ZodString;
1183
+ blendMode: z.ZodString;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ id: string;
1186
+ value: string;
1187
+ type: "solid";
1188
+ blendMode: string;
1189
+ }, {
1190
+ id: string;
1191
+ value: string;
1192
+ type: "solid";
1193
+ blendMode: string;
1194
+ }>, z.ZodObject<{
1195
+ id: z.ZodString;
1196
+ type: z.ZodLiteral<"linear-gradient">;
1197
+ colors: z.ZodArray<z.ZodObject<{
1198
+ id: z.ZodString;
1199
+ value: z.ZodString;
1200
+ position: z.ZodNumber;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ position: number;
1203
+ id: string;
1204
+ value: string;
1205
+ }, {
1206
+ position: number;
1207
+ id: string;
1208
+ value: string;
1209
+ }>, "many">;
1210
+ start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1211
+ end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1212
+ angle: z.ZodNumber;
1213
+ blendMode: z.ZodString;
1214
+ }, "strip", z.ZodTypeAny, {
1215
+ id: string;
1216
+ type: "linear-gradient";
1217
+ blendMode: string;
1218
+ colors: {
1219
+ position: number;
1220
+ id: string;
1221
+ value: string;
1222
+ }[];
1223
+ start: [number, number];
1224
+ end: [number, number];
1225
+ angle: number;
1226
+ }, {
1227
+ id: string;
1228
+ type: "linear-gradient";
1229
+ blendMode: string;
1230
+ colors: {
1231
+ position: number;
1232
+ id: string;
1233
+ value: string;
1234
+ }[];
1235
+ start: [number, number];
1236
+ end: [number, number];
1237
+ angle: number;
1238
+ }>, z.ZodObject<{
1239
+ id: z.ZodString;
1240
+ type: z.ZodLiteral<"radial-gradient">;
1241
+ colors: z.ZodArray<z.ZodObject<{
1242
+ id: z.ZodString;
1243
+ value: z.ZodString;
1244
+ position: z.ZodNumber;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ position: number;
1247
+ id: string;
1248
+ value: string;
1249
+ }, {
1250
+ position: number;
1251
+ id: string;
1252
+ value: string;
1253
+ }>, "many">;
1254
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1255
+ diameter: z.ZodNumber;
1256
+ angle: z.ZodNumber;
1257
+ blendMode: z.ZodString;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ center: [number, number];
1260
+ id: string;
1261
+ type: "radial-gradient";
1262
+ blendMode: string;
1263
+ colors: {
1264
+ position: number;
1265
+ id: string;
1266
+ value: string;
1267
+ }[];
1268
+ angle: number;
1269
+ diameter: number;
1270
+ }, {
1271
+ center: [number, number];
1272
+ id: string;
1273
+ type: "radial-gradient";
1274
+ blendMode: string;
1275
+ colors: {
1276
+ position: number;
1277
+ id: string;
1278
+ value: string;
1279
+ }[];
1280
+ angle: number;
1281
+ diameter: number;
1282
+ }>, z.ZodObject<{
1283
+ id: z.ZodString;
1284
+ type: z.ZodLiteral<"conic-gradient">;
1285
+ colors: z.ZodArray<z.ZodObject<{
1286
+ id: z.ZodString;
1287
+ value: z.ZodString;
1288
+ position: z.ZodNumber;
1289
+ }, "strip", z.ZodTypeAny, {
1290
+ position: number;
1291
+ id: string;
1292
+ value: string;
1293
+ }, {
1294
+ position: number;
1295
+ id: string;
1296
+ value: string;
1297
+ }>, "many">;
1298
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1299
+ angle: z.ZodNumber;
1300
+ blendMode: z.ZodString;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ center: [number, number];
1303
+ id: string;
1304
+ type: "conic-gradient";
1305
+ blendMode: string;
1306
+ colors: {
1307
+ position: number;
1308
+ id: string;
1309
+ value: string;
1310
+ }[];
1311
+ angle: number;
1312
+ }, {
1313
+ center: [number, number];
1314
+ id: string;
1315
+ type: "conic-gradient";
1316
+ blendMode: string;
1317
+ colors: {
1318
+ position: number;
1319
+ id: string;
1320
+ value: string;
1321
+ }[];
1322
+ angle: number;
1323
+ }>, z.ZodObject<{
1324
+ id: z.ZodString;
1325
+ type: z.ZodLiteral<"image">;
1326
+ src: z.ZodString;
1327
+ behavior: z.ZodString;
1328
+ backgroundSize: z.ZodNumber;
1329
+ opacity: z.ZodNumber;
1330
+ blendMode: z.ZodString;
1331
+ rotation: z.ZodOptional<z.ZodNumber>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ opacity: number;
1334
+ id: string;
1335
+ type: "image";
1336
+ blendMode: string;
1337
+ src: string;
1338
+ behavior: string;
1339
+ backgroundSize: number;
1340
+ rotation?: number | undefined;
1341
+ }, {
1342
+ opacity: number;
1343
+ id: string;
1344
+ type: "image";
1345
+ blendMode: string;
1346
+ src: string;
1347
+ behavior: string;
1348
+ backgroundSize: number;
1349
+ rotation?: number | undefined;
1350
+ }>]>, "many">;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ position: number;
1353
+ id: string;
1354
+ value: ({
1355
+ id: string;
1356
+ value: string;
1357
+ type: "solid";
1358
+ blendMode: string;
1359
+ } | {
1360
+ id: string;
1361
+ type: "linear-gradient";
1362
+ blendMode: string;
1363
+ colors: {
1364
+ position: number;
1365
+ id: string;
1366
+ value: string;
1367
+ }[];
1368
+ start: [number, number];
1369
+ end: [number, number];
1370
+ angle: number;
1371
+ } | {
1372
+ center: [number, number];
1373
+ id: string;
1374
+ type: "radial-gradient";
1375
+ blendMode: string;
1376
+ colors: {
1377
+ position: number;
1378
+ id: string;
1379
+ value: string;
1380
+ }[];
1381
+ angle: number;
1382
+ diameter: number;
1383
+ } | {
1384
+ center: [number, number];
1385
+ id: string;
1386
+ type: "conic-gradient";
1387
+ blendMode: string;
1388
+ colors: {
1389
+ position: number;
1390
+ id: string;
1391
+ value: string;
1392
+ }[];
1393
+ angle: number;
1394
+ } | {
1395
+ opacity: number;
1396
+ id: string;
1397
+ type: "image";
1398
+ blendMode: string;
1399
+ src: string;
1400
+ behavior: string;
1401
+ backgroundSize: number;
1402
+ rotation?: number | undefined;
1403
+ })[];
1404
+ type: KeyframeType.BorderFill;
1405
+ itemId: string;
1406
+ layoutId: string;
1407
+ }, {
1408
+ position: number;
1409
+ id: string;
1410
+ value: ({
1411
+ id: string;
1412
+ value: string;
1413
+ type: "solid";
1414
+ blendMode: string;
1415
+ } | {
1416
+ id: string;
1417
+ type: "linear-gradient";
1418
+ blendMode: string;
1419
+ colors: {
1420
+ position: number;
1421
+ id: string;
1422
+ value: string;
1423
+ }[];
1424
+ start: [number, number];
1425
+ end: [number, number];
1426
+ angle: number;
1427
+ } | {
1428
+ center: [number, number];
1429
+ id: string;
1430
+ type: "radial-gradient";
1431
+ blendMode: string;
1432
+ colors: {
1433
+ position: number;
1434
+ id: string;
1435
+ value: string;
1436
+ }[];
1437
+ angle: number;
1438
+ diameter: number;
1439
+ } | {
1440
+ center: [number, number];
1441
+ id: string;
1442
+ type: "conic-gradient";
1443
+ blendMode: string;
1444
+ colors: {
1445
+ position: number;
1446
+ id: string;
1447
+ value: string;
1448
+ }[];
1449
+ angle: number;
1450
+ } | {
1451
+ opacity: number;
1452
+ id: string;
1453
+ type: "image";
1454
+ blendMode: string;
1455
+ src: string;
1456
+ behavior: string;
1457
+ backgroundSize: number;
1458
+ rotation?: number | undefined;
1459
+ })[];
1460
+ type: KeyframeType.BorderFill;
1461
+ itemId: string;
1462
+ layoutId: string;
1463
+ }>, z.ZodObject<{
1464
+ id: z.ZodString;
1465
+ layoutId: z.ZodString;
1466
+ itemId: z.ZodString;
1467
+ position: z.ZodNumber;
1468
+ } & {
1469
+ type: z.ZodLiteral<KeyframeType.Opacity>;
1470
+ value: z.ZodObject<{
1471
+ opacity: z.ZodNumber;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ opacity: number;
1474
+ }, {
1475
+ opacity: number;
1476
+ }>;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ position: number;
1479
+ id: string;
1480
+ value: {
1481
+ opacity: number;
1482
+ };
1483
+ type: KeyframeType.Opacity;
1484
+ itemId: string;
1485
+ layoutId: string;
1486
+ }, {
1487
+ position: number;
1488
+ id: string;
1489
+ value: {
1490
+ opacity: number;
1491
+ };
1492
+ type: KeyframeType.Opacity;
1493
+ itemId: string;
1494
+ layoutId: string;
1495
+ }>, z.ZodObject<{
1496
+ id: z.ZodString;
1497
+ layoutId: z.ZodString;
1498
+ itemId: z.ZodString;
1499
+ position: z.ZodNumber;
1500
+ } & {
1501
+ type: z.ZodLiteral<KeyframeType.Scale>;
1502
+ value: z.ZodObject<{
1503
+ scale: z.ZodNumber;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ scale: number;
1506
+ }, {
1507
+ scale: number;
1508
+ }>;
1509
+ }, "strip", z.ZodTypeAny, {
1510
+ position: number;
1511
+ id: string;
1512
+ value: {
1513
+ scale: number;
1514
+ };
1515
+ type: KeyframeType.Scale;
1516
+ itemId: string;
1517
+ layoutId: string;
1518
+ }, {
1519
+ position: number;
1520
+ id: string;
1521
+ value: {
1522
+ scale: number;
1523
+ };
1524
+ type: KeyframeType.Scale;
1525
+ itemId: string;
1526
+ layoutId: string;
1527
+ }>, z.ZodObject<{
1528
+ id: z.ZodString;
1529
+ layoutId: z.ZodString;
1530
+ itemId: z.ZodString;
1531
+ position: z.ZodNumber;
1532
+ } & {
1533
+ type: z.ZodLiteral<KeyframeType.Blur>;
1534
+ value: z.ZodObject<{
1535
+ blur: z.ZodNumber;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ blur: number;
1538
+ }, {
1539
+ blur: number;
1540
+ }>;
1541
+ }, "strip", z.ZodTypeAny, {
1542
+ position: number;
1543
+ id: string;
1544
+ value: {
1545
+ blur: number;
1546
+ };
1547
+ type: KeyframeType.Blur;
1548
+ itemId: string;
1549
+ layoutId: string;
1550
+ }, {
1551
+ position: number;
1552
+ id: string;
1553
+ value: {
1554
+ blur: number;
1555
+ };
1556
+ type: KeyframeType.Blur;
1557
+ itemId: string;
1558
+ layoutId: string;
1559
+ }>, z.ZodObject<{
1560
+ id: z.ZodString;
1561
+ layoutId: z.ZodString;
1562
+ itemId: z.ZodString;
1563
+ position: z.ZodNumber;
1564
+ } & {
1565
+ type: z.ZodLiteral<KeyframeType.BackdropBlur>;
1566
+ value: z.ZodObject<{
1567
+ backdropBlur: z.ZodNumber;
1568
+ }, "strip", z.ZodTypeAny, {
1569
+ backdropBlur: number;
1570
+ }, {
1571
+ backdropBlur: number;
1572
+ }>;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ position: number;
1575
+ id: string;
1576
+ value: {
1577
+ backdropBlur: number;
1578
+ };
1579
+ type: KeyframeType.BackdropBlur;
1580
+ itemId: string;
1581
+ layoutId: string;
1582
+ }, {
1583
+ position: number;
1584
+ id: string;
1585
+ value: {
1586
+ backdropBlur: number;
1587
+ };
1588
+ type: KeyframeType.BackdropBlur;
1589
+ itemId: string;
1590
+ layoutId: string;
1591
+ }>, z.ZodObject<{
1592
+ id: z.ZodString;
1593
+ layoutId: z.ZodString;
1594
+ itemId: z.ZodString;
1595
+ position: z.ZodNumber;
1596
+ } & {
1597
+ type: z.ZodLiteral<KeyframeType.TextColor>;
1598
+ value: z.ZodObject<{
1599
+ color: z.ZodString;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ color: string;
1602
+ }, {
1603
+ color: string;
1604
+ }>;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ position: number;
1607
+ id: string;
1608
+ value: {
1609
+ color: string;
1610
+ };
1611
+ type: KeyframeType.TextColor;
1612
+ itemId: string;
1613
+ layoutId: string;
1614
+ }, {
1615
+ position: number;
1616
+ id: string;
1617
+ value: {
1618
+ color: string;
1619
+ };
1620
+ type: KeyframeType.TextColor;
1621
+ itemId: string;
1622
+ layoutId: string;
1623
+ }>, z.ZodObject<{
1624
+ id: z.ZodString;
1625
+ layoutId: z.ZodString;
1626
+ itemId: z.ZodString;
1627
+ position: z.ZodNumber;
1628
+ } & {
1629
+ type: z.ZodLiteral<KeyframeType.LetterSpacing>;
1630
+ value: z.ZodObject<{
1631
+ letterSpacing: z.ZodNumber;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ letterSpacing: number;
1634
+ }, {
1635
+ letterSpacing: number;
1636
+ }>;
1637
+ }, "strip", z.ZodTypeAny, {
1638
+ position: number;
1639
+ id: string;
1640
+ value: {
1641
+ letterSpacing: number;
1642
+ };
1643
+ type: KeyframeType.LetterSpacing;
1644
+ itemId: string;
1645
+ layoutId: string;
1646
+ }, {
1647
+ position: number;
1648
+ id: string;
1649
+ value: {
1650
+ letterSpacing: number;
1651
+ };
1652
+ type: KeyframeType.LetterSpacing;
1653
+ itemId: string;
1654
+ layoutId: string;
1655
+ }>, z.ZodObject<{
1656
+ id: z.ZodString;
1657
+ layoutId: z.ZodString;
1658
+ itemId: z.ZodString;
1659
+ position: z.ZodNumber;
1660
+ } & {
1661
+ type: z.ZodLiteral<KeyframeType.WordSpacing>;
1662
+ value: z.ZodObject<{
1663
+ wordSpacing: z.ZodNumber;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ wordSpacing: number;
1666
+ }, {
1667
+ wordSpacing: number;
1668
+ }>;
1669
+ }, "strip", z.ZodTypeAny, {
1670
+ position: number;
1671
+ id: string;
1672
+ value: {
1673
+ wordSpacing: number;
1674
+ };
1675
+ type: KeyframeType.WordSpacing;
1676
+ itemId: string;
1677
+ layoutId: string;
1678
+ }, {
1679
+ position: number;
1680
+ id: string;
1681
+ value: {
1682
+ wordSpacing: number;
1683
+ };
1684
+ type: KeyframeType.WordSpacing;
1685
+ itemId: string;
1686
+ layoutId: string;
1687
+ }>, z.ZodObject<{
1688
+ id: z.ZodString;
1689
+ layoutId: z.ZodString;
1690
+ itemId: z.ZodString;
1691
+ position: z.ZodNumber;
1692
+ } & {
1693
+ type: z.ZodLiteral<KeyframeType.FXParams>;
1694
+ value: z.ZodRecord<z.ZodString, z.ZodNumber>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ position: number;
1697
+ id: string;
1698
+ value: Record<string, number>;
1699
+ type: KeyframeType.FXParams;
1700
+ itemId: string;
1701
+ layoutId: string;
1702
+ }, {
1703
+ position: number;
1704
+ id: string;
1705
+ value: Record<string, number>;
1706
+ type: KeyframeType.FXParams;
1707
+ itemId: string;
1708
+ layoutId: string;
1709
+ }>, z.ZodObject<{
1710
+ id: z.ZodString;
1711
+ layoutId: z.ZodString;
1712
+ itemId: z.ZodString;
1713
+ position: z.ZodNumber;
1714
+ } & {
1715
+ type: z.ZodLiteral<KeyframeType.Fill>;
1716
+ value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1717
+ id: z.ZodString;
1718
+ type: z.ZodLiteral<"solid">;
1719
+ value: z.ZodString;
1720
+ blendMode: z.ZodString;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ id: string;
1723
+ value: string;
1724
+ type: "solid";
1725
+ blendMode: string;
1726
+ }, {
1727
+ id: string;
1728
+ value: string;
1729
+ type: "solid";
1730
+ blendMode: string;
1731
+ }>, z.ZodObject<{
1732
+ id: z.ZodString;
1733
+ type: z.ZodLiteral<"linear-gradient">;
1734
+ colors: z.ZodArray<z.ZodObject<{
1735
+ id: z.ZodString;
1736
+ value: z.ZodString;
1737
+ position: z.ZodNumber;
1738
+ }, "strip", z.ZodTypeAny, {
1739
+ position: number;
1740
+ id: string;
1741
+ value: string;
1742
+ }, {
1743
+ position: number;
1744
+ id: string;
1745
+ value: string;
1746
+ }>, "many">;
1747
+ start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1748
+ end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1749
+ angle: z.ZodNumber;
1750
+ blendMode: z.ZodString;
1751
+ }, "strip", z.ZodTypeAny, {
1752
+ id: string;
1753
+ type: "linear-gradient";
1754
+ blendMode: string;
1755
+ colors: {
1756
+ position: number;
1757
+ id: string;
1758
+ value: string;
1759
+ }[];
1760
+ start: [number, number];
1761
+ end: [number, number];
1762
+ angle: number;
1763
+ }, {
1764
+ id: string;
1765
+ type: "linear-gradient";
1766
+ blendMode: string;
1767
+ colors: {
1768
+ position: number;
1769
+ id: string;
1770
+ value: string;
1771
+ }[];
1772
+ start: [number, number];
1773
+ end: [number, number];
1774
+ angle: number;
1775
+ }>, z.ZodObject<{
1776
+ id: z.ZodString;
1777
+ type: z.ZodLiteral<"radial-gradient">;
1778
+ colors: z.ZodArray<z.ZodObject<{
1779
+ id: z.ZodString;
1780
+ value: z.ZodString;
1781
+ position: z.ZodNumber;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ position: number;
1784
+ id: string;
1785
+ value: string;
1786
+ }, {
1787
+ position: number;
1788
+ id: string;
1789
+ value: string;
1790
+ }>, "many">;
1791
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1792
+ diameter: z.ZodNumber;
1793
+ angle: z.ZodNumber;
1794
+ blendMode: z.ZodString;
1795
+ }, "strip", z.ZodTypeAny, {
1796
+ center: [number, number];
1797
+ id: string;
1798
+ type: "radial-gradient";
1799
+ blendMode: string;
1800
+ colors: {
1801
+ position: number;
1802
+ id: string;
1803
+ value: string;
1804
+ }[];
1805
+ angle: number;
1806
+ diameter: number;
1807
+ }, {
1808
+ center: [number, number];
1809
+ id: string;
1810
+ type: "radial-gradient";
1811
+ blendMode: string;
1812
+ colors: {
1813
+ position: number;
1814
+ id: string;
1815
+ value: string;
1816
+ }[];
1817
+ angle: number;
1818
+ diameter: number;
1819
+ }>, z.ZodObject<{
1820
+ id: z.ZodString;
1821
+ type: z.ZodLiteral<"conic-gradient">;
1822
+ colors: z.ZodArray<z.ZodObject<{
1823
+ id: z.ZodString;
1824
+ value: z.ZodString;
1825
+ position: z.ZodNumber;
1826
+ }, "strip", z.ZodTypeAny, {
1827
+ position: number;
1828
+ id: string;
1829
+ value: string;
1830
+ }, {
1831
+ position: number;
1832
+ id: string;
1833
+ value: string;
1834
+ }>, "many">;
1835
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1836
+ angle: z.ZodNumber;
1837
+ blendMode: z.ZodString;
1838
+ }, "strip", z.ZodTypeAny, {
1839
+ center: [number, number];
1840
+ id: string;
1841
+ type: "conic-gradient";
1842
+ blendMode: string;
1843
+ colors: {
1844
+ position: number;
1845
+ id: string;
1846
+ value: string;
1847
+ }[];
1848
+ angle: number;
1849
+ }, {
1850
+ center: [number, number];
1851
+ id: string;
1852
+ type: "conic-gradient";
1853
+ blendMode: string;
1854
+ colors: {
1855
+ position: number;
1856
+ id: string;
1857
+ value: string;
1858
+ }[];
1859
+ angle: number;
1860
+ }>, z.ZodObject<{
1861
+ id: z.ZodString;
1862
+ type: z.ZodLiteral<"image">;
1863
+ src: z.ZodString;
1864
+ behavior: z.ZodString;
1865
+ backgroundSize: z.ZodNumber;
1866
+ opacity: z.ZodNumber;
1867
+ blendMode: z.ZodString;
1868
+ rotation: z.ZodOptional<z.ZodNumber>;
1869
+ }, "strip", z.ZodTypeAny, {
1870
+ opacity: number;
1871
+ id: string;
1872
+ type: "image";
1873
+ blendMode: string;
1874
+ src: string;
1875
+ behavior: string;
1876
+ backgroundSize: number;
1877
+ rotation?: number | undefined;
1878
+ }, {
1879
+ opacity: number;
1880
+ id: string;
1881
+ type: "image";
1882
+ blendMode: string;
1883
+ src: string;
1884
+ behavior: string;
1885
+ backgroundSize: number;
1886
+ rotation?: number | undefined;
1887
+ }>]>, "many">;
1888
+ }, "strip", z.ZodTypeAny, {
1889
+ position: number;
1890
+ id: string;
1891
+ value: ({
1892
+ id: string;
1893
+ value: string;
1894
+ type: "solid";
1895
+ blendMode: string;
1896
+ } | {
1897
+ id: string;
1898
+ type: "linear-gradient";
1899
+ blendMode: string;
1900
+ colors: {
1901
+ position: number;
1902
+ id: string;
1903
+ value: string;
1904
+ }[];
1905
+ start: [number, number];
1906
+ end: [number, number];
1907
+ angle: number;
1908
+ } | {
1909
+ center: [number, number];
1910
+ id: string;
1911
+ type: "radial-gradient";
1912
+ blendMode: string;
1913
+ colors: {
1914
+ position: number;
1915
+ id: string;
1916
+ value: string;
1917
+ }[];
1918
+ angle: number;
1919
+ diameter: number;
1920
+ } | {
1921
+ center: [number, number];
1922
+ id: string;
1923
+ type: "conic-gradient";
1924
+ blendMode: string;
1925
+ colors: {
1926
+ position: number;
1927
+ id: string;
1928
+ value: string;
1929
+ }[];
1930
+ angle: number;
1931
+ } | {
1932
+ opacity: number;
1933
+ id: string;
1934
+ type: "image";
1935
+ blendMode: string;
1936
+ src: string;
1937
+ behavior: string;
1938
+ backgroundSize: number;
1939
+ rotation?: number | undefined;
1940
+ })[];
1941
+ type: KeyframeType.Fill;
1942
+ itemId: string;
1943
+ layoutId: string;
1944
+ }, {
1945
+ position: number;
1946
+ id: string;
1947
+ value: ({
1948
+ id: string;
1949
+ value: string;
1950
+ type: "solid";
1951
+ blendMode: string;
1952
+ } | {
1953
+ id: string;
1954
+ type: "linear-gradient";
1955
+ blendMode: string;
1956
+ colors: {
1957
+ position: number;
1958
+ id: string;
1959
+ value: string;
1960
+ }[];
1961
+ start: [number, number];
1962
+ end: [number, number];
1963
+ angle: number;
1964
+ } | {
1965
+ center: [number, number];
1966
+ id: string;
1967
+ type: "radial-gradient";
1968
+ blendMode: string;
1969
+ colors: {
1970
+ position: number;
1971
+ id: string;
1972
+ value: string;
1973
+ }[];
1974
+ angle: number;
1975
+ diameter: number;
1976
+ } | {
1977
+ center: [number, number];
1978
+ id: string;
1979
+ type: "conic-gradient";
1980
+ blendMode: string;
1981
+ colors: {
1982
+ position: number;
1983
+ id: string;
1984
+ value: string;
1985
+ }[];
1986
+ angle: number;
1987
+ } | {
1988
+ opacity: number;
1989
+ id: string;
1990
+ type: "image";
1991
+ blendMode: string;
1992
+ src: string;
1993
+ behavior: string;
1994
+ backgroundSize: number;
1995
+ rotation?: number | undefined;
1996
+ })[];
1997
+ type: KeyframeType.Fill;
1998
+ itemId: string;
1999
+ layoutId: string;
2000
+ }>]>, "many">;