export default function debounce(func: any, wait: number, immediate?: boolean): (...args: any[]) => void;