/** * Responses SSE encoder (spec ยง16.5): ordered lifecycle frames with * monotonic sequence numbers over the shared accumulator. The accumulator * stays the single source for final content, so replaced snapshots never * duplicate streamed fragments. Exactly one terminal frame; no Chat * `[DONE]`. Overflow or protocol breach aborts the source and fails * neutrally with partial output. */ import type { StreamEvent } from '@sentropic/llm-mesh'; import type { GatewayDispatchStreamEvent } from './ports/dispatch.js'; import { type ResponsesLimits } from './responses-egress.js'; export declare const encodeResponsesStream: (input: { responseId: string; model: string; createdAt: number; events: AsyncIterable; limits?: ResponsesLimits; }) => AsyncGenerator; //# sourceMappingURL=responses-stream.d.ts.map