export declare const animation: () => {
    animate: (amount: number, onDelta: (x0: number) => void, onEnd?: () => void) => void;
    inProgress: () => boolean;
    cancel: () => void;
    finish: () => void;
};
