/** * Shared NDJSON reader for sandbox exec streams. * @module sandbox/exec-stream */ import type { ExecStreamEvent } from "./types.js"; /** * Reads an exec response body as NDJSON, yielding one event per line. * * Sandbox and LazySandbox consume the same stream, so the loop lives here. * Keeping a copy in each is what let them disagree about malformed input: the * eager path skipped a bad line while the lazy one threw out of the generator * and dropped the output that had already arrived. */ export declare function readExecStreamEvents(body: ReadableStream): AsyncGenerator; //# sourceMappingURL=exec-stream.d.ts.map