import { PassThrough, Readable } from 'node:stream';
import type { ChatSseEvent } from '../types/index.js';
export declare function serializeChatEventToSSE(evt: ChatSseEvent): string;
export declare function toSSETextStream(objectEventStream: Readable): PassThrough;
