import type { SSEMessage } from '../../types/ai-search';
/**
 * Parses SSE data lines from a chunk string
 */
export declare function parseSSEChunk(chunk: string): SSEMessage[];
/**
 * Creates an async generator that reads SSE messages from a ReadableStream
 */
export declare function streamSSEMessages(stream: ReadableStream<Uint8Array>, signal?: AbortSignal): AsyncGenerator<SSEMessage>;
//# sourceMappingURL=sse-parser.d.ts.map