//#region extensions/openai/tts.d.ts
export declare const DEFAULT_OPENAI_BASE_URL = "https://api.openai.com/v1";
export declare const OPENAI_TTS_MODELS: readonly ["gpt-4o-mini-tts", "gpt-4o-mini-tts-2025-12-15", "tts-1", "tts-1-hd"];
export declare const OPENAI_TTS_VOICES: readonly ["alloy", "ash", "ballad", "cedar", "coral", "echo", "fable", "juniper", "marin", "onyx", "nova", "sage", "shimmer", "verse"];
type OpenAiTtsVoice = (typeof OPENAI_TTS_VOICES)[number];
export declare function normalizeOpenAITtsBaseUrl(baseUrl?: string): string;
export declare function isValidOpenAIModel(model: string, baseUrl?: string): boolean;
export declare function isValidOpenAIVoice(voice: string, baseUrl?: string): voice is OpenAiTtsVoice;
export declare function openaiTTS(params: {
  text: string;
  apiKey: string;
  baseUrl: string;
  model: string;
  voice: string;
  speed?: number;
  instructions?: string;
  responseFormat: "mp3" | "opus" | "pcm" | "wav";
  extraBody?: Record<string, unknown>;
  timeoutMs: number;
  maxBytes?: number;
}): Promise<Buffer>;
//#endregion