export interface SseClientOptions { authHeaders: () => Record; baseURL: string; path: string; onEvent: (evt: string, data: any) => void; log?: (msg: string) => void; } export declare function createSSEClient(options: SseClientOptions): { stop: () => void; reset: () => void; }; export declare function createFrameParser(): { push: (chunk: string) => Array<{ event: string; data: string; id: string }>; reset: () => void; lastEventId: () => string; setLastEventId: (id: string) => void; };