/** * Creates a debounced function that delays executing 'fn' until after 'wait' milliseconds have passed since the last execution. */ export default function createDebouncer(fn: (...args: Args) => unknown, wait?: number): (...args: Args) => void;