export declare function debounce(func: any, wait: any, immediate?: boolean): () => void;