type ThrottledFunction = ((...args: T[]) => void) & { cleanup: () => void; }; export declare function throttle(func: (...args: T[]) => void, limit: number): ThrottledFunction; export {};