import { TTS } from '../../agents/providers.js'; /** * Configuration options for the Neuphonic text-to-speech (TTS) provider. */ export type NeuphonicTTSOptions = { /** * Neuphonic API key used to authenticate requests. * Defaults to the `NEUPHONIC_API_KEY` environment variable when omitted. */ apiKey?: string; /** * Identifier of the Neuphonic voice to synthesize with. * Defaults to `null`, in which case the provider's default voice is used. */ voiceId?: string | null; /** * BCP-47 language code for synthesis (e.g. `"en"`). * No default is applied; when omitted the provider's default language is used. */ langCode?: string; /** * Audio output sampling rate in Hz. Defaults to `22050`. */ samplingRate?: number; }; declare class NeuphonicTTSImpl extends TTS { _providerName: string; apiKey?: string; voiceId: string | null; voice: string | null; constructor(opts?: NeuphonicTTSOptions); getRuntimeConfig(): Record; } /** Instance type of a configured Neuphonic TTS provider. */ export type NeuphonicTTS = NeuphonicTTSImpl; /** * Neuphonic text-to-speech (TTS) provider. * * @param opts - Provider configuration (API key, voice, language, sampling rate). * @returns A configured Neuphonic TTS provider instance. */ export declare const NeuphonicTTS: (opts?: NeuphonicTTSOptions) => NeuphonicTTS; export {};