declare type Params = any[]; declare type Func = (...args: Params) => void; declare type Debounce = (func: Func, timeout?: number) => Func; declare const debounce: Debounce; declare type FuncForKey = () => void; declare type DebounceByKey = (key: string, func?: FuncForKey, timeout?: number) => void; declare const debounceByKey: DebounceByKey; export { debounce, debounceByKey };