import { STT } from '../../agents/providers.js'; /** * Configuration options for the NVIDIA Riva speech-to-text (STT) provider. */ export type NvidiaSTTOptions = { /** * NVIDIA API key. Falls back to the `NVIDIA_API_KEY` environment variable * when omitted. */ apiKey?: string; /** * Riva ASR model identifier. * @default 'parakeet-1.1b-en-US-asr-streaming-silero-vad-sortformer' */ model?: string; /** * Riva endpoint host. Accepted for compatibility; currently has no effect. */ server?: string; /** * NVIDIA NIM function ID. Accepted for compatibility; currently has no effect. */ functionId?: string; /** * BCP-47 language code for transcription (e.g. `'en-US'`). * @default 'en-US' */ languageCode?: string; /** * Input audio sample rate, in hertz. * @default 16000 */ sampleRate?: number; /** * Whether to use a secure (SSL/TLS) connection. Accepted for compatibility; * currently has no effect. */ useSsl?: boolean; /** * Whether to mask profanity in transcripts. Accepted for compatibility; * currently has no effect. */ profanityFilter?: boolean; /** * Whether to add automatic punctuation to transcripts. Accepted for * compatibility; currently has no effect. */ automaticPunctuation?: boolean; }; declare class NvidiaSTTImpl extends STT { _providerName: string; apiKey?: string; model: string; language: string; sampleRate: number; constructor(opts?: NvidiaSTTOptions); getRuntimeConfig(): Record; } /** A configured NVIDIA Riva STT provider instance. */ export type NvidiaSTT = NvidiaSTTImpl; /** * NVIDIA Riva speech-to-text (STT) provider. * * @param opts - {@link NvidiaSTTOptions} configuration. * @returns A configured STT provider instance. */ export declare const NvidiaSTT: (opts?: NvidiaSTTOptions) => NvidiaSTT; export {};