type throttledFn = (...args: any[]) => void;
type ReturnThrottledFn = throttledFn & throttledCancelFn;
interface throttledCancelFn {
    cancel: () => void;
}
declare function throttleByAnimationFrame<T extends any[]>(fn: (...args: T) => void): ReturnThrottledFn;
export default throttleByAnimationFrame;
