type anyFunc = (...args: any[]) => void; export declare function historyDebounce(fn: anyFunc, ...restArguments: any[]): () => void; export {};