import { TTS } from '../../agents/providers.js'; /** * Configuration options for the NVIDIA Riva text-to-speech (TTS) provider. */ export type NvidiaTTSOptions = { /** * NVIDIA API key. Falls back to the `NVIDIA_API_KEY` environment variable * when omitted. */ apiKey?: string; /** * Riva synthesis voice name. * @default 'English-US-Female-1' */ voice?: string; /** * BCP-47 language code for synthesis (e.g. `'en-US'`). Accepted for * compatibility; currently has no effect. */ languageCode?: string; /** * Output audio sample rate, in hertz. * @default 22050 */ sampleRate?: number; /** * Riva endpoint host. Accepted for compatibility; currently has no effect. */ server?: string; /** Additional provider options are accepted for forward compatibility. */ [key: string]: any; }; declare class NvidiaTTSImpl extends TTS { _providerName: string; apiKey?: string; voiceId: string; voice: string; constructor(opts?: NvidiaTTSOptions); getRuntimeConfig(): Record; } /** A configured NVIDIA Riva TTS provider instance. */ export type NvidiaTTS = NvidiaTTSImpl; /** * NVIDIA Riva text-to-speech (TTS) provider. * * @param opts - {@link NvidiaTTSOptions} configuration. * @returns A configured TTS provider instance. */ export declare const NvidiaTTS: (opts?: NvidiaTTSOptions) => NvidiaTTS; export {};