import { TTS } from '../../agents/providers.js'; /** * Configuration options for the Hume AI text-to-speech (TTS) provider. */ export type HumeAITTSOptions = { /** * Hume AI API key. Falls back to the `HUMEAI_API_KEY` environment variable * when omitted. */ apiKey?: string; /** * Voice to synthesize with. Accepts a Hume AI voice name or voice ID. * @default 'Serene Assistant' */ voice?: string; /** * Speaking rate multiplier, where `1.0` is normal speed. Lower values slow * speech down, higher values speed it up. * @default 1.0 */ speed?: number; /** * Output audio sample rate in hertz. * @default 24000 */ sampleRate?: number; }; declare class HumeAITTSImpl extends TTS { _providerName: string; apiKey?: string; voiceId: string; voice: string; speed: number; constructor(opts?: HumeAITTSOptions); getRuntimeConfig(): Record; } /** Instance type returned by the {@link HumeAITTS} factory. */ export type HumeAITTS = HumeAITTSImpl; /** * Hume AI text-to-speech (TTS) provider. * * @param opts - Voice, speed, sample rate, and credentials. See {@link HumeAITTSOptions}. * @returns A configured Hume AI TTS instance. */ export declare const HumeAITTS: (opts?: HumeAITTSOptions) => HumeAITTS; export {};