import { PassThrough } from 'node:stream';
import { DEFAULT_ANTHROPIC_CONVERSION_CONFIG } from '../types/index.js';
import type { AnthropicMessageResponse, AnthropicJsonToSseOptions } from '../types/index.js';
export declare class AnthropicJsonToSseConverter {
    private config;
    private contexts;
    constructor(config?: Partial<typeof DEFAULT_ANTHROPIC_CONVERSION_CONFIG>);
    convertResponseToJsonToSse(response: AnthropicMessageResponse, options: AnthropicJsonToSseOptions): Promise<PassThrough>;
    private createContext;
    private processResponse;
    private updateStats;
    private validateResponse;
    private handleStreamError;
    private wrapError;
}
