export type Immediate = true | false;
/**
 * 防抖 函数实现
 * 异步函数如何处理
 * @param fn
 * @param delay
 * @param immediate
 * @param context
 */
export declare function debounce(fn: any, delay: number, immediate: Immediate | undefined, context: any): (...args: any[]) => Promise<unknown>;
