import { SpeechVoiceLike } from '../voice/speechVoices'; /** Vendor tier this catalogue describes; sent to the backend with each request. */ export declare const HOSTED_TTS_TIER = "chirp3-hd"; /** * Every hosted voice, as `SpeechVoiceLike` so it is interchangeable with a * device voice everywhere downstream. * * The vendor id form is `-Chirp3-HD-`, e.g. * `ta-IN-Chirp3-HD-Kore`. It is used as BOTH the display name and the id the * backend receives, because the persisted preference is keyed by name — a * separate display label would break a saved pick the first time it changed. * * `name` is therefore always the VENDOR's spelling (it is sent on the wire and * must exist), while `lang` is always the APP's (it is matched against * `SPEECH_LANG`). For every locale but Mandarin these are the same string. */ export declare const HOSTED_VOICES: readonly SpeechVoiceLike[]; /** * The exact vendor locale to request for an app tag, or null when the vendor * cannot speak the language at all. * * Prefers an exact match (`en-GB` stays `en-GB`, `zh-CN` becomes `cmn-CN`) and * otherwise falls back to the primary subtag's canonical vendor locale * (`ar-SA` -> `ar-XA`, `zh` -> `cmn-CN`). */ export declare function hostedLocaleFor(tag: string): string | null; /** * True when the hosted engine can actually speak this language. * * The caller needs this to decide whether to fall back to the device engine * for a reply in a language the vendor does not cover, rather than sending a * request that can only fail. */ export declare function hostedSupportsLanguage(tag: string): boolean; //# sourceMappingURL=hostedVoiceCatalogue.d.ts.map