export type Action<T extends unknown[]> = (...args: T) => void;
/**
 * The function to call as much as you want. It will perform the debouce for you.
 * Put in the same args as the `action` function.
 *
 * * action -  Action to call. Two consecutive actions cannot be  called if there is
 * less than `delay` ms between them.
 * * delay - Number of milliseconds.
 */
export declare function asyncCreateDebouncer<T extends unknown[]>(action: Action<T>, delay: number): Action<T>;
export declare function asyncSleep(milliseconds: number): Promise<void>;
//# sourceMappingURL=async.d.ts.map