/**
 * 事件序列化适配器模块导出
 * 提供Chat和Responses协议的事件序列化功能
 */
import { BatchSerializer } from './base-serializer.js';
import type { EventSerializer, SerializationOptions } from './base-serializer.js';
import { ChatEventSerializer } from './chat-event-serializer.js';
import { ResponsesEventSerializer } from './responses-event-serializer.js';
export type { SerializationOptions, ChatSerializationOptions, ResponsesSerializationOptions, EventSerializer, ChatEventSerializer, ResponsesEventSerializer } from './types.js';
export type { BaseEventSerializer, SerializationError, SerializationResult, BatchSerializer } from './base-serializer.js';
export { defaultChatEventSerializer } from './chat-event-serializer.js';
export { defaultResponsesEventSerializer } from './responses-event-serializer.js';
export { serializeAnthropicEventToSSE } from './anthropic-event-serializer.js';
export { serializeGeminiEventToSSE } from './gemini-event-serializer.js';
/**
 * 创建序列化器工厂
 */
export declare class SerializerFactory {
    /**
     * 创建Chat协议序列化器
     */
    static createChatSerializer(options?: SerializationOptions): ChatEventSerializer;
    /**
     * 创建Responses协议序列化器
     */
    static createResponsesSerializer(options?: SerializationOptions): ResponsesEventSerializer;
    /**
     * 根据协议类型创建序列化器
     */
    static createSerializer(protocol: 'chat' | 'responses', options?: SerializationOptions): EventSerializer<any>;
    /**
     * 创建批量序列化器
     */
    static createBatchSerializer<TEvent>(serializer: EventSerializer<TEvent>): BatchSerializer<TEvent>;
}
/**
 * 默认序列化器实例
 */
export declare const defaultSerializers: {
    chat: ChatEventSerializer;
    responses: ResponsesEventSerializer;
};
