import { DEFAULT_ANTHROPIC_CONVERSION_CONFIG } from '../types/index.js';
import type { AnthropicMessageResponse, SseToAnthropicJsonOptions } from '../types/index.js';
type AnthropicSseToJsonConverterConfig = {
    enableEventValidation: boolean;
    strictMode: boolean;
} & typeof DEFAULT_ANTHROPIC_CONVERSION_CONFIG;
export declare class AnthropicSseToJsonConverter {
    private config;
    private contexts;
    constructor(config?: Partial<AnthropicSseToJsonConverterConfig>);
    convertSseToJson(sseStream: AsyncIterable<string | Buffer>, options: SseToAnthropicJsonOptions): Promise<AnthropicMessageResponse>;
    private isTerminatedError;
    private createContext;
    private chunkStrings;
    private updateStats;
    private extractAnthropicErrorEventMessage;
    private wrapError;
}
export {};
