import { Subscription } from 'rxjs';
declare const cancelAnimationFrame: {
    (handle: number): void;
    (handle: number): void;
} & typeof globalThis.cancelAnimationFrame;
declare const requestAnimationFrame: {
    (callback: FrameRequestCallback): number;
    (callback: FrameRequestCallback): number;
} & typeof globalThis.requestAnimationFrame;
interface AnimationFrameProvider {
    schedule(callback: FrameRequestCallback): Subscription;
    requestAnimationFrame: typeof requestAnimationFrame;
    cancelAnimationFrame: typeof cancelAnimationFrame;
    delegate?: Omit<AnimationFrameProvider, 'schedule' | 'delegate'>;
}
export declare const animationFrameProvider: AnimationFrameProvider;
export {};
