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