/** * debounce 함수를 생성한다. * * ```ts * // 함수를 만들 때 debounce 로 감싼다. * const debouncedFunc = debounce(() => { * ... * }, 500)() * * // 여러 번 호출하더라도, 마지막 호출만 실행된다. * debouncedFunc() * ``` * @param func * @param wait */ export declare const debounce: (func: (...args: any[]) => T, wait: number) => ((...args: any[]) => Promise);