/**
 * OpenAI-compatible TTS adapter — the open-source default engine.
 *
 * Targets the de-facto-standard `POST {baseUrl}/audio/speech` contract, so it
 * works with OpenAI's cloud TTS and any self-hosted compatible server
 * (Kokoro-FastAPI, openedai-speech, etc.) — users bring their own baseUrl/key.
 *
 * We request `response_format: 'pcm'` (24kHz s16le mono, per the OpenAI spec)
 * so the rest of the pipeline shares one clean PCM→opus encode path. Servers
 * that don't implement pcm should be configured against one that does.
 */
import type { Pcm } from './audio.js';
export interface OpenAITtsConfig {
    baseUrl: string;
    apiKey: string;
    model: string;
}
export interface OpenAISynthOpts {
    speaker: string;
    rate?: number;
    timeoutMs?: number;
}
export declare function openaiSynthesizePcm(cfg: OpenAITtsConfig, text: string, opts: OpenAISynthOpts): Promise<Pcm>;
//# sourceMappingURL=openai.d.ts.map