/** * Direct inference API for `@zrt/js-sdk`. * * These factories build provider-configured STT, LLM, TTS, turn-detection, * realtime, and denoise components that can be wired into a voice agent. Each * `*` factory (e.g. {@link DeepgramSTT}) is a thin convenience wrapper around the * corresponding class method (e.g. `STT.deepgram`). * * @packageDocumentation */ /** Speech-to-text factory namespace. See {@link STT.deepgram}, {@link STT.google}, etc. */ export { STT } from './stt.js'; /** Large-language-model factory namespace. See {@link LLM.google}, {@link LLM.sarvam}. */ export { LLM, ZRTLLM } from './llm.js'; export type { ZRTLLMOptions } from './llm.js'; /** Text-to-speech factory namespace and the error thrown for unavailable providers. */ export { TTS, NotImplementedError } from './tts.js'; /** * Unified end-of-turn detector, defaulting to the `echo-large` model. Pass * `model: 'echo-small'` for the smaller variant. See {@link TurnDetectorOptions}. */ export { TurnDetector } from './turn.js'; export type { TurnDetectorOptions, TurnDetectorModel } from './turn.js'; /** Realtime (speech-to-speech) model factory namespace. */ export { Realtime } from './realtime.js'; /** Background-noise denoise factories. */ export { Denoise, AICousticsDenoise, SanasDenoise } from './denoise.js'; export type { STTDeepgramOptions, STTGoogleOptions, STTSarvamOptions, STTAssemblyAIOptions, STTCartesiaOptions, } from './stt.js'; export type { LLMGoogleOptions, LLMSarvamOptions } from './llm.js'; export type { TTSCartesiaOptions, TTSGoogleOptions, TTSSarvamOptions, TTSDeepgramOptions, } from './tts.js'; export type { RealtimeGeminiOptions } from './realtime.js'; export type { DenoiseOptions, DenoiseSanasOptions, DenoiseAicousticsOptions, DenoiseKrispOptions, } from './denoise.js'; import { type STTDeepgramOptions, type STTGoogleOptions, type STTSarvamOptions, type STTAssemblyAIOptions, type STTCartesiaOptions } from './stt.js'; import { type LLMGoogleOptions, type LLMSarvamOptions } from './llm.js'; import { type TTSCartesiaOptions, type TTSGoogleOptions, type TTSSarvamOptions, type TTSDeepgramOptions } from './tts.js'; /** Build a Deepgram speech-to-text component. See {@link STTDeepgramOptions}. */ export declare const DeepgramSTT: (opts?: STTDeepgramOptions) => import("../index.js").STT; /** Build a Google speech-to-text component. See {@link STTGoogleOptions}. */ export declare const GoogleSTT: (opts?: STTGoogleOptions) => import("../index.js").STT; /** Build a Sarvam AI speech-to-text component. See {@link STTSarvamOptions}. */ export declare const SarvamAISTT: (opts?: STTSarvamOptions) => import("../index.js").STT; /** Build an AssemblyAI speech-to-text component. See {@link STTAssemblyAIOptions}. */ export declare const AssemblyAISTT: (opts?: STTAssemblyAIOptions) => import("../index.js").STT; /** Build a Cartesia speech-to-text component. See {@link STTCartesiaOptions}. */ export declare const CartesiaSTT: (opts?: STTCartesiaOptions) => import("../index.js").STT; /** Build a Google (Gemini) LLM component. See {@link LLMGoogleOptions}. */ export declare const GoogleLLM: (opts?: LLMGoogleOptions) => import("../index.js").LLM; /** Build a Sarvam AI LLM component. See {@link LLMSarvamOptions}. */ export declare const SarvamAILLM: (opts?: LLMSarvamOptions) => import("../index.js").LLM; /** Build a Cartesia text-to-speech component. See {@link TTSCartesiaOptions}. */ export declare const CartesiaTTS: (opts?: TTSCartesiaOptions) => import("../index.js").TTS; /** Build a Google text-to-speech component. See {@link TTSGoogleOptions}. */ export declare const GoogleTTS: (opts?: TTSGoogleOptions) => import("../index.js").TTS; /** Build a Sarvam AI text-to-speech component. See {@link TTSSarvamOptions}. */ export declare const SarvamAITTS: (opts?: TTSSarvamOptions) => import("../index.js").TTS; /** Build a Deepgram text-to-speech component. See {@link TTSDeepgramOptions}. */ export declare const DeepgramTTS: (opts?: TTSDeepgramOptions) => import("../index.js").TTS;