export declare type RafThrottledFunction void> = Fn & { cancel: () => void; pending: () => boolean; }; /** * Creates a throttled function that only invokes `func` at most once per animation frame. * * @param func - The function to throttle. * @link https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame */ export declare function rafThrottle void>(func: Fn): RafThrottledFunction;