/** * Voice configuration for different languages * * Maps language codes to TTS voice identifiers and BCP-47 language tags. * Default configuration uses Amazon Polly voices via Twilio. */ import type { VoiceConfig } from "../types"; /** * Get voice configuration for a language, with optional custom overrides. * * Both maps are read with `Object.hasOwn`: the language is caller-influenced, * and a plain `[language]` index resolves inherited keys like `constructor` * to a non-`VoiceConfig` value, which reaches TwiML as an undefined voice and * breaks speech for the rest of the session. */ export declare function getVoiceConfig(language: string, customVoices?: Record): VoiceConfig; /** * Get the default voice map (useful for consumers who want to extend it) */ export declare function getDefaultVoices(): Record;