/** * Minimal promise-based async queue bridging callback-style ACP notifications * into the async-iterable world the stream translator consumes. */ export declare class AsyncQueue implements AsyncIterable { private readonly values; private readonly waiters; private ended; private error; private failed; push(value: T): void; end(): void; fail(error: unknown): void; [Symbol.asyncIterator](): AsyncIterator; }