declare function debounce(func: (...args: Params) => void, timeout: number): (...args: Params) => void; export default debounce;