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