import { Flow } from "@sisyphus.js/runtime"; export interface ServerSentEvent { /** The event ID to set the EventSource object's last event ID value. */ id: string; /** A string identifying the type of event described. */ event: string; /** The event data */ data: string; /** The reconnection interval (in milliseconds) to wait before retrying the connection */ retry?: number; } export declare function decodeServerSentEventToFlow(body: ReadableStream): Flow; //# sourceMappingURL=sse.d.ts.map