/** * @description simple debounce function */ export declare function debounce any>(func: T, wait: number, immediate?: boolean): T;