import { Panzoom } from "./panzoom.js"; export declare class _PanzoomAnimation extends Animation { /** Extends a normal animation to a panzoom animation */ static extend(anim: Animation, pz: Panzoom): _PanzoomAnimation; private constructor(); private _pz; get done(): boolean; pause(): void; /** Immediately cancels the animation and reverts the new transformation */ cancel(): void; /** Immediately finishes the animation and commits the new transformation */ finish(): void; /** Runs the callback when the animation is completed, canceled, or interrupted */ onDone(cb: () => void): void; /** Cancels the animation where it is and commits the current transformation */ interrupt(): Promise; } export type PanzoomAnimation = Pick<_PanzoomAnimation, 'addEventListener' | 'removeEventListener' | 'cancel' | 'finish' | 'interrupt' | 'done'>; //# sourceMappingURL=animation.d.ts.map