diff --git a/packages/core/ui/animation/index.d.ts b/packages/core/ui/animation/index.d.ts index 602a61bcc..eb610adc6 100644 --- a/packages/core/ui/animation/index.d.ts +++ b/packages/core/ui/animation/index.d.ts @@ -1,3 +1,16 @@ export type { Pair, Transformation, TransformationType, TransformationValue, TransformFunctionsInfo, Point3D, AnimationPromise, Cancelable } from './animation-types'; -export { Animation, _resolveAnimationCurve } from './animation'; export { KeyframeAnimation, KeyframeAnimationInfo, KeyframeDeclaration, KeyframeInfo } from './keyframe-animation'; +import type { AnimationDefinition, AnimationPromise } from './animation-types'; + +/** + * Defines a animation set. + */ +export class Animation { + constructor(animationDefinitions: Array, playSequentially?: boolean); + public play: (resetOnFinish?: boolean) => AnimationPromise; + public cancel: () => void; + public isPlaying: boolean; + public _resolveAnimationCurve(curve: any): any; +} + +export function _resolveAnimationCurve(curve: any): any;