/**
 * @param {(...args:T) => R} func
 * @param {number | (() => number)} wait
 * @template {any[]} T
 * @template R
 */
export function debounce<T extends any[], R>(func: (...args: T) => R, wait: number | (() => number), rejectOnDebounce?: boolean): (...args: T) => Promise<R>;
//# sourceMappingURL=debounce.d.ts.map