interface IAnimateOptions {
    duration: number;
    update: (
    /**
     * The progress of the animation over the time.
     * Between `0` and `1`.
     */
    progress: number) => void;
    cancellationToken?: {
        cancel: boolean;
    };
}
declare const _default: ({ duration, update, cancellationToken }: IAnimateOptions) => Promise<void>;
export default _default;
