export type SpeechMode = 'voice' | 'clone' | 'design'; export declare enum SpeechModel { voice = "qwen3_tts_1.7b_custom_voice_bf16", clone = "qwen3_tts_1.7b_voice_clone_bf16", design = "qwen3_tts_1.7b_voice_design_bf16" } export declare const SPEECH_MODEL_IDS: readonly string[]; export declare const SPEECH_VOICES: readonly [{ readonly id: "serena"; readonly label: "Serena"; readonly gender: "female"; readonly accent: "English"; }, { readonly id: "vivian"; readonly label: "Vivian"; readonly gender: "female"; readonly accent: "Chinese"; }, { readonly id: "uncle_fu"; readonly label: "Uncle Fu"; readonly gender: "male"; readonly accent: "Chinese"; }, { readonly id: "ryan"; readonly label: "Ryan"; readonly gender: "male"; readonly accent: "English"; }, { readonly id: "aiden"; readonly label: "Aiden"; readonly gender: "male"; readonly accent: "English"; }, { readonly id: "ono_anna"; readonly label: "Ono Anna"; readonly gender: "female"; readonly accent: "Japanese"; }, { readonly id: "sohee"; readonly label: "Sohee"; readonly gender: "female"; readonly accent: "Korean"; }, { readonly id: "eric"; readonly label: "Eric"; readonly gender: "male"; readonly accent: "English"; }, { readonly id: "dylan"; readonly label: "Dylan"; readonly gender: "male"; readonly accent: "English"; }]; export type SpeechVoice = (typeof SPEECH_VOICES)[number]['id']; export declare const DEFAULT_SPEECH_VOICE: SpeechVoice; export declare const SPEECH_LANGUAGES: readonly ["auto", "english", "chinese", "japanese", "korean", "german", "french", "russian", "portuguese", "spanish", "italian"]; export type SpeechLanguage = (typeof SPEECH_LANGUAGES)[number]; export declare const DEFAULT_SPEECH_LANGUAGE: SpeechLanguage; export declare const SPEECH_LANGUAGE_LABELS: Record; export declare const SPEECH_LANGUAGE_OPTIONS: { value: "auto" | "english" | "chinese" | "japanese" | "korean" | "german" | "french" | "russian" | "portuguese" | "spanish" | "italian"; label: string; }[]; export declare const SPEECH_CREATIVITY: { min: number; max: number; default: number; }; export declare const SPEECH_MAX_SCRIPT_CHARS = 4096; export declare const SPEECH_MAX_INSTRUCT_CHARS = 512; export declare const SPEECH_MAX_REFERENCE_TEXT_CHARS = 1024; export declare const SPEECH_REFERENCE_SECONDS: { min: number; max: number; }; export declare const SPEECH_OUTPUT_SAMPLE_RATE = 24000; export interface SpeechModelCapabilities { voices: boolean; instruct: 'unsupported' | 'optional' | 'required'; referenceAudio: 'unsupported' | 'required'; referenceText: boolean; } export declare const SPEECH_MODELS: Record; export declare const SPEECH_MODE_OPTIONS: Array<{ value: SpeechMode; label: string; description: string; }>; export declare const DEFAULT_SPEECH_MODE: SpeechMode; export declare const SPEECH_LABELS: { processing: string; idle: string; }; export declare function getSpeechModel(mode: SpeechMode): string; export declare function getSpeechMode(modelId: string): SpeechMode | undefined; export declare function isSpeechModel(modelId: string): boolean; export interface SpeechRequest { mode: SpeechMode; script: string; language?: SpeechLanguage; voice?: SpeechVoice; instruct?: string; referenceText?: string; hasReferenceAudio?: boolean; } export declare function validateSpeechRequest(request: SpeechRequest): string | null; //# sourceMappingURL=speechSettings.d.ts.map