export default class AsyncQueue { private _values; private _settlers; private _closed; constructor(); close(): void; [Symbol.asyncIterator](): AsyncIterator; enqueue(value: T | Error): void; /** * @returns a Promise for an IteratorResult */ next(): Promise; } /** * @returns a Promise for an Array with the elements in `asyncIterable` */ export declare function takeAsync(asyncIterable: AsyncIterable, count?: number): Promise; //# sourceMappingURL=async-queue.d.ts.map