import type { SSEMessage } from '../../types/ai-search'; /** * Parses SSE lines, keeping the trailing incomplete line buffered between network chunks */ export declare function createSSEParser(): { push(chunk: string): SSEMessage[]; flush(): SSEMessage[]; }; /** * Creates an async generator that reads SSE messages from a ReadableStream */ export declare function streamSSEMessages(stream: ReadableStream, signal?: AbortSignal): AsyncGenerator; //# sourceMappingURL=sse-parser.d.ts.map