@linorabolini/tween.js 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,727 @@
1
+ type EasingFunction = (amount: number) => number;
2
+ type EasingFunctionGroup = {
3
+ In: EasingFunction;
4
+ Out: EasingFunction;
5
+ InOut: EasingFunction;
6
+ };
7
+ /**
8
+ * The Ease class provides a collection of easing functions for use with tween.js.
9
+ */
10
+ declare const Easing: Readonly<{
11
+ Linear: Readonly<EasingFunctionGroup & {
12
+ None: EasingFunction;
13
+ }>;
14
+ Quadratic: Readonly<EasingFunctionGroup>;
15
+ Cubic: Readonly<EasingFunctionGroup>;
16
+ Quartic: Readonly<EasingFunctionGroup>;
17
+ Quintic: Readonly<EasingFunctionGroup>;
18
+ Sinusoidal: Readonly<EasingFunctionGroup>;
19
+ Exponential: Readonly<EasingFunctionGroup>;
20
+ Circular: Readonly<EasingFunctionGroup>;
21
+ Elastic: Readonly<EasingFunctionGroup>;
22
+ Back: Readonly<EasingFunctionGroup>;
23
+ Bounce: Readonly<EasingFunctionGroup>;
24
+ generatePow(power?: number): EasingFunctionGroup;
25
+ }>;
26
+
27
+ /**
28
+ *
29
+ */
30
+ type InterpolationFunction = (v: number[], k: number) => number;
31
+ /**
32
+ *
33
+ */
34
+ declare const Interpolation: {
35
+ Linear: (v: number[], k: number) => number;
36
+ Bezier: (v: number[], k: number) => number;
37
+ CatmullRom: (v: number[], k: number) => number;
38
+ Utils: {
39
+ Linear: (p0: number, p1: number, t: number) => number;
40
+ Bernstein: (n: number, i: number) => number;
41
+ Factorial: (n: number) => number;
42
+ CatmullRom: (p0: number, p1: number, p2: number, p3: number, t: number) => number;
43
+ };
44
+ };
45
+
46
+ /**
47
+ * Tween.js - Licensed under the MIT license
48
+ * https://github.com/tweenjs/tween.js
49
+ * ----------------------------------------------
50
+ *
51
+ * See https://github.com/tweenjs/tween.js/graphs/contributors for the full list of contributors.
52
+ * Thank you all, you're awesome!
53
+ */
54
+
55
+ declare class Tween<T extends UnknownProps = any> {
56
+ static autoStartOnUpdate: boolean;
57
+ private _isPaused;
58
+ private _pauseStart;
59
+ private _valuesStart;
60
+ private _valuesEnd;
61
+ private _valuesStartRepeat;
62
+ private _duration;
63
+ private _isDynamic;
64
+ private _initialRepeat;
65
+ private _repeat;
66
+ private _repeatDelayTime?;
67
+ private _yoyo;
68
+ private _isPlaying;
69
+ private _reversed;
70
+ private _delayTime;
71
+ private _startTime;
72
+ private _easingFunction;
73
+ private _interpolationFunction;
74
+ private _chainedTweens;
75
+ private _onStartCallback?;
76
+ private _onStartCallbackFired;
77
+ private _onEveryStartCallback?;
78
+ private _onEveryStartCallbackFired;
79
+ private _onUpdateCallback?;
80
+ private _onRepeatCallback?;
81
+ private _onCompleteCallback?;
82
+ private _onStopCallback?;
83
+ private _id;
84
+ private _isChainStopped;
85
+ private _propertiesAreSetUp;
86
+ private _object;
87
+ private _group?;
88
+ static Sequence: (...tweens: Tween[]) => Tween<any>;
89
+ /**
90
+ * @param object - The object whose properties this Tween will animate.
91
+ * @param group - The object whose properties this Tween will animate.
92
+ */
93
+ constructor(object?: T, group?: Group);
94
+ /**
95
+ * @deprecated The group parameter is now deprecated, instead use `new
96
+ * Tween(object)` then `group.add(tween)` to add a tween to a group. Use
97
+ * `new Tween(object, true)` to restore the old behavior for now, but this
98
+ * will be removed in the future.
99
+ */
100
+ constructor(object: T, group: true);
101
+ getId(): number;
102
+ getCompleteCallback(): ((object: T) => void) | undefined;
103
+ isPlaying(): boolean;
104
+ isPaused(): boolean;
105
+ getDuration(): number;
106
+ to(target: UnknownProps, duration?: number): this;
107
+ duration(duration?: number): this;
108
+ dynamic(dynamic?: boolean): this;
109
+ start(time?: number, overrideStartingValues?: boolean): this;
110
+ startFromCurrentValues(time?: number): this;
111
+ private _setupProperties;
112
+ stop(): this;
113
+ end(): this;
114
+ pause(time?: number): this;
115
+ resume(time?: number): this;
116
+ stopChainedTweens(): this;
117
+ /**
118
+ * Removes the tween from the current group it is in, if any, then adds the
119
+ * tween to the specified `group`.
120
+ */
121
+ group(group: Group): this;
122
+ /**
123
+ * @deprecated The argless call signature has been removed. Use
124
+ * `tween.group(group)` or `group.add(tween)`, instead.
125
+ */
126
+ group(): this;
127
+ /**
128
+ * Removes the tween from whichever group it is in.
129
+ */
130
+ remove(): this;
131
+ delay(amount?: number): this;
132
+ repeat(times?: number): this;
133
+ repeatDelay(amount?: number): this;
134
+ yoyo(yoyo?: boolean): this;
135
+ easing(easingFunction?: EasingFunction): this;
136
+ interpolation(interpolationFunction?: InterpolationFunction): this;
137
+ chain(...tweens: Array<Tween<any>>): this;
138
+ onStart(callback?: (object: T) => void): this;
139
+ onEveryStart(callback?: (object: T) => void): this;
140
+ onUpdate(callback?: (object: T, elapsed: number) => void): this;
141
+ onRepeat(callback?: (object: T) => void): this;
142
+ onComplete(callback?: (object: T) => void): this;
143
+ onStop(callback?: (object: T) => void): this;
144
+ private _goToEnd;
145
+ /**
146
+ * @returns true if the tween is still playing after the update, false
147
+ * otherwise (calling update on a paused tween still returns true because
148
+ * it is still playing, just paused).
149
+ *
150
+ * @param autoStart - When true, calling update will implicitly call start()
151
+ * as well. Note, if you stop() or end() the tween, but are still calling
152
+ * update(), it will start again!
153
+ */
154
+ update(time?: number, autoStart?: boolean): boolean;
155
+ private _updateProperties;
156
+ private _handleRelativeValue;
157
+ private _swapEndStartRepeatValues;
158
+ }
159
+ type UnknownProps = Record<string, any>;
160
+
161
+ /**
162
+ * Controlling groups of tweens
163
+ *
164
+ * Using the TWEEN singleton to manage your tweens can cause issues in large apps with many components.
165
+ * In these cases, you may want to create your own smaller groups of tween
166
+ */
167
+ declare class Group {
168
+ private _tweens;
169
+ private _tweensAddedDuringUpdate;
170
+ constructor(...tweens: Tween[]);
171
+ getAll(): Array<Tween>;
172
+ removeAll(): void;
173
+ add(...tweens: Tween[]): void;
174
+ remove(...tweens: Tween[]): void;
175
+ /** Return true if all tweens in the group are not paused or playing. */
176
+ allStopped(): boolean;
177
+ update(time?: number): void;
178
+ /**
179
+ * @deprecated The `preserve` parameter is now defaulted to `true` and will
180
+ * be removed in a future major release, at which point all tweens of a
181
+ * group will always be preserved when calling update. To migrate, always
182
+ * use `group.add(tween)` or `group.remove(tween)` to manually add or remove
183
+ * tweens, and do not rely on tweens being automatically added or removed.
184
+ */
185
+ update(time?: number, preserve?: boolean): void;
186
+ onComplete(callback: (object: Tween[]) => void): void;
187
+ }
188
+
189
+ declare const now: () => number;
190
+ declare function setNow(nowFunction: Function): void;
191
+
192
+ /**
193
+ * Utils
194
+ */
195
+ declare class Sequence {
196
+ private static _nextId;
197
+ static nextId(): number;
198
+ }
199
+
200
+ declare const VERSION = "25.0.0";
201
+
202
+ declare const nextId: typeof Sequence.nextId;
203
+ /**
204
+ * @deprecated The global TWEEN Group will be removed in a following major
205
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
206
+ * group.
207
+ *
208
+ * Old code:
209
+ *
210
+ * ```js
211
+ * import * as TWEEN from '@tweenjs/tween.js'
212
+ *
213
+ * //...
214
+ *
215
+ * const tween = new TWEEN.Tween(obj)
216
+ * const tween2 = new TWEEN.Tween(obj2)
217
+ *
218
+ * //...
219
+ *
220
+ * requestAnimationFrame(function loop(time) {
221
+ * TWEEN.update(time)
222
+ * requestAnimationFrame(loop)
223
+ * })
224
+ * ```
225
+ *
226
+ * New code:
227
+ *
228
+ * ```js
229
+ * import {Tween, Group} from '@tweenjs/tween.js'
230
+ *
231
+ * //...
232
+ *
233
+ * const tween = new Tween(obj)
234
+ * const tween2 = new TWEEN.Tween(obj2)
235
+ *
236
+ * //...
237
+ *
238
+ * const group = new Group()
239
+ * group.add(tween)
240
+ * group.add(tween2)
241
+ *
242
+ * //...
243
+ *
244
+ * requestAnimationFrame(function loop(time) {
245
+ * group.update(time)
246
+ * requestAnimationFrame(loop)
247
+ * })
248
+ * ```
249
+ */
250
+ declare const getAll: () => Tween<any>[];
251
+ /**
252
+ * @deprecated The global TWEEN Group will be removed in a following major
253
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
254
+ * group.
255
+ *
256
+ * Old code:
257
+ *
258
+ * ```js
259
+ * import * as TWEEN from '@tweenjs/tween.js'
260
+ *
261
+ * //...
262
+ *
263
+ * const tween = new TWEEN.Tween(obj)
264
+ * const tween2 = new TWEEN.Tween(obj2)
265
+ *
266
+ * //...
267
+ *
268
+ * requestAnimationFrame(function loop(time) {
269
+ * TWEEN.update(time)
270
+ * requestAnimationFrame(loop)
271
+ * })
272
+ * ```
273
+ *
274
+ * New code:
275
+ *
276
+ * ```js
277
+ * import {Tween, Group} from '@tweenjs/tween.js'
278
+ *
279
+ * //...
280
+ *
281
+ * const tween = new Tween(obj)
282
+ * const tween2 = new TWEEN.Tween(obj2)
283
+ *
284
+ * //...
285
+ *
286
+ * const group = new Group()
287
+ * group.add(tween)
288
+ * group.add(tween2)
289
+ *
290
+ * //...
291
+ *
292
+ * requestAnimationFrame(function loop(time) {
293
+ * group.update(time)
294
+ * requestAnimationFrame(loop)
295
+ * })
296
+ * ```
297
+ */
298
+ declare const removeAll: () => void;
299
+ /**
300
+ * @deprecated The global TWEEN Group will be removed in a following major
301
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
302
+ * group.
303
+ *
304
+ * Old code:
305
+ *
306
+ * ```js
307
+ * import * as TWEEN from '@tweenjs/tween.js'
308
+ *
309
+ * //...
310
+ *
311
+ * const tween = new TWEEN.Tween(obj)
312
+ * const tween2 = new TWEEN.Tween(obj2)
313
+ *
314
+ * //...
315
+ *
316
+ * requestAnimationFrame(function loop(time) {
317
+ * TWEEN.update(time)
318
+ * requestAnimationFrame(loop)
319
+ * })
320
+ * ```
321
+ *
322
+ * New code:
323
+ *
324
+ * ```js
325
+ * import {Tween, Group} from '@tweenjs/tween.js'
326
+ *
327
+ * //...
328
+ *
329
+ * const tween = new Tween(obj)
330
+ * const tween2 = new TWEEN.Tween(obj2)
331
+ *
332
+ * //...
333
+ *
334
+ * const group = new Group()
335
+ * group.add(tween)
336
+ * group.add(tween2)
337
+ *
338
+ * //...
339
+ *
340
+ * requestAnimationFrame(function loop(time) {
341
+ * group.update(time)
342
+ * requestAnimationFrame(loop)
343
+ * })
344
+ * ```
345
+ */
346
+ declare const add: (...tweens: Tween<any>[]) => void;
347
+ /**
348
+ * @deprecated The global TWEEN Group will be removed in a following major
349
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
350
+ * group.
351
+ *
352
+ * Old code:
353
+ *
354
+ * ```js
355
+ * import * as TWEEN from '@tweenjs/tween.js'
356
+ *
357
+ * //...
358
+ *
359
+ * const tween = new TWEEN.Tween(obj)
360
+ * const tween2 = new TWEEN.Tween(obj2)
361
+ *
362
+ * //...
363
+ *
364
+ * requestAnimationFrame(function loop(time) {
365
+ * TWEEN.update(time)
366
+ * requestAnimationFrame(loop)
367
+ * })
368
+ * ```
369
+ *
370
+ * New code:
371
+ *
372
+ * ```js
373
+ * import {Tween, Group} from '@tweenjs/tween.js'
374
+ *
375
+ * //...
376
+ *
377
+ * const tween = new Tween(obj)
378
+ * const tween2 = new TWEEN.Tween(obj2)
379
+ *
380
+ * //...
381
+ *
382
+ * const group = new Group()
383
+ * group.add(tween)
384
+ * group.add(tween2)
385
+ *
386
+ * //...
387
+ *
388
+ * requestAnimationFrame(function loop(time) {
389
+ * group.update(time)
390
+ * requestAnimationFrame(loop)
391
+ * })
392
+ * ```
393
+ */
394
+ declare const remove: (...tweens: Tween<any>[]) => void;
395
+ /**
396
+ * @deprecated The global TWEEN Group will be removed in a following major
397
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
398
+ * group.
399
+ *
400
+ * Old code:
401
+ *
402
+ * ```js
403
+ * import * as TWEEN from '@tweenjs/tween.js'
404
+ *
405
+ * //...
406
+ *
407
+ * const tween = new TWEEN.Tween(obj)
408
+ * const tween2 = new TWEEN.Tween(obj2)
409
+ *
410
+ * //...
411
+ *
412
+ * requestAnimationFrame(function loop(time) {
413
+ * TWEEN.update(time)
414
+ * requestAnimationFrame(loop)
415
+ * })
416
+ * ```
417
+ *
418
+ * New code:
419
+ *
420
+ * ```js
421
+ * import {Tween, Group} from '@tweenjs/tween.js'
422
+ *
423
+ * //...
424
+ *
425
+ * const tween = new Tween(obj)
426
+ * const tween2 = new TWEEN.Tween(obj2)
427
+ *
428
+ * //...
429
+ *
430
+ * const group = new Group()
431
+ * group.add(tween)
432
+ * group.add(tween2)
433
+ *
434
+ * //...
435
+ *
436
+ * requestAnimationFrame(function loop(time) {
437
+ * group.update(time)
438
+ * requestAnimationFrame(loop)
439
+ * })
440
+ * ```
441
+ */
442
+ declare const update: {
443
+ (time?: number | undefined): void;
444
+ (time?: number | undefined, preserve?: boolean | undefined): void;
445
+ };
446
+
447
+ declare const exports: {
448
+ Easing: Readonly<{
449
+ Linear: Readonly<EasingFunctionGroup & {
450
+ None: EasingFunction;
451
+ }>;
452
+ Quadratic: Readonly<EasingFunctionGroup>;
453
+ Cubic: Readonly<EasingFunctionGroup>;
454
+ Quartic: Readonly<EasingFunctionGroup>;
455
+ Quintic: Readonly<EasingFunctionGroup>;
456
+ Sinusoidal: Readonly<EasingFunctionGroup>;
457
+ Exponential: Readonly<EasingFunctionGroup>;
458
+ Circular: Readonly<EasingFunctionGroup>;
459
+ Elastic: Readonly<EasingFunctionGroup>;
460
+ Back: Readonly<EasingFunctionGroup>;
461
+ Bounce: Readonly<EasingFunctionGroup>;
462
+ generatePow(power?: number): EasingFunctionGroup;
463
+ }>;
464
+ Group: typeof Group;
465
+ Interpolation: {
466
+ Linear: (v: number[], k: number) => number;
467
+ Bezier: (v: number[], k: number) => number;
468
+ CatmullRom: (v: number[], k: number) => number;
469
+ Utils: {
470
+ Linear: (p0: number, p1: number, t: number) => number;
471
+ Bernstein: (n: number, i: number) => number;
472
+ Factorial: (n: number) => number;
473
+ CatmullRom: (p0: number, p1: number, p2: number, p3: number, t: number) => number;
474
+ };
475
+ };
476
+ now: () => number;
477
+ setNow: typeof setNow;
478
+ Sequence: typeof Sequence;
479
+ nextId: typeof Sequence.nextId;
480
+ Tween: typeof Tween;
481
+ VERSION: string;
482
+ /**
483
+ * @deprecated The global TWEEN Group will be removed in a following major
484
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
485
+ * group.
486
+ *
487
+ * Old code:
488
+ *
489
+ * ```js
490
+ * import * as TWEEN from '@tweenjs/tween.js'
491
+ *
492
+ * //...
493
+ *
494
+ * const tween = new TWEEN.Tween(obj)
495
+ * const tween2 = new TWEEN.Tween(obj2)
496
+ *
497
+ * //...
498
+ *
499
+ * requestAnimationFrame(function loop(time) {
500
+ * TWEEN.update(time)
501
+ * requestAnimationFrame(loop)
502
+ * })
503
+ * ```
504
+ *
505
+ * New code:
506
+ *
507
+ * ```js
508
+ * import {Tween, Group} from '@tweenjs/tween.js'
509
+ *
510
+ * //...
511
+ *
512
+ * const tween = new Tween(obj)
513
+ * const tween2 = new TWEEN.Tween(obj2)
514
+ *
515
+ * //...
516
+ *
517
+ * const group = new Group()
518
+ * group.add(tween)
519
+ * group.add(tween2)
520
+ *
521
+ * //...
522
+ *
523
+ * requestAnimationFrame(function loop(time) {
524
+ * group.update(time)
525
+ * requestAnimationFrame(loop)
526
+ * })
527
+ * ```
528
+ */
529
+ getAll: () => Tween<any>[];
530
+ /**
531
+ * @deprecated The global TWEEN Group will be removed in a following major
532
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
533
+ * group.
534
+ *
535
+ * Old code:
536
+ *
537
+ * ```js
538
+ * import * as TWEEN from '@tweenjs/tween.js'
539
+ *
540
+ * //...
541
+ *
542
+ * const tween = new TWEEN.Tween(obj)
543
+ * const tween2 = new TWEEN.Tween(obj2)
544
+ *
545
+ * //...
546
+ *
547
+ * requestAnimationFrame(function loop(time) {
548
+ * TWEEN.update(time)
549
+ * requestAnimationFrame(loop)
550
+ * })
551
+ * ```
552
+ *
553
+ * New code:
554
+ *
555
+ * ```js
556
+ * import {Tween, Group} from '@tweenjs/tween.js'
557
+ *
558
+ * //...
559
+ *
560
+ * const tween = new Tween(obj)
561
+ * const tween2 = new TWEEN.Tween(obj2)
562
+ *
563
+ * //...
564
+ *
565
+ * const group = new Group()
566
+ * group.add(tween)
567
+ * group.add(tween2)
568
+ *
569
+ * //...
570
+ *
571
+ * requestAnimationFrame(function loop(time) {
572
+ * group.update(time)
573
+ * requestAnimationFrame(loop)
574
+ * })
575
+ * ```
576
+ */
577
+ removeAll: () => void;
578
+ /**
579
+ * @deprecated The global TWEEN Group will be removed in a following major
580
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
581
+ * group.
582
+ *
583
+ * Old code:
584
+ *
585
+ * ```js
586
+ * import * as TWEEN from '@tweenjs/tween.js'
587
+ *
588
+ * //...
589
+ *
590
+ * const tween = new TWEEN.Tween(obj)
591
+ * const tween2 = new TWEEN.Tween(obj2)
592
+ *
593
+ * //...
594
+ *
595
+ * requestAnimationFrame(function loop(time) {
596
+ * TWEEN.update(time)
597
+ * requestAnimationFrame(loop)
598
+ * })
599
+ * ```
600
+ *
601
+ * New code:
602
+ *
603
+ * ```js
604
+ * import {Tween, Group} from '@tweenjs/tween.js'
605
+ *
606
+ * //...
607
+ *
608
+ * const tween = new Tween(obj)
609
+ * const tween2 = new TWEEN.Tween(obj2)
610
+ *
611
+ * //...
612
+ *
613
+ * const group = new Group()
614
+ * group.add(tween)
615
+ * group.add(tween2)
616
+ *
617
+ * //...
618
+ *
619
+ * requestAnimationFrame(function loop(time) {
620
+ * group.update(time)
621
+ * requestAnimationFrame(loop)
622
+ * })
623
+ * ```
624
+ */
625
+ add: (...tweens: Tween<any>[]) => void;
626
+ /**
627
+ * @deprecated The global TWEEN Group will be removed in a following major
628
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
629
+ * group.
630
+ *
631
+ * Old code:
632
+ *
633
+ * ```js
634
+ * import * as TWEEN from '@tweenjs/tween.js'
635
+ *
636
+ * //...
637
+ *
638
+ * const tween = new TWEEN.Tween(obj)
639
+ * const tween2 = new TWEEN.Tween(obj2)
640
+ *
641
+ * //...
642
+ *
643
+ * requestAnimationFrame(function loop(time) {
644
+ * TWEEN.update(time)
645
+ * requestAnimationFrame(loop)
646
+ * })
647
+ * ```
648
+ *
649
+ * New code:
650
+ *
651
+ * ```js
652
+ * import {Tween, Group} from '@tweenjs/tween.js'
653
+ *
654
+ * //...
655
+ *
656
+ * const tween = new Tween(obj)
657
+ * const tween2 = new TWEEN.Tween(obj2)
658
+ *
659
+ * //...
660
+ *
661
+ * const group = new Group()
662
+ * group.add(tween)
663
+ * group.add(tween2)
664
+ *
665
+ * //...
666
+ *
667
+ * requestAnimationFrame(function loop(time) {
668
+ * group.update(time)
669
+ * requestAnimationFrame(loop)
670
+ * })
671
+ * ```
672
+ */
673
+ remove: (...tweens: Tween<any>[]) => void;
674
+ /**
675
+ * @deprecated The global TWEEN Group will be removed in a following major
676
+ * release. To migrate, create a `new Group()` instead of using `TWEEN` as a
677
+ * group.
678
+ *
679
+ * Old code:
680
+ *
681
+ * ```js
682
+ * import * as TWEEN from '@tweenjs/tween.js'
683
+ *
684
+ * //...
685
+ *
686
+ * const tween = new TWEEN.Tween(obj)
687
+ * const tween2 = new TWEEN.Tween(obj2)
688
+ *
689
+ * //...
690
+ *
691
+ * requestAnimationFrame(function loop(time) {
692
+ * TWEEN.update(time)
693
+ * requestAnimationFrame(loop)
694
+ * })
695
+ * ```
696
+ *
697
+ * New code:
698
+ *
699
+ * ```js
700
+ * import {Tween, Group} from '@tweenjs/tween.js'
701
+ *
702
+ * //...
703
+ *
704
+ * const tween = new Tween(obj)
705
+ * const tween2 = new TWEEN.Tween(obj2)
706
+ *
707
+ * //...
708
+ *
709
+ * const group = new Group()
710
+ * group.add(tween)
711
+ * group.add(tween2)
712
+ *
713
+ * //...
714
+ *
715
+ * requestAnimationFrame(function loop(time) {
716
+ * group.update(time)
717
+ * requestAnimationFrame(loop)
718
+ * })
719
+ * ```
720
+ */
721
+ update: {
722
+ (time?: number | undefined): void;
723
+ (time?: number | undefined, preserve?: boolean | undefined): void;
724
+ };
725
+ };
726
+
727
+ export { Easing, Group, Interpolation, Sequence, Tween, VERSION, add, exports as default, getAll, nextId, now, remove, removeAll, setNow, update };