import { FetchResponseLike, OpenAIStreamEventLike } from "../types/index.js";
/** Fetch Response (text/event-stream) → AsyncIterable of stream events. Handles [DONE], errors; 4xx/5xx yield error. */
export declare function fetchResponseToStreamEvents(response: FetchResponseLike): AsyncIterable<OpenAIStreamEventLike>;
