/**
 * SSE双向转换模块统一导出
 * 支持Chat和Responses协议的JSON↔SSE双向转换
 */
import type { ChatCompletionResponse, ChatJsonToSseOptions, ResponsesJsonToSseOptions, ResponsesResponse, SseToChatJsonOptions, SseToResponsesJsonOptions } from './types/index.js';
import type { AnthropicMessageResponse } from './types/anthropic-types.js';
import type { GeminiResponse, GeminiJsonToSseOptions, SseToGeminiJsonOptions } from './types/gemini-types.js';
import { ChatSseToJsonConverter as ChatSseToJsonConverterCtor } from './sse-to-json/index.js';
import { ResponsesSseToJsonConverter as ResponsesSseToJsonConverterCtor } from './sse-to-json/index.js';
import { AnthropicJsonToSseConverter as AnthropicJsonToSseConverterCtor } from './json-to-sse/anthropic-json-to-sse-converter.js';
import { AnthropicSseToJsonConverter as AnthropicSseToJsonConverterCtor } from './sse-to-json/anthropic-sse-to-json-converter.js';
import { GeminiJsonToSseConverter as GeminiJsonToSseConverterCtor } from './json-to-sse/gemini-json-to-sse-converter.js';
import { GeminiSseToJsonConverter as GeminiSseToJsonConverterCtor } from './sse-to-json/gemini-sse-to-json-converter.js';
export { ChatJsonToSseConverter } from './json-to-sse/index.js';
export { ChatSseToJsonConverter } from './sse-to-json/index.js';
export { ResponsesJsonToSseConverter } from './json-to-sse/index.js';
export { ResponsesSseToJsonConverter } from './sse-to-json/index.js';
export { GeminiJsonToSseConverter } from './json-to-sse/index.js';
export { GeminiSseToJsonConverter } from './sse-to-json/index.js';
export * from './shared/utils.js';
export * from './types/index.js';
/**
 * 工厂函数：创建Chat协议转换器
 */
export declare function createChatConverters(): {
    jsonToSse: import("./json-to-sse/chat-json-to-sse-converter.js").ChatJsonToSseConverterRefactored;
    sseToJson: ChatSseToJsonConverterCtor;
    /**
     * 执行完整的回环测试
     */
    roundTrip(input: ChatCompletionResponse, options: ChatJsonToSseOptions & SseToChatJsonOptions): Promise<ChatCompletionResponse>;
};
/**
 * 工厂函数：创建Responses协议转换器
 */
export declare function createResponsesConverters(): {
    jsonToSse: import("./json-to-sse/responses-json-to-sse-converter.js").ResponsesJsonToSseConverterRefactored;
    sseToJson: ResponsesSseToJsonConverterCtor;
    /**
     * 执行完整的回环测试
     */
    roundTrip(input: ResponsesResponse, options: ResponsesJsonToSseOptions & SseToResponsesJsonOptions): Promise<ResponsesResponse>;
};
/**
 * 工厂函数：创建Anthropic协议转换器
 */
export declare function createAnthropicConverters(): {
    jsonToSse: AnthropicJsonToSseConverterCtor;
    sseToJson: AnthropicSseToJsonConverterCtor;
    roundTrip(input: AnthropicMessageResponse, options: {
        requestId: string;
        model: string;
        reasoningMode?: import("./types/chat-types.js").ChatReasoningMode;
        reasoningTextPrefix?: string;
    }): Promise<AnthropicMessageResponse>;
};
/**
 * 工厂函数：创建Gemini协议转换器
 */
export declare function createGeminiConverters(): {
    jsonToSse: GeminiJsonToSseConverterCtor;
    sseToJson: GeminiSseToJsonConverterCtor;
    roundTrip(input: GeminiResponse, options: GeminiJsonToSseOptions & SseToGeminiJsonOptions): Promise<GeminiResponse>;
};
/**
 * 工厂函数：创建完整的双向转换器（支持Chat和Responses协议）
 */
export declare function createBidirectionalConverters(): {
    chat: {
        jsonToSse: import("./json-to-sse/chat-json-to-sse-converter.js").ChatJsonToSseConverterRefactored;
        sseToJson: ChatSseToJsonConverterCtor;
        /**
         * 执行完整的回环测试
         */
        roundTrip(input: ChatCompletionResponse, options: ChatJsonToSseOptions & SseToChatJsonOptions): Promise<ChatCompletionResponse>;
    };
    responses: {
        jsonToSse: import("./json-to-sse/responses-json-to-sse-converter.js").ResponsesJsonToSseConverterRefactored;
        sseToJson: ResponsesSseToJsonConverterCtor;
        /**
         * 执行完整的回环测试
         */
        roundTrip(input: ResponsesResponse, options: ResponsesJsonToSseOptions & SseToResponsesJsonOptions): Promise<ResponsesResponse>;
    };
    anthropic: {
        jsonToSse: AnthropicJsonToSseConverterCtor;
        sseToJson: AnthropicSseToJsonConverterCtor;
        roundTrip(input: AnthropicMessageResponse, options: {
            requestId: string;
            model: string;
            reasoningMode?: import("./types/chat-types.js").ChatReasoningMode;
            reasoningTextPrefix?: string;
        }): Promise<AnthropicMessageResponse>;
    };
    gemini: {
        jsonToSse: GeminiJsonToSseConverterCtor;
        sseToJson: GeminiSseToJsonConverterCtor;
        roundTrip(input: GeminiResponse, options: GeminiJsonToSseOptions & SseToGeminiJsonOptions): Promise<GeminiResponse>;
    };
    /**
     * 自动检测协议类型并执行转换
     */
    autoConvert(input: any, options?: any): Promise<ChatCompletionResponse | ResponsesResponse | AnthropicMessageResponse | GeminiResponse>;
};
/**
 * 默认转换器实例
 */
export declare const chatConverters: {
    jsonToSse: import("./json-to-sse/chat-json-to-sse-converter.js").ChatJsonToSseConverterRefactored;
    sseToJson: ChatSseToJsonConverterCtor;
    /**
     * 执行完整的回环测试
     */
    roundTrip(input: ChatCompletionResponse, options: ChatJsonToSseOptions & SseToChatJsonOptions): Promise<ChatCompletionResponse>;
};
export declare const responsesConverters: {
    jsonToSse: import("./json-to-sse/responses-json-to-sse-converter.js").ResponsesJsonToSseConverterRefactored;
    sseToJson: ResponsesSseToJsonConverterCtor;
    /**
     * 执行完整的回环测试
     */
    roundTrip(input: ResponsesResponse, options: ResponsesJsonToSseOptions & SseToResponsesJsonOptions): Promise<ResponsesResponse>;
};
export declare const bidirectionalConverters: {
    chat: {
        jsonToSse: import("./json-to-sse/chat-json-to-sse-converter.js").ChatJsonToSseConverterRefactored;
        sseToJson: ChatSseToJsonConverterCtor;
        /**
         * 执行完整的回环测试
         */
        roundTrip(input: ChatCompletionResponse, options: ChatJsonToSseOptions & SseToChatJsonOptions): Promise<ChatCompletionResponse>;
    };
    responses: {
        jsonToSse: import("./json-to-sse/responses-json-to-sse-converter.js").ResponsesJsonToSseConverterRefactored;
        sseToJson: ResponsesSseToJsonConverterCtor;
        /**
         * 执行完整的回环测试
         */
        roundTrip(input: ResponsesResponse, options: ResponsesJsonToSseOptions & SseToResponsesJsonOptions): Promise<ResponsesResponse>;
    };
    anthropic: {
        jsonToSse: AnthropicJsonToSseConverterCtor;
        sseToJson: AnthropicSseToJsonConverterCtor;
        roundTrip(input: AnthropicMessageResponse, options: {
            requestId: string;
            model: string;
            reasoningMode?: import("./types/chat-types.js").ChatReasoningMode;
            reasoningTextPrefix?: string;
        }): Promise<AnthropicMessageResponse>;
    };
    gemini: {
        jsonToSse: GeminiJsonToSseConverterCtor;
        sseToJson: GeminiSseToJsonConverterCtor;
        roundTrip(input: GeminiResponse, options: GeminiJsonToSseOptions & SseToGeminiJsonOptions): Promise<GeminiResponse>;
    };
    /**
     * 自动检测协议类型并执行转换
     */
    autoConvert(input: any, options?: any): Promise<ChatCompletionResponse | ResponsesResponse | AnthropicMessageResponse | GeminiResponse>;
};
export declare const anthropicConverters: {
    jsonToSse: AnthropicJsonToSseConverterCtor;
    sseToJson: AnthropicSseToJsonConverterCtor;
    roundTrip(input: AnthropicMessageResponse, options: {
        requestId: string;
        model: string;
        reasoningMode?: import("./types/chat-types.js").ChatReasoningMode;
        reasoningTextPrefix?: string;
    }): Promise<AnthropicMessageResponse>;
};
export declare const geminiConverters: {
    jsonToSse: GeminiJsonToSseConverterCtor;
    sseToJson: GeminiSseToJsonConverterCtor;
    roundTrip(input: GeminiResponse, options: GeminiJsonToSseOptions & SseToGeminiJsonOptions): Promise<GeminiResponse>;
};
export { defaultSseCodecRegistry, SseCodecRegistry, type SseCodec, type SseProtocol, type JsonToSseContext, type SseToJsonContext, type NormalizeSseContext } from './registry/sse-codec-registry.js';
