declare function debounce(fn: (arg: T) => void, ms: number): (arg: T) => void; export default debounce;