@rendley/sdk 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,11 @@ export declare enum ClipState {
9
9
  Loaded = 2,
10
10
  Offloaded = 3
11
11
  }
12
+ export declare enum AnimationTypeEnum {
13
+ IN = "in",
14
+ OUT = "out",
15
+ LOOP = "loop"
16
+ }
12
17
  export interface ClipOptions<K extends ClipStyle = ClipStyle> {
13
18
  type?: string;
14
19
  id?: string;
@@ -23,6 +28,415 @@ export interface ClipOptions<K extends ClipStyle = ClipStyle> {
23
28
  effects?: Clip["effects"];
24
29
  style?: Partial<ReturnType<K["serialize"]>>;
25
30
  }
31
+ export declare const AnimationClassSchema: z.ZodObject<{
32
+ animationDataIn: z.ZodOptional<z.ZodObject<{
33
+ name: z.ZodString;
34
+ speed: z.ZodOptional<z.ZodNumber>;
35
+ offset: z.ZodOptional<z.ZodNumber>;
36
+ amplification: z.ZodOptional<z.ZodNumber>;
37
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
38
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
39
+ propertyAnimations: z.ZodArray<z.ZodObject<{
40
+ property: z.ZodString;
41
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
42
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
43
+ keyframes: z.ZodArray<z.ZodObject<{
44
+ time: z.ZodNumber;
45
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
46
+ easing: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').EasingEnum>>>;
47
+ space: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').AnimationSpaceEnum>>>;
48
+ relativeProperty: z.ZodOptional<z.ZodString>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ time: number;
51
+ value: string | number;
52
+ easing: import('../../utils/animation/animation').EasingEnum;
53
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
54
+ relativeProperty?: string | undefined;
55
+ }, {
56
+ time: number;
57
+ value: string | number;
58
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
59
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
60
+ relativeProperty?: string | undefined;
61
+ }>, "many">;
62
+ }, "strip", z.ZodTypeAny, {
63
+ property: string;
64
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
65
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
66
+ keyframes: {
67
+ time: number;
68
+ value: string | number;
69
+ easing: import('../../utils/animation/animation').EasingEnum;
70
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
71
+ relativeProperty?: string | undefined;
72
+ }[];
73
+ }, {
74
+ property: string;
75
+ keyframes: {
76
+ time: number;
77
+ value: string | number;
78
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
79
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
80
+ relativeProperty?: string | undefined;
81
+ }[];
82
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
83
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
84
+ }>, "many">;
85
+ }, "strip", z.ZodTypeAny, {
86
+ name: string;
87
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
88
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
89
+ propertyAnimations: {
90
+ property: string;
91
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
92
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
93
+ keyframes: {
94
+ time: number;
95
+ value: string | number;
96
+ easing: import('../../utils/animation/animation').EasingEnum;
97
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
98
+ relativeProperty?: string | undefined;
99
+ }[];
100
+ }[];
101
+ speed?: number | undefined;
102
+ offset?: number | undefined;
103
+ amplification?: number | undefined;
104
+ }, {
105
+ name: string;
106
+ propertyAnimations: {
107
+ property: string;
108
+ keyframes: {
109
+ time: number;
110
+ value: string | number;
111
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
112
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
113
+ relativeProperty?: string | undefined;
114
+ }[];
115
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
116
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
117
+ }[];
118
+ speed?: number | undefined;
119
+ offset?: number | undefined;
120
+ amplification?: number | undefined;
121
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
122
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
123
+ }>>;
124
+ animationDataOut: z.ZodOptional<z.ZodObject<{
125
+ name: z.ZodString;
126
+ speed: z.ZodOptional<z.ZodNumber>;
127
+ offset: z.ZodOptional<z.ZodNumber>;
128
+ amplification: z.ZodOptional<z.ZodNumber>;
129
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
130
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
131
+ propertyAnimations: z.ZodArray<z.ZodObject<{
132
+ property: z.ZodString;
133
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
134
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
135
+ keyframes: z.ZodArray<z.ZodObject<{
136
+ time: z.ZodNumber;
137
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
138
+ easing: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').EasingEnum>>>;
139
+ space: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').AnimationSpaceEnum>>>;
140
+ relativeProperty: z.ZodOptional<z.ZodString>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ time: number;
143
+ value: string | number;
144
+ easing: import('../../utils/animation/animation').EasingEnum;
145
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
146
+ relativeProperty?: string | undefined;
147
+ }, {
148
+ time: number;
149
+ value: string | number;
150
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
151
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
152
+ relativeProperty?: string | undefined;
153
+ }>, "many">;
154
+ }, "strip", z.ZodTypeAny, {
155
+ property: string;
156
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
157
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
158
+ keyframes: {
159
+ time: number;
160
+ value: string | number;
161
+ easing: import('../../utils/animation/animation').EasingEnum;
162
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
163
+ relativeProperty?: string | undefined;
164
+ }[];
165
+ }, {
166
+ property: string;
167
+ keyframes: {
168
+ time: number;
169
+ value: string | number;
170
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
171
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
172
+ relativeProperty?: string | undefined;
173
+ }[];
174
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
175
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
176
+ }>, "many">;
177
+ }, "strip", z.ZodTypeAny, {
178
+ name: string;
179
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
180
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
181
+ propertyAnimations: {
182
+ property: string;
183
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
184
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
185
+ keyframes: {
186
+ time: number;
187
+ value: string | number;
188
+ easing: import('../../utils/animation/animation').EasingEnum;
189
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
190
+ relativeProperty?: string | undefined;
191
+ }[];
192
+ }[];
193
+ speed?: number | undefined;
194
+ offset?: number | undefined;
195
+ amplification?: number | undefined;
196
+ }, {
197
+ name: string;
198
+ propertyAnimations: {
199
+ property: string;
200
+ keyframes: {
201
+ time: number;
202
+ value: string | number;
203
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
204
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
205
+ relativeProperty?: string | undefined;
206
+ }[];
207
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
208
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
209
+ }[];
210
+ speed?: number | undefined;
211
+ offset?: number | undefined;
212
+ amplification?: number | undefined;
213
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
214
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
215
+ }>>;
216
+ animationDataLoop: z.ZodOptional<z.ZodObject<{
217
+ name: z.ZodString;
218
+ speed: z.ZodOptional<z.ZodNumber>;
219
+ offset: z.ZodOptional<z.ZodNumber>;
220
+ amplification: z.ZodOptional<z.ZodNumber>;
221
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
222
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
223
+ propertyAnimations: z.ZodArray<z.ZodObject<{
224
+ property: z.ZodString;
225
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
226
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
227
+ keyframes: z.ZodArray<z.ZodObject<{
228
+ time: z.ZodNumber;
229
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
230
+ easing: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').EasingEnum>>>;
231
+ space: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').AnimationSpaceEnum>>>;
232
+ relativeProperty: z.ZodOptional<z.ZodString>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ time: number;
235
+ value: string | number;
236
+ easing: import('../../utils/animation/animation').EasingEnum;
237
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
238
+ relativeProperty?: string | undefined;
239
+ }, {
240
+ time: number;
241
+ value: string | number;
242
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
243
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
244
+ relativeProperty?: string | undefined;
245
+ }>, "many">;
246
+ }, "strip", z.ZodTypeAny, {
247
+ property: string;
248
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
249
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
250
+ keyframes: {
251
+ time: number;
252
+ value: string | number;
253
+ easing: import('../../utils/animation/animation').EasingEnum;
254
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
255
+ relativeProperty?: string | undefined;
256
+ }[];
257
+ }, {
258
+ property: string;
259
+ keyframes: {
260
+ time: number;
261
+ value: string | number;
262
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
263
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
264
+ relativeProperty?: string | undefined;
265
+ }[];
266
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
267
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
268
+ }>, "many">;
269
+ }, "strip", z.ZodTypeAny, {
270
+ name: string;
271
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
272
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
273
+ propertyAnimations: {
274
+ property: string;
275
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
276
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
277
+ keyframes: {
278
+ time: number;
279
+ value: string | number;
280
+ easing: import('../../utils/animation/animation').EasingEnum;
281
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
282
+ relativeProperty?: string | undefined;
283
+ }[];
284
+ }[];
285
+ speed?: number | undefined;
286
+ offset?: number | undefined;
287
+ amplification?: number | undefined;
288
+ }, {
289
+ name: string;
290
+ propertyAnimations: {
291
+ property: string;
292
+ keyframes: {
293
+ time: number;
294
+ value: string | number;
295
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
296
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
297
+ relativeProperty?: string | undefined;
298
+ }[];
299
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
300
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
301
+ }[];
302
+ speed?: number | undefined;
303
+ offset?: number | undefined;
304
+ amplification?: number | undefined;
305
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
306
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
307
+ }>>;
308
+ animationInDuration: z.ZodOptional<z.ZodNumber>;
309
+ animationOutDuration: z.ZodOptional<z.ZodNumber>;
310
+ animationLoopCount: z.ZodOptional<z.ZodNumber>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ animationDataIn?: {
313
+ name: string;
314
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
315
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
316
+ propertyAnimations: {
317
+ property: string;
318
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
319
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
320
+ keyframes: {
321
+ time: number;
322
+ value: string | number;
323
+ easing: import('../../utils/animation/animation').EasingEnum;
324
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
325
+ relativeProperty?: string | undefined;
326
+ }[];
327
+ }[];
328
+ speed?: number | undefined;
329
+ offset?: number | undefined;
330
+ amplification?: number | undefined;
331
+ } | undefined;
332
+ animationDataOut?: {
333
+ name: string;
334
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
335
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
336
+ propertyAnimations: {
337
+ property: string;
338
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
339
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
340
+ keyframes: {
341
+ time: number;
342
+ value: string | number;
343
+ easing: import('../../utils/animation/animation').EasingEnum;
344
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
345
+ relativeProperty?: string | undefined;
346
+ }[];
347
+ }[];
348
+ speed?: number | undefined;
349
+ offset?: number | undefined;
350
+ amplification?: number | undefined;
351
+ } | undefined;
352
+ animationDataLoop?: {
353
+ name: string;
354
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
355
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
356
+ propertyAnimations: {
357
+ property: string;
358
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
359
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
360
+ keyframes: {
361
+ time: number;
362
+ value: string | number;
363
+ easing: import('../../utils/animation/animation').EasingEnum;
364
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
365
+ relativeProperty?: string | undefined;
366
+ }[];
367
+ }[];
368
+ speed?: number | undefined;
369
+ offset?: number | undefined;
370
+ amplification?: number | undefined;
371
+ } | undefined;
372
+ animationInDuration?: number | undefined;
373
+ animationOutDuration?: number | undefined;
374
+ animationLoopCount?: number | undefined;
375
+ }, {
376
+ animationDataIn?: {
377
+ name: string;
378
+ propertyAnimations: {
379
+ property: string;
380
+ keyframes: {
381
+ time: number;
382
+ value: string | number;
383
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
384
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
385
+ relativeProperty?: string | undefined;
386
+ }[];
387
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
388
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
389
+ }[];
390
+ speed?: number | undefined;
391
+ offset?: number | undefined;
392
+ amplification?: number | undefined;
393
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
394
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
395
+ } | undefined;
396
+ animationDataOut?: {
397
+ name: string;
398
+ propertyAnimations: {
399
+ property: string;
400
+ keyframes: {
401
+ time: number;
402
+ value: string | number;
403
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
404
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
405
+ relativeProperty?: string | undefined;
406
+ }[];
407
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
408
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
409
+ }[];
410
+ speed?: number | undefined;
411
+ offset?: number | undefined;
412
+ amplification?: number | undefined;
413
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
414
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
415
+ } | undefined;
416
+ animationDataLoop?: {
417
+ name: string;
418
+ propertyAnimations: {
419
+ property: string;
420
+ keyframes: {
421
+ time: number;
422
+ value: string | number;
423
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
424
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
425
+ relativeProperty?: string | undefined;
426
+ }[];
427
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
428
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
429
+ }[];
430
+ speed?: number | undefined;
431
+ offset?: number | undefined;
432
+ amplification?: number | undefined;
433
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
434
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
435
+ } | undefined;
436
+ animationInDuration?: number | undefined;
437
+ animationOutDuration?: number | undefined;
438
+ animationLoopCount?: number | undefined;
439
+ }>;
26
440
  export declare const ClipSchema: z.ZodObject<{
27
441
  id: z.ZodString;
28
442
  type: z.ZodString;
@@ -60,6 +474,415 @@ export declare const ClipSchema: z.ZodObject<{
60
474
  warpMode: z.ZodNativeEnum<typeof WarpModeEnum>;
61
475
  style: z.ZodUnknown;
62
476
  text: z.ZodOptional<z.ZodString>;
477
+ animationController: z.ZodOptional<z.ZodObject<{
478
+ animationDataIn: z.ZodOptional<z.ZodObject<{
479
+ name: z.ZodString;
480
+ speed: z.ZodOptional<z.ZodNumber>;
481
+ offset: z.ZodOptional<z.ZodNumber>;
482
+ amplification: z.ZodOptional<z.ZodNumber>;
483
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
484
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
485
+ propertyAnimations: z.ZodArray<z.ZodObject<{
486
+ property: z.ZodString;
487
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
488
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
489
+ keyframes: z.ZodArray<z.ZodObject<{
490
+ time: z.ZodNumber;
491
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
492
+ easing: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').EasingEnum>>>;
493
+ space: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').AnimationSpaceEnum>>>;
494
+ relativeProperty: z.ZodOptional<z.ZodString>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ time: number;
497
+ value: string | number;
498
+ easing: import('../../utils/animation/animation').EasingEnum;
499
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
500
+ relativeProperty?: string | undefined;
501
+ }, {
502
+ time: number;
503
+ value: string | number;
504
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
505
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
506
+ relativeProperty?: string | undefined;
507
+ }>, "many">;
508
+ }, "strip", z.ZodTypeAny, {
509
+ property: string;
510
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
511
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
512
+ keyframes: {
513
+ time: number;
514
+ value: string | number;
515
+ easing: import('../../utils/animation/animation').EasingEnum;
516
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
517
+ relativeProperty?: string | undefined;
518
+ }[];
519
+ }, {
520
+ property: string;
521
+ keyframes: {
522
+ time: number;
523
+ value: string | number;
524
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
525
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
526
+ relativeProperty?: string | undefined;
527
+ }[];
528
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
529
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
530
+ }>, "many">;
531
+ }, "strip", z.ZodTypeAny, {
532
+ name: string;
533
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
534
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
535
+ propertyAnimations: {
536
+ property: string;
537
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
538
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
539
+ keyframes: {
540
+ time: number;
541
+ value: string | number;
542
+ easing: import('../../utils/animation/animation').EasingEnum;
543
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
544
+ relativeProperty?: string | undefined;
545
+ }[];
546
+ }[];
547
+ speed?: number | undefined;
548
+ offset?: number | undefined;
549
+ amplification?: number | undefined;
550
+ }, {
551
+ name: string;
552
+ propertyAnimations: {
553
+ property: string;
554
+ keyframes: {
555
+ time: number;
556
+ value: string | number;
557
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
558
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
559
+ relativeProperty?: string | undefined;
560
+ }[];
561
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
562
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
563
+ }[];
564
+ speed?: number | undefined;
565
+ offset?: number | undefined;
566
+ amplification?: number | undefined;
567
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
568
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
569
+ }>>;
570
+ animationDataOut: z.ZodOptional<z.ZodObject<{
571
+ name: z.ZodString;
572
+ speed: z.ZodOptional<z.ZodNumber>;
573
+ offset: z.ZodOptional<z.ZodNumber>;
574
+ amplification: z.ZodOptional<z.ZodNumber>;
575
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
576
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
577
+ propertyAnimations: z.ZodArray<z.ZodObject<{
578
+ property: z.ZodString;
579
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
580
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
581
+ keyframes: z.ZodArray<z.ZodObject<{
582
+ time: z.ZodNumber;
583
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
584
+ easing: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').EasingEnum>>>;
585
+ space: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').AnimationSpaceEnum>>>;
586
+ relativeProperty: z.ZodOptional<z.ZodString>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ time: number;
589
+ value: string | number;
590
+ easing: import('../../utils/animation/animation').EasingEnum;
591
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
592
+ relativeProperty?: string | undefined;
593
+ }, {
594
+ time: number;
595
+ value: string | number;
596
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
597
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
598
+ relativeProperty?: string | undefined;
599
+ }>, "many">;
600
+ }, "strip", z.ZodTypeAny, {
601
+ property: string;
602
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
603
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
604
+ keyframes: {
605
+ time: number;
606
+ value: string | number;
607
+ easing: import('../../utils/animation/animation').EasingEnum;
608
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
609
+ relativeProperty?: string | undefined;
610
+ }[];
611
+ }, {
612
+ property: string;
613
+ keyframes: {
614
+ time: number;
615
+ value: string | number;
616
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
617
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
618
+ relativeProperty?: string | undefined;
619
+ }[];
620
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
621
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
622
+ }>, "many">;
623
+ }, "strip", z.ZodTypeAny, {
624
+ name: string;
625
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
626
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
627
+ propertyAnimations: {
628
+ property: string;
629
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
630
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
631
+ keyframes: {
632
+ time: number;
633
+ value: string | number;
634
+ easing: import('../../utils/animation/animation').EasingEnum;
635
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
636
+ relativeProperty?: string | undefined;
637
+ }[];
638
+ }[];
639
+ speed?: number | undefined;
640
+ offset?: number | undefined;
641
+ amplification?: number | undefined;
642
+ }, {
643
+ name: string;
644
+ propertyAnimations: {
645
+ property: string;
646
+ keyframes: {
647
+ time: number;
648
+ value: string | number;
649
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
650
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
651
+ relativeProperty?: string | undefined;
652
+ }[];
653
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
654
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
655
+ }[];
656
+ speed?: number | undefined;
657
+ offset?: number | undefined;
658
+ amplification?: number | undefined;
659
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
660
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
661
+ }>>;
662
+ animationDataLoop: z.ZodOptional<z.ZodObject<{
663
+ name: z.ZodString;
664
+ speed: z.ZodOptional<z.ZodNumber>;
665
+ offset: z.ZodOptional<z.ZodNumber>;
666
+ amplification: z.ZodOptional<z.ZodNumber>;
667
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
668
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
669
+ propertyAnimations: z.ZodArray<z.ZodObject<{
670
+ property: z.ZodString;
671
+ inOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
672
+ outOutOfRange: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').OutOfRangeEnum>>>;
673
+ keyframes: z.ZodArray<z.ZodObject<{
674
+ time: z.ZodNumber;
675
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
676
+ easing: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').EasingEnum>>>;
677
+ space: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import('../../utils/animation/animation').AnimationSpaceEnum>>>;
678
+ relativeProperty: z.ZodOptional<z.ZodString>;
679
+ }, "strip", z.ZodTypeAny, {
680
+ time: number;
681
+ value: string | number;
682
+ easing: import('../../utils/animation/animation').EasingEnum;
683
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
684
+ relativeProperty?: string | undefined;
685
+ }, {
686
+ time: number;
687
+ value: string | number;
688
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
689
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
690
+ relativeProperty?: string | undefined;
691
+ }>, "many">;
692
+ }, "strip", z.ZodTypeAny, {
693
+ property: string;
694
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
695
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
696
+ keyframes: {
697
+ time: number;
698
+ value: string | number;
699
+ easing: import('../../utils/animation/animation').EasingEnum;
700
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
701
+ relativeProperty?: string | undefined;
702
+ }[];
703
+ }, {
704
+ property: string;
705
+ keyframes: {
706
+ time: number;
707
+ value: string | number;
708
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
709
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
710
+ relativeProperty?: string | undefined;
711
+ }[];
712
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
713
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
714
+ }>, "many">;
715
+ }, "strip", z.ZodTypeAny, {
716
+ name: string;
717
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
718
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
719
+ propertyAnimations: {
720
+ property: string;
721
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
722
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
723
+ keyframes: {
724
+ time: number;
725
+ value: string | number;
726
+ easing: import('../../utils/animation/animation').EasingEnum;
727
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
728
+ relativeProperty?: string | undefined;
729
+ }[];
730
+ }[];
731
+ speed?: number | undefined;
732
+ offset?: number | undefined;
733
+ amplification?: number | undefined;
734
+ }, {
735
+ name: string;
736
+ propertyAnimations: {
737
+ property: string;
738
+ keyframes: {
739
+ time: number;
740
+ value: string | number;
741
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
742
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
743
+ relativeProperty?: string | undefined;
744
+ }[];
745
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
746
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
747
+ }[];
748
+ speed?: number | undefined;
749
+ offset?: number | undefined;
750
+ amplification?: number | undefined;
751
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
752
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
753
+ }>>;
754
+ animationInDuration: z.ZodOptional<z.ZodNumber>;
755
+ animationOutDuration: z.ZodOptional<z.ZodNumber>;
756
+ animationLoopCount: z.ZodOptional<z.ZodNumber>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ animationDataIn?: {
759
+ name: string;
760
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
761
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
762
+ propertyAnimations: {
763
+ property: string;
764
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
765
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
766
+ keyframes: {
767
+ time: number;
768
+ value: string | number;
769
+ easing: import('../../utils/animation/animation').EasingEnum;
770
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
771
+ relativeProperty?: string | undefined;
772
+ }[];
773
+ }[];
774
+ speed?: number | undefined;
775
+ offset?: number | undefined;
776
+ amplification?: number | undefined;
777
+ } | undefined;
778
+ animationDataOut?: {
779
+ name: string;
780
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
781
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
782
+ propertyAnimations: {
783
+ property: string;
784
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
785
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
786
+ keyframes: {
787
+ time: number;
788
+ value: string | number;
789
+ easing: import('../../utils/animation/animation').EasingEnum;
790
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
791
+ relativeProperty?: string | undefined;
792
+ }[];
793
+ }[];
794
+ speed?: number | undefined;
795
+ offset?: number | undefined;
796
+ amplification?: number | undefined;
797
+ } | undefined;
798
+ animationDataLoop?: {
799
+ name: string;
800
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
801
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
802
+ propertyAnimations: {
803
+ property: string;
804
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
805
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
806
+ keyframes: {
807
+ time: number;
808
+ value: string | number;
809
+ easing: import('../../utils/animation/animation').EasingEnum;
810
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
811
+ relativeProperty?: string | undefined;
812
+ }[];
813
+ }[];
814
+ speed?: number | undefined;
815
+ offset?: number | undefined;
816
+ amplification?: number | undefined;
817
+ } | undefined;
818
+ animationInDuration?: number | undefined;
819
+ animationOutDuration?: number | undefined;
820
+ animationLoopCount?: number | undefined;
821
+ }, {
822
+ animationDataIn?: {
823
+ name: string;
824
+ propertyAnimations: {
825
+ property: string;
826
+ keyframes: {
827
+ time: number;
828
+ value: string | number;
829
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
830
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
831
+ relativeProperty?: string | undefined;
832
+ }[];
833
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
834
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
835
+ }[];
836
+ speed?: number | undefined;
837
+ offset?: number | undefined;
838
+ amplification?: number | undefined;
839
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
840
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
841
+ } | undefined;
842
+ animationDataOut?: {
843
+ name: string;
844
+ propertyAnimations: {
845
+ property: string;
846
+ keyframes: {
847
+ time: number;
848
+ value: string | number;
849
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
850
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
851
+ relativeProperty?: string | undefined;
852
+ }[];
853
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
854
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
855
+ }[];
856
+ speed?: number | undefined;
857
+ offset?: number | undefined;
858
+ amplification?: number | undefined;
859
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
860
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
861
+ } | undefined;
862
+ animationDataLoop?: {
863
+ name: string;
864
+ propertyAnimations: {
865
+ property: string;
866
+ keyframes: {
867
+ time: number;
868
+ value: string | number;
869
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
870
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
871
+ relativeProperty?: string | undefined;
872
+ }[];
873
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
874
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
875
+ }[];
876
+ speed?: number | undefined;
877
+ offset?: number | undefined;
878
+ amplification?: number | undefined;
879
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
880
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
881
+ } | undefined;
882
+ animationInDuration?: number | undefined;
883
+ animationOutDuration?: number | undefined;
884
+ animationLoopCount?: number | undefined;
885
+ }>>;
63
886
  }, "strip", z.ZodTypeAny, {
64
887
  type: string;
65
888
  id: string;
@@ -81,6 +904,71 @@ export declare const ClipSchema: z.ZodObject<{
81
904
  subtitlesId?: string | undefined;
82
905
  style?: unknown;
83
906
  text?: string | undefined;
907
+ animationController?: {
908
+ animationDataIn?: {
909
+ name: string;
910
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
911
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
912
+ propertyAnimations: {
913
+ property: string;
914
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
915
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
916
+ keyframes: {
917
+ time: number;
918
+ value: string | number;
919
+ easing: import('../../utils/animation/animation').EasingEnum;
920
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
921
+ relativeProperty?: string | undefined;
922
+ }[];
923
+ }[];
924
+ speed?: number | undefined;
925
+ offset?: number | undefined;
926
+ amplification?: number | undefined;
927
+ } | undefined;
928
+ animationDataOut?: {
929
+ name: string;
930
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
931
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
932
+ propertyAnimations: {
933
+ property: string;
934
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
935
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
936
+ keyframes: {
937
+ time: number;
938
+ value: string | number;
939
+ easing: import('../../utils/animation/animation').EasingEnum;
940
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
941
+ relativeProperty?: string | undefined;
942
+ }[];
943
+ }[];
944
+ speed?: number | undefined;
945
+ offset?: number | undefined;
946
+ amplification?: number | undefined;
947
+ } | undefined;
948
+ animationDataLoop?: {
949
+ name: string;
950
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
951
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
952
+ propertyAnimations: {
953
+ property: string;
954
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
955
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
956
+ keyframes: {
957
+ time: number;
958
+ value: string | number;
959
+ easing: import('../../utils/animation/animation').EasingEnum;
960
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
961
+ relativeProperty?: string | undefined;
962
+ }[];
963
+ }[];
964
+ speed?: number | undefined;
965
+ offset?: number | undefined;
966
+ amplification?: number | undefined;
967
+ } | undefined;
968
+ animationInDuration?: number | undefined;
969
+ animationOutDuration?: number | undefined;
970
+ animationLoopCount?: number | undefined;
971
+ } | undefined;
84
972
  }, {
85
973
  type: string;
86
974
  id: string;
@@ -102,6 +990,71 @@ export declare const ClipSchema: z.ZodObject<{
102
990
  subtitlesId?: string | undefined;
103
991
  style?: unknown;
104
992
  text?: string | undefined;
993
+ animationController?: {
994
+ animationDataIn?: {
995
+ name: string;
996
+ propertyAnimations: {
997
+ property: string;
998
+ keyframes: {
999
+ time: number;
1000
+ value: string | number;
1001
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
1002
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
1003
+ relativeProperty?: string | undefined;
1004
+ }[];
1005
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1006
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1007
+ }[];
1008
+ speed?: number | undefined;
1009
+ offset?: number | undefined;
1010
+ amplification?: number | undefined;
1011
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1012
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1013
+ } | undefined;
1014
+ animationDataOut?: {
1015
+ name: string;
1016
+ propertyAnimations: {
1017
+ property: string;
1018
+ keyframes: {
1019
+ time: number;
1020
+ value: string | number;
1021
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
1022
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
1023
+ relativeProperty?: string | undefined;
1024
+ }[];
1025
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1026
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1027
+ }[];
1028
+ speed?: number | undefined;
1029
+ offset?: number | undefined;
1030
+ amplification?: number | undefined;
1031
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1032
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1033
+ } | undefined;
1034
+ animationDataLoop?: {
1035
+ name: string;
1036
+ propertyAnimations: {
1037
+ property: string;
1038
+ keyframes: {
1039
+ time: number;
1040
+ value: string | number;
1041
+ easing?: import('../../utils/animation/animation').EasingEnum | undefined;
1042
+ space?: import('../../utils/animation/animation').AnimationSpaceEnum | undefined;
1043
+ relativeProperty?: string | undefined;
1044
+ }[];
1045
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1046
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1047
+ }[];
1048
+ speed?: number | undefined;
1049
+ offset?: number | undefined;
1050
+ amplification?: number | undefined;
1051
+ inOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1052
+ outOutOfRange?: import('../../utils/animation/animation').OutOfRangeEnum | undefined;
1053
+ } | undefined;
1054
+ animationInDuration?: number | undefined;
1055
+ animationOutDuration?: number | undefined;
1056
+ animationLoopCount?: number | undefined;
1057
+ } | undefined;
105
1058
  }>;
106
1059
  export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipStyle = ClipStyle> {
107
1060
  id: string;
@@ -121,8 +1074,14 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
121
1074
  sprite: T;
122
1075
  style: K;
123
1076
  state: ClipState;
1077
+ private AnimationClass;
1078
+ animationController: InstanceType<typeof this.AnimationClass>;
124
1079
  constructor(options: ClipOptions<K>);
125
1080
  init(layerId: string): Promise<void>;
1081
+ resetAllAnimationProperties(): void;
1082
+ protected setAnimationPropertyValue(property: string, value: any): void;
1083
+ protected getAnimationPropertyValue(property: string): number | string;
1084
+ protected resetAnimationPropertyValue(property: string): void;
126
1085
  isReady(): boolean;
127
1086
  getStartTime(): number;
128
1087
  getEndTime(): number;
@@ -158,7 +1117,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
158
1117
  onRenderDone(canceled: boolean): Promise<void>;
159
1118
  isActive(currentTime: number): boolean;
160
1119
  updateVisibility(currentTime: number): void;
161
- setSubtitles(subtitlesId: string, offset: number): void;
1120
+ setSubtitles(subtitlesId: string, offset?: number): void;
162
1121
  removeSubtitles(): void;
163
1122
  getSubtitlesId(): string | undefined;
164
1123
  getSubtitlesOffset(): number;
@@ -194,6 +1153,71 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
194
1153
  subtitlesId?: string | undefined;
195
1154
  style?: unknown;
196
1155
  text?: string | undefined;
1156
+ animationController?: {
1157
+ animationDataIn?: {
1158
+ name: string;
1159
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1160
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1161
+ propertyAnimations: {
1162
+ property: string;
1163
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1164
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1165
+ keyframes: {
1166
+ time: number;
1167
+ value: string | number;
1168
+ easing: import('../../utils/animation/animation').EasingEnum;
1169
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
1170
+ relativeProperty?: string | undefined;
1171
+ }[];
1172
+ }[];
1173
+ speed?: number | undefined;
1174
+ offset?: number | undefined;
1175
+ amplification?: number | undefined;
1176
+ } | undefined;
1177
+ animationDataOut?: {
1178
+ name: string;
1179
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1180
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1181
+ propertyAnimations: {
1182
+ property: string;
1183
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1184
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1185
+ keyframes: {
1186
+ time: number;
1187
+ value: string | number;
1188
+ easing: import('../../utils/animation/animation').EasingEnum;
1189
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
1190
+ relativeProperty?: string | undefined;
1191
+ }[];
1192
+ }[];
1193
+ speed?: number | undefined;
1194
+ offset?: number | undefined;
1195
+ amplification?: number | undefined;
1196
+ } | undefined;
1197
+ animationDataLoop?: {
1198
+ name: string;
1199
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1200
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1201
+ propertyAnimations: {
1202
+ property: string;
1203
+ inOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1204
+ outOutOfRange: import('../../utils/animation/animation').OutOfRangeEnum;
1205
+ keyframes: {
1206
+ time: number;
1207
+ value: string | number;
1208
+ easing: import('../../utils/animation/animation').EasingEnum;
1209
+ space: import('../../utils/animation/animation').AnimationSpaceEnum;
1210
+ relativeProperty?: string | undefined;
1211
+ }[];
1212
+ }[];
1213
+ speed?: number | undefined;
1214
+ offset?: number | undefined;
1215
+ amplification?: number | undefined;
1216
+ } | undefined;
1217
+ animationInDuration?: number | undefined;
1218
+ animationOutDuration?: number | undefined;
1219
+ animationLoopCount?: number | undefined;
1220
+ } | undefined;
197
1221
  };
198
1222
  static deserialize(data: object): Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>;
199
1223
  }