/** Generic SSE event shape used by all stream methods. */ export interface SSEEvent { event_type: string; data: unknown; } /** * Parse an SSE response into an async generator of `{ event_type, data }` objects. * Works for both execution streams and proxy streams. */ export declare function parseSSEStream(response: Response): AsyncGenerator;