/**
 * Anthropic Output Format Processor
 * Converts provider responses to Anthropic API format
 */
import { OutputProcessor, BaseRequest, BaseResponse } from '@/types';
export declare class AnthropicOutputProcessor implements OutputProcessor {
    readonly name = "anthropic";
    private pipelineDebugger;
    private consistencyValidator;
    private port;
    constructor(port: number);
    /**
     * Check if this processor can handle the response format
     */
    canProcess(response: any, format: string): boolean;
    /**
     * Process provider response to Anthropic format
     */
    process(response: any, originalRequest: BaseRequest): Promise<BaseResponse>;
    /**
     * Check if response is already in Anthropic format
     */
    private isAnthropicFormat;
    /**
     * Normalize content to Anthropic format with tool error detection
     */
    private normalizeContent;
    /**
     * Normalize a single content block with tool error detection
     */
    private normalizeContentBlock;
    /**
     * Check for tool calls appearing in text areas (error condition)
     */
    private checkForToolCallsInText;
    /**
     * Estimate input tokens
     */
    private estimateInputTokens;
    /**
     * Estimate output tokens
     */
    private estimateOutputTokens;
    /**
     * 计算工具调用数量
     */
    private countToolCalls;
}
//# sourceMappingURL=processor.d.ts.map