export declare namespace useAnimationFrame {
    type Return = {
        start: VoidFunction;
        stop: VoidFunction;
    };
}
/**
 * Starts and stops an animation frame loop with a provided callback.
 * The callback is invoked on each animation frame while enabled.
 */
export declare const useAnimationFrame: (callback: FrameRequestCallback, enabled: boolean) => useAnimationFrame.Return;
