type DebouncedFunction any> = (...args: Parameters) => void; declare function debounce any>(fn: T, ms: number): DebouncedFunction; export { debounce };