export default function debounce(func: T, ms: number): T;