export declare const cache: unknown>(fn: T, context?: any, predicate?: ((...args: Parameters) => boolean) | undefined) => (refresh: any, ...args: Parameters) => ReturnType; export declare const retry: any>(fn: T, max: number, wait?: number, context?: object) => (...args: Parameters) => Promise>; declare function throttle(fn: Function, wait?: number, context?: any): any; declare function throttle(fn: Function, immediately?: boolean, wait?: number, context?: any): any; declare function throttle(fn: Function, alwaysFn?: Function, wait?: number, context?: any): any; declare function throttle(fn: Function, alwaysFn?: Function, immediately?: boolean, wait?: number, context?: any): any; declare function debounce(fn: Function, wait?: number, context?: any): any; declare function debounce(fn: Function, immediately?: boolean, wait?: number, context?: any): any; declare function debounce(fn: Function, alwaysFn?: Function, wait?: number, context?: any): any; declare function debounce(fn: Function, alwaysFn?: Function, immediately?: boolean, wait?: number, context?: any): any; export { throttle, debounce };