import type { GlobalObject } from '../../lib/globalObject.js';
export declare const animation: (globalObject: GlobalObject) => {
    animate: (amount: number, onDelta: (x0: number) => void, onEnd?: () => void) => void;
    inProgress: () => boolean;
    cancel: () => void;
    finish: () => void;
};
