/// <reference types="node" />
import { APIClient } from './api-client';
export declare class APIQueue {
    readonly api: APIClient;
    running: boolean;
    private queue;
    constructor(api: APIClient);
    start(id: string, date?: Date): void;
    progress(id: string, buffer: Buffer): void;
    complete(id: string, success: boolean, date?: Date): void;
    wait(fn?: () => Promise<void>): Promise<void>;
    private getItem;
    private flush;
}
//# sourceMappingURL=api-queue.d.ts.map