/** * A debounce function ensures that a function is not called too frequently. * It only allows the function to be executed after a specified delay has passed since the last call. * @param func The function to debounce. * @param wait The delay in ms before the function is called. */ export declare function debounce void>(func: T, wait: number): (...args: Parameters) => void;