/**
 * Responses协议事件编排器
 * 负责将Responses响应数据转换为有序的SSE事件流
 */
import type { ResponsesResponse, ResponsesFunctionCallOutputItem, ResponsesSseEvent } from '../../types/index.js';
import type { ResponsesEventGeneratorContext, ResponsesEventGeneratorConfig } from '../event-generators/responses.js';
export interface ResponsesSequencerConfig extends ResponsesEventGeneratorConfig {
    enableValidation: boolean;
    enableRecovery: boolean;
    enableDelay: boolean;
    maxOutputItems: number;
    maxContentParts: number;
    submittedToolOutputs?: ResponsesFunctionCallOutputItem[];
}
export declare const DEFAULT_RESPONSES_SEQUENCER_CONFIG: ResponsesSequencerConfig;
/**
 * 主编排器：将Responses响应转换为有序的SSE事件流
 */
export declare function sequenceResponse(response: ResponsesResponse, context: ResponsesEventGeneratorContext, config?: ResponsesSequencerConfig): AsyncGenerator<ResponsesSseEvent>;
/**
 * 序列化Responses请求（用于请求→SSE转换）
 */
export declare function sequenceRequest(request: any, context: ResponsesEventGeneratorContext, config?: ResponsesSequencerConfig): AsyncGenerator<ResponsesSseEvent>;
/**
 * 创建Responses事件序列化器工厂
 */
export declare function createResponsesSequencer(config?: Partial<ResponsesSequencerConfig>): {
    /**
     * 序列化响应
     */
    sequenceResponse(response: ResponsesResponse, requestId: string): AsyncGenerator<ResponsesSseEvent, void, any>;
    /**
     * 序列化请求
     */
    sequenceRequest(request: any, requestId: string): AsyncGenerator<ResponsesSseEvent, void, any>;
    /**
     * 获取当前配置
     */
    getConfig(): ResponsesSequencerConfig;
};
