/** * @param {{ (): void }} func */ export default function debounce(func: { (): void; }, wait?: number): { (...args: any[]): void; clear(): void; };