/** * 一个去抖的 hook,传入一个 function,返回一个去抖后的 function * @param {(...args:T) => Promise} fn * @param {number} wait? */ export declare function useDebounceFn(fn: (...args: T) => Promise, wait?: number): { run: (...args: any) => Promise; cancel: () => void; };