import { Observable } from "rxjs";
export declare type QueueItemType = () => Observable<any>;
export declare class JobQueue {
    private queue;
    constructor();
    add(item: QueueItemType): Observable<any>;
    onEmpty(): Promise<void>;
    readonly size: number;
}
