/**
 * A queue that takes in and runs asynchronous functions (tasks) in series.
 */
export declare class TaskQueue {
    #private;
    constructor();
    /**
     * Runs a task function in the queue.
     *
     * @returns a promise that resolves to the same value as that which is
     *          returned by the task function.
     */
    run<O>(task: () => Promise<O>): Promise<O>;
}
//# sourceMappingURL=taskqueue.d.ts.map