import type { AnimationControls, AnimationOptions } from "@motionone/types"; export declare class Animation implements Omit { private resolve?; private reject?; startTime: number | null; private pauseTime; private rate; private tick; private t; private cancelTimestamp; private frameRequestId?; private easing; private duration; private totalDuration; private repeat; playState: AnimationPlayState; constructor(output: (v: number) => void, keyframes?: number[], { easing, duration: initialDuration, delay, endDelay, repeat, offset, direction, autoplay, }?: AnimationOptions); finished: Promise; play(): void; pause(): void; finish(): void; stop(): void; cancel(): void; reverse(): void; commitStyles(): void; private updateDuration; get currentTime(): number; set currentTime(t: number); get playbackRate(): number; set playbackRate(rate: number); } //# sourceMappingURL=Animation.d.ts.map