/** * Leaper Agent – Text-to-Speech Tool * Multi-provider TTS: Edge TTS, ElevenLabs, OpenAI, and more. */ import type { ToolDefinition } from './registry.js'; export type TTSProvider = 'edge' | 'openai' | 'elevenlabs' | 'minimax' | 'gemini' | 'auto'; export interface TTSOptions { text: string; provider?: TTSProvider; voice?: string; output_path?: string; speed?: number; format?: 'mp3' | 'wav' | 'ogg' | 'opus'; } export interface TTSResult { success: boolean; output_path?: string; provider?: string; voice?: string; duration_ms?: number; error?: string; } export interface VoiceInfo { id: string; name: string; language: string; gender?: 'male' | 'female' | 'neutral'; provider: string; } export declare const DEFAULT_VOICES: Record; export declare const OPENAI_VOICES: string[]; export declare const GEMINI_VOICES: string[]; export declare function synthesizeEdgeTTS(text: string, voice: string, outputPath: string): Promise; export declare function synthesizeOpenAI(text: string, voice: string, outputPath: string, format?: string): Promise; export declare function synthesizeElevenLabs(text: string, voiceId: string, outputPath: string): Promise; export declare function detectProvider(): TTSProvider; export declare function synthesizeSpeech(opts: TTSOptions): Promise; export declare function listVoices(provider?: TTSProvider): VoiceInfo[]; export declare const ttsTool: ToolDefinition; //# sourceMappingURL=tts.d.ts.map