import { z } from 'zod'; export declare const TTS_CHATTERBOX_LANGUAGES: readonly ["en", "es", "fr", "de", "it", "ja", "pt", "nl", "pl", "tr", "sv", "da", "fi", "no", "el", "ms", "sw", "ar", "ko", "he", "ru", "zh", "hi"]; export declare const TTS_SUPERTONIC_LANGUAGES: readonly ["en", "ko", "ja", "ar", "bg", "cs", "da", "de", "el", "es", "et", "fi", "fr", "hi", "hr", "hu", "id", "it", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "tr", "uk", "vi"]; export declare const TTS_ENGINES: readonly ["chatterbox", "supertonic", "parler", "cosyvoice3", "audio8", "moss", "moss-sfx", "moss-speech"]; export declare const TTS_SENTENCE_DELIMITER_PRESETS: readonly ["latin", "cjk", "multilingual"]; export declare const TTS_PARLER_EMOTIONS: readonly ["command", "anger", "narration", "conversation", "disgust", "fear", "happy", "neutral", "proper noun", "news", "sad", "surprise"]; export declare const TTS_PACES: readonly ["slow", "moderate", "fast"]; export declare const TTS_COSYVOICE3_EMOTIONS: readonly ["anger", "happy", "neutral", "sad"]; export declare const TTS_COSYVOICE3_INSTRUCT_DIALECTS: readonly ["cantonese", "northeastern", "gansu", "guizhou", "henan", "hubei", "hunan", "jiangxi", "minnan", "ningxia", "shanxi", "shaanxi", "shandong", "shanghai", "sichuan", "tianjin", "yunnan"]; export declare const TTS_COSYVOICE3_INSTRUCT_VOLUMES: readonly ["loud", "soft"]; export declare const TTS_COSYVOICE3_INSTRUCT_STYLES: readonly ["peppa", "robot"]; export declare const TTS_LANGUAGES: readonly ["en", "es", "fr", "de", "it", "ja", "pt", "nl", "pl", "tr", "sv", "da", "fi", "no", "el", "ms", "sw", "ar", "ko", "he", "ru", "zh", "hi", "bg", "cs", "et", "hr", "hu", "id", "lt", "lv", "ro", "sk", "sl", "uk", "vi"]; export declare const ttsChatterboxRuntimeConfigSchema: z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"chatterbox">; language: z.ZodEnum<{ en: "en"; ar: "ar"; de: "de"; es: "es"; fi: "fi"; fr: "fr"; it: "it"; ja: "ja"; ko: "ko"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; zh: "zh"; da: "da"; el: "el"; he: "he"; hi: "hi"; ms: "ms"; no: "no"; sv: "sv"; tr: "tr"; sw: "sw"; }>; voice: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; ttsSpeed: z.ZodOptional; nCtx: z.ZodOptional; kvCacheType: z.ZodOptional>; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; cfmSteps: z.ZodOptional; cfgRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsSupertonicRuntimeConfigSchema: z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"supertonic">; language: z.ZodEnum<{ id: "id"; en: "en"; ar: "ar"; bg: "bg"; cs: "cs"; de: "de"; es: "es"; et: "et"; fi: "fi"; fr: "fr"; hu: "hu"; it: "it"; ja: "ja"; ko: "ko"; lt: "lt"; lv: "lv"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; sk: "sk"; sl: "sl"; uk: "uk"; da: "da"; el: "el"; hi: "hi"; hr: "hr"; ro: "ro"; sv: "sv"; tr: "tr"; vi: "vi"; }>; voice: z.ZodOptional; ttsSpeed: z.ZodOptional; pace: z.ZodOptional>; ttsNumInferenceSteps: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; vulkanCacheDir: z.ZodOptional; }, z.core.$strip>; export declare const ttsParlerRuntimeConfigSchema: z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional, z.ZodNumber]>>; minNewTokens: z.ZodOptional; normalizeNumbers: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; ttsEngine: z.ZodLiteral<"parler">; }, z.core.$strip>; declare const ttsCosyvoice3InstructSchema: z.ZodUnion>; volume: z.ZodOptional>; style: z.ZodOptional>; }, z.core.$strict>]>; export declare const ttsCosyvoice3RuntimeConfigSchema: z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"cosyvoice3">; emotion: z.ZodOptional>; pace: z.ZodOptional>; instruct: z.ZodOptional>; volume: z.ZodOptional>; style: z.ZodOptional>; }, z.core.$strict>]>>; promptText: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsAudio8RuntimeConfigSchema: z.ZodObject<{ backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"audio8">; referenceText: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsMossRuntimeConfigSchema: z.ZodObject<{ backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss">; language: z.ZodOptional; durationTokens: z.ZodOptional; streamChunkTokens: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsMossSoundEffectRuntimeConfigSchema: z.ZodObject<{ seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-sfx">; }, z.core.$strip>; export declare const ttsMossSpeechRuntimeConfigSchema: z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-speech">; }, z.core.$strip>; export declare const ttsMossSoundEffectLoadConfigSchema: z.ZodObject<{ seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-sfx">; }, z.core.$strip>; export declare const ttsMossSpeechLoadConfigSchema: z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-speech">; mossSpeechCodecModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; }, z.core.$strip>; export declare const ttsRuntimeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"chatterbox">; language: z.ZodEnum<{ en: "en"; ar: "ar"; de: "de"; es: "es"; fi: "fi"; fr: "fr"; it: "it"; ja: "ja"; ko: "ko"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; zh: "zh"; da: "da"; el: "el"; he: "he"; hi: "hi"; ms: "ms"; no: "no"; sv: "sv"; tr: "tr"; sw: "sw"; }>; voice: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; ttsSpeed: z.ZodOptional; nCtx: z.ZodOptional; kvCacheType: z.ZodOptional>; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; cfmSteps: z.ZodOptional; cfgRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"supertonic">; language: z.ZodEnum<{ id: "id"; en: "en"; ar: "ar"; bg: "bg"; cs: "cs"; de: "de"; es: "es"; et: "et"; fi: "fi"; fr: "fr"; hu: "hu"; it: "it"; ja: "ja"; ko: "ko"; lt: "lt"; lv: "lv"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; sk: "sk"; sl: "sl"; uk: "uk"; da: "da"; el: "el"; hi: "hi"; hr: "hr"; ro: "ro"; sv: "sv"; tr: "tr"; vi: "vi"; }>; voice: z.ZodOptional; ttsSpeed: z.ZodOptional; pace: z.ZodOptional>; ttsNumInferenceSteps: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; vulkanCacheDir: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional, z.ZodNumber]>>; minNewTokens: z.ZodOptional; normalizeNumbers: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; ttsEngine: z.ZodLiteral<"parler">; }, z.core.$strip>, z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"cosyvoice3">; emotion: z.ZodOptional>; pace: z.ZodOptional>; instruct: z.ZodOptional>; volume: z.ZodOptional>; style: z.ZodOptional>; }, z.core.$strict>]>>; promptText: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"audio8">; referenceText: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss">; language: z.ZodOptional; durationTokens: z.ZodOptional; streamChunkTokens: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-sfx">; }, z.core.$strip>, z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-speech">; }, z.core.$strip>], "ttsEngine">; export declare const ttsChatterboxLoadConfigSchema: z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"chatterbox">; language: z.ZodEnum<{ en: "en"; ar: "ar"; de: "de"; es: "es"; fi: "fi"; fr: "fr"; it: "it"; ja: "ja"; ko: "ko"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; zh: "zh"; da: "da"; el: "el"; he: "he"; hi: "hi"; ms: "ms"; no: "no"; sv: "sv"; tr: "tr"; sw: "sw"; }>; voice: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; ttsSpeed: z.ZodOptional; nCtx: z.ZodOptional; kvCacheType: z.ZodOptional>; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; cfmSteps: z.ZodOptional; cfgRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; s3genModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; mecabDictSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cangjieTsvSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; }, z.core.$strip>; export declare const ttsSupertonicLoadConfigSchema: z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"supertonic">; language: z.ZodEnum<{ id: "id"; en: "en"; ar: "ar"; bg: "bg"; cs: "cs"; de: "de"; es: "es"; et: "et"; fi: "fi"; fr: "fr"; hu: "hu"; it: "it"; ja: "ja"; ko: "ko"; lt: "lt"; lv: "lv"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; sk: "sk"; sl: "sl"; uk: "uk"; da: "da"; el: "el"; hi: "hi"; hr: "hr"; ro: "ro"; sv: "sv"; tr: "tr"; vi: "vi"; }>; voice: z.ZodOptional; ttsSpeed: z.ZodOptional; pace: z.ZodOptional>; ttsNumInferenceSteps: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; vulkanCacheDir: z.ZodOptional; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; }, z.core.$strip>; export declare const ttsParlerLoadConfigSchema: z.ZodObject<{ lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional, z.ZodNumber]>>; minNewTokens: z.ZodOptional; normalizeNumbers: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; ttsEngine: z.ZodLiteral<"parler">; }, z.core.$strip>; export declare const ttsCosyvoice3LoadConfigSchema: z.ZodObject<{ referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cosyvoice3S3tokModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cosyvoice3CampplusModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"cosyvoice3">; emotion: z.ZodOptional>; pace: z.ZodOptional>; instruct: z.ZodOptional>; volume: z.ZodOptional>; style: z.ZodOptional>; }, z.core.$strict>]>>; promptText: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsAudio8LoadConfigSchema: z.ZodObject<{ audio8CodecDecoderModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; audio8CodecEncoderModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"audio8">; referenceText: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsMossLoadConfigSchema: z.ZodObject<{ mossCodecDecoderModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; mossCodecEncoderModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; dialogueReferenceSrcs: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>>; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss">; language: z.ZodOptional; durationTokens: z.ZodOptional; streamChunkTokens: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export declare const ttsLoadConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"chatterbox">; language: z.ZodEnum<{ en: "en"; ar: "ar"; de: "de"; es: "es"; fi: "fi"; fr: "fr"; it: "it"; ja: "ja"; ko: "ko"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; zh: "zh"; da: "da"; el: "el"; he: "he"; hi: "hi"; ms: "ms"; no: "no"; sv: "sv"; tr: "tr"; sw: "sw"; }>; voice: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; ttsSpeed: z.ZodOptional; nCtx: z.ZodOptional; kvCacheType: z.ZodOptional>; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; cfmSteps: z.ZodOptional; cfgRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; s3genModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; mecabDictSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cangjieTsvSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"supertonic">; language: z.ZodEnum<{ id: "id"; en: "en"; ar: "ar"; bg: "bg"; cs: "cs"; de: "de"; es: "es"; et: "et"; fi: "fi"; fr: "fr"; hu: "hu"; it: "it"; ja: "ja"; ko: "ko"; lt: "lt"; lv: "lv"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; sk: "sk"; sl: "sl"; uk: "uk"; da: "da"; el: "el"; hi: "hi"; hr: "hr"; ro: "ro"; sv: "sv"; tr: "tr"; vi: "vi"; }>; voice: z.ZodOptional; ttsSpeed: z.ZodOptional; pace: z.ZodOptional>; ttsNumInferenceSteps: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; vulkanCacheDir: z.ZodOptional; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; }, z.core.$strip>, z.ZodObject<{ lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional, z.ZodNumber]>>; minNewTokens: z.ZodOptional; normalizeNumbers: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; ttsEngine: z.ZodLiteral<"parler">; }, z.core.$strip>, z.ZodObject<{ referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cosyvoice3S3tokModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cosyvoice3CampplusModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"cosyvoice3">; emotion: z.ZodOptional>; pace: z.ZodOptional>; instruct: z.ZodOptional>; volume: z.ZodOptional>; style: z.ZodOptional>; }, z.core.$strict>]>>; promptText: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ audio8CodecDecoderModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; audio8CodecEncoderModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"audio8">; referenceText: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mossCodecDecoderModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; mossCodecEncoderModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; dialogueReferenceSrcs: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>>; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss">; language: z.ZodOptional; durationTokens: z.ZodOptional; streamChunkTokens: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-sfx">; }, z.core.$strip>, z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-speech">; mossSpeechCodecModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; }, z.core.$strip>], "ttsEngine">; export declare const LEGACY_TTS_ONNX_MODEL_CONFIG_FIELDS: readonly ["ttsSupertonicMultilingual", "ttsTokenizerSrc", "ttsSpeechEncoderSrc", "ttsEmbedTokensSrc", "ttsConditionalDecoderSrc", "ttsLanguageModelSrc", "ttsTextEncoderSrc", "ttsDurationPredictorSrc", "ttsVectorEstimatorSrc", "ttsVocoderSrc", "ttsUnicodeIndexerSrc", "ttsTtsConfigSrc", "ttsVoiceStyleSrc"]; export declare const ttsConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional, z.ZodNumber]>>; minNewTokens: z.ZodOptional; normalizeNumbers: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; ttsEngine: z.ZodLiteral<"parler">; }, z.core.$strict>, z.ZodObject<{ referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cosyvoice3S3tokModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; cosyvoice3CampplusModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrEnhancerModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; lavasrDenoiserModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; openclCacheDir: z.ZodOptional; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"cosyvoice3">; emotion: z.ZodOptional>; pace: z.ZodOptional>; instruct: z.ZodOptional>; volume: z.ZodOptional>; style: z.ZodOptional>; }, z.core.$strict>]>>; promptText: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; streamChunkTokens: z.ZodOptional; streamFirstChunkTokens: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ audio8CodecDecoderModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; audio8CodecEncoderModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"audio8">; referenceText: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topK: z.ZodOptional; topP: z.ZodOptional; maxFrames: z.ZodOptional; useGPU: z.ZodOptional; outputSampleRate: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mossCodecDecoderModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; mossCodecEncoderModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; referenceAudioSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; dialogueReferenceSrcs: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>>; backendsDir: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss">; language: z.ZodOptional; durationTokens: z.ZodOptional; streamChunkTokens: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-sfx">; }, z.core.$strict>, z.ZodObject<{ backendsDir: z.ZodOptional; useGPU: z.ZodOptional; threads: z.ZodOptional; nGpuLayers: z.ZodOptional; seed: z.ZodOptional; ttsEngine: z.ZodLiteral<"moss-speech">; mossSpeechCodecModelSrc: z.ZodUnion; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>; }, z.core.$strict>], "ttsEngine">; export declare const ttsClientParamsSchema: z.ZodObject<{ audio: z.ZodOptional>; sampleRate: z.ZodOptional; messages: z.ZodOptional; text: z.ZodOptional; audio: z.ZodOptional>; sampleRate: z.ZodOptional; }, z.core.$strip>>>; systemPrompt: z.ZodOptional; replyVoice: z.ZodOptional>; replyVoiceSampleRate: z.ZodOptional; textReply: z.ZodOptional; maxReplySeconds: z.ZodOptional; maxNewTokens: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; topK: z.ZodOptional; seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; modelId: z.ZodString; requestId: z.ZodOptional; inputType: z.ZodDefault; text: z.ZodOptional; stream: z.ZodDefault; sentenceStream: z.ZodDefault; sentenceStreamLocale: z.ZodOptional; sentenceStreamMaxChunkScalars: z.ZodOptional; }, z.core.$strip>; export declare const ttsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"textToSpeech">; audio: z.ZodOptional>; sampleRate: z.ZodOptional; messages: z.ZodOptional; text: z.ZodOptional; audio: z.ZodOptional>; sampleRate: z.ZodOptional; }, z.core.$strip>>>; systemPrompt: z.ZodOptional; replyVoice: z.ZodOptional>; replyVoiceSampleRate: z.ZodOptional; textReply: z.ZodOptional; maxReplySeconds: z.ZodOptional; maxNewTokens: z.ZodOptional; greedy: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; topK: z.ZodOptional; seconds: z.ZodOptional; negativePrompt: z.ZodOptional; steps: z.ZodOptional; guidance: z.ZodOptional; shift: z.ZodOptional; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; modelId: z.ZodString; requestId: z.ZodOptional; inputType: z.ZodDefault; text: z.ZodOptional; stream: z.ZodDefault; sentenceStream: z.ZodDefault; sentenceStreamLocale: z.ZodOptional; sentenceStreamMaxChunkScalars: z.ZodOptional; }, z.core.$strip>; export declare const ttsStatsSchema: z.ZodObject<{ audioDuration: z.ZodOptional; totalTime: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalSamples: z.ZodOptional; generatedFrames: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuUnsupported: z.ZodOptional; enhancerBackendDevice: z.ZodOptional; enhancerBackendId: z.ZodOptional; codecSidecarLoaded: z.ZodOptional; codecOnCoreml: z.ZodOptional; }, z.core.$strip>; export declare const ttsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"textToSpeech">; text: z.ZodOptional; buffer: z.ZodArray; done: z.ZodDefault; sampleRate: z.ZodOptional; stats: z.ZodOptional; totalTime: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalSamples: z.ZodOptional; generatedFrames: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuUnsupported: z.ZodOptional; enhancerBackendDevice: z.ZodOptional; enhancerBackendId: z.ZodOptional; codecSidecarLoaded: z.ZodOptional; codecOnCoreml: z.ZodOptional; }, z.core.$strip>>; chunkIndex: z.ZodOptional; sentenceChunk: z.ZodOptional; isLast: z.ZodOptional; stopReason: z.ZodOptional>; }, z.core.$strip>; declare const textToSpeechStreamRequestBaseShape: { description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; modelId: z.ZodString; requestId: z.ZodOptional; inputType: z.ZodDefault; accumulateSentences: z.ZodOptional; sentenceDelimiterPreset: z.ZodOptional>; maxBufferScalars: z.ZodOptional; flushAfterMs: z.ZodOptional; }; export declare const textToSpeechStreamRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"textToSpeechStream">; description: z.ZodOptional; voiceDescription: z.ZodOptional; voice: z.ZodOptional; emotion: z.ZodOptional>; pitch: z.ZodOptional; pace: z.ZodOptional>; expressivity: z.ZodOptional; noise: z.ZodOptional; reverb: z.ZodOptional; quality: z.ZodOptional; modelId: z.ZodString; requestId: z.ZodOptional; inputType: z.ZodDefault; accumulateSentences: z.ZodOptional; sentenceDelimiterPreset: z.ZodOptional>; maxBufferScalars: z.ZodOptional; flushAfterMs: z.ZodOptional; }, z.core.$strip>; export declare const textToSpeechStreamResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"textToSpeechStream">; buffer: z.ZodArray; done: z.ZodDefault; sampleRate: z.ZodOptional; stats: z.ZodOptional; totalTime: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalSamples: z.ZodOptional; generatedFrames: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuUnsupported: z.ZodOptional; enhancerBackendDevice: z.ZodOptional; enhancerBackendId: z.ZodOptional; codecSidecarLoaded: z.ZodOptional; codecOnCoreml: z.ZodOptional; }, z.core.$strip>>; chunkIndex: z.ZodOptional; sentenceChunk: z.ZodOptional; isLast: z.ZodOptional; stopReason: z.ZodOptional>; }, z.core.$strip>; export type TtsEngine = (typeof TTS_ENGINES)[number]; export type TtsSentenceDelimiterPreset = (typeof TTS_SENTENCE_DELIMITER_PRESETS)[number]; export type TtsLanguage = (typeof TTS_LANGUAGES)[number]; export type TtsChatterboxLanguage = (typeof TTS_CHATTERBOX_LANGUAGES)[number]; export type TtsSupertonicLanguage = (typeof TTS_SUPERTONIC_LANGUAGES)[number]; export type TtsParlerEmotion = (typeof TTS_PARLER_EMOTIONS)[number]; export type TtsPace = (typeof TTS_PACES)[number]; export type TtsCosyvoice3Emotion = (typeof TTS_COSYVOICE3_EMOTIONS)[number]; export type TtsCosyvoice3Instruct = z.infer; export type TtsChatterboxLoadConfig = z.infer; export type TtsSupertonicLoadConfig = z.infer; export type TtsParlerLoadConfig = z.infer; export type TtsCosyvoice3LoadConfig = z.infer; export type TtsAudio8LoadConfig = z.infer; export type TtsMossSoundEffectLoadConfig = z.infer; export type TtsMossSpeechLoadConfig = z.infer; export type TtsMossSoundEffectRuntimeConfig = z.infer; export type TtsMossSpeechRuntimeConfig = z.infer; export type TtsMossLoadConfig = z.infer; export type TtsLoadConfig = z.infer; /** @deprecated Use {@link TtsChatterboxLoadConfig} */ export type TtsChatterboxConfig = TtsChatterboxLoadConfig; /** @deprecated Use {@link TtsSupertonicLoadConfig} */ export type TtsSupertonicConfig = TtsSupertonicLoadConfig; export type TtsChatterboxRuntimeConfig = z.infer; export type TtsSupertonicRuntimeConfig = z.infer; export type TtsParlerRuntimeConfig = z.infer; export type TtsCosyvoice3RuntimeConfig = z.infer; export type TtsAudio8RuntimeConfig = z.infer; export type TtsMossRuntimeConfig = z.infer; export type TtsRuntimeConfig = z.infer; export type TtsConfig = z.infer; export type TtsClientParamsInput = z.input; export type TtsClientParams = z.output; export type TtsRequest = z.infer; export type TtsResponse = z.infer; export type TtsStats = z.infer; export type TtsSentenceChunkUpdate = { buffer: number[]; sampleRate?: number; chunkIndex?: number; sentenceChunk?: string; isLast?: boolean; }; export type TextToSpeechStreamRequest = z.infer; export type TextToSpeechStreamResponse = z.infer; export type TextToSpeechStreamClientParams = z.output>; export interface TextToSpeechStreamResult { /** MOSS-Speech reply text; resolved when the run finishes. */ text: Promise; bufferStream: AsyncGenerator; chunkUpdates?: AsyncGenerator; buffer: Promise; done: Promise; /** * Id of this run, available synchronously. Pass it to * `cancel({ requestId })` to stop synthesis — abandoning `bufferStream` * stops delivery but leaves the native job running to completion. */ requestId: string; /** * Sample rate of the PCM in `bufferStream` / `buffer`, resolved from the * first audio frame. `undefined` when the run produced no audio. Read it * rather than assuming the engine default: `outputSampleRate` and the LavaSR * enhancer both change it. */ sampleRate: Promise; /** * Runtime statistics from the final frame (RTF, audio duration, selected * backend). `undefined` when the run ended before the addon reported any. */ stats: Promise; /** * How the run ended: `'cancelled'` when it was stopped by `cancel()`, * `'completed'` otherwise. `undefined` if no terminal frame was seen. */ stopReason: Promise<'completed' | 'cancelled' | undefined>; } export interface TextToSpeechStreamSession { write(textFragment: string | Uint8Array): void; end(): void; destroy(): void; /** * Id of this session, for `cancel({ requestId })`. `destroy()` tears down * the streams but leaves the native job running; cancelling stops it. */ requestId: string; [Symbol.asyncIterator](): AsyncIterator; } export {};