declare function debounce(func: Function, time: number): (...args: any) => void; export default debounce;