/** Maximum decoded provider SSE data retained or parsed in one pass. */ export declare const MAX_PROVIDER_SSE_BUFFER_CODE_UNITS: number; /** * Parse a bounded provider SSE buffer. * * CR, LF, and CRLF framing are accepted. Malformed JSON and buffers above the * fixed retention limit fail closed rather than being silently discarded. */ export declare function parseSseChunk(chunk: string): { events: Array; remainder: string; }; /** * Parse the final unterminated SSE block without making the synthetic frame * delimiter count against the caller-visible retention boundary. */ export declare function parseFinalSseChunk(chunk: string): { events: Array; remainder: string; }; //# sourceMappingURL=provider-sse.d.ts.map