export interface SseEvent { /** The `event:` field; defaults to "message" per the SSE spec. */ event: string; /** The joined `data:` field(s). */ data: string; } /** Parse all COMPLETE frames out of an accumulated buffer. Returns the parsed * events plus the unparsed remainder (an incomplete trailing frame). */ export declare function parseSse(buffer: string): { events: SseEvent[]; rest: string; }; //# sourceMappingURL=sse.d.ts.map