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