type AnyFunction = (...args: undefined | unknown[]) => void | unknown[]; export declare const throttle: (fn: F, wait?: number) => (this: unknown, ...args: unknown[]) => void; export {};