export type Callback = (err?: Error) => void;
export declare class ExecuteTooManyTimesError extends Error {
    expected: number;
    actual: number;
    constructor(expected: number, actual: number);
}
export declare function pending(fn: Callback, n: number): (err?: Error) => void;
export declare function pending(n: number, fn: Callback): (err?: Error) => void;
/**
 * @deprecated Use `pending` instead
 */
export declare const pedding: typeof pending;
