export default function throttle(func: (...args: any[]) => void, wait: number): () => any;