type DebouncedFunction any> = (...args: Parameters) => void; export declare function debounce any>(func: T, wait: number, immediate?: boolean): DebouncedFunction; export default debounce;