export interface AsyncQueueItem<T, R> {
    item: T;
    resolve: (value: R) => void;
    reject: (error: any) => void;
}
export declare class AsyncQueue<T, R> {
    private queue;
    private processing;
    private processFn;
    constructor(processFn: (item: T) => Promise<R>);
    enqueue(item: T): Promise<R>;
    private processQueue;
}
