import { Logger } from 'pino';
export declare class APICallsQueue {
    private currentAbortController;
    /**
     * Enqueue an API call so that it can get cancelled if another call is enqueued before it finishes.
     */
    enqueue<T>(call: (signal: AbortSignal | null) => Promise<T>, options: {
        logger: Logger;
        warnOnAbort: boolean;
    }): Promise<T>;
}
