import { z } from "zod"; export declare const requestSchema: z.ZodUnion; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodUnion; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"llamacpp-completion">; modelConfig: z.ZodObject<{ ctx_size: z.ZodOptional; temp: z.ZodOptional; top_p: z.ZodOptional; top_k: z.ZodOptional; seed: z.ZodOptional; gpu_layers: z.ZodOptional; lora: z.ZodOptional; device: z.ZodOptional; predict: z.ZodOptional, z.ZodLiteral<-2>, z.ZodNumber]>>; system_prompt: z.ZodOptional; no_mmap: z.ZodOptional; verbosity: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>; presence_penalty: z.ZodOptional; frequency_penalty: z.ZodOptional; repeat_penalty: z.ZodOptional; stop_sequences: z.ZodOptional>; n_discarded: z.ZodOptional; tools: z.ZodOptional; toolsMode: z.ZodOptional>; "cache-type-k": z.ZodOptional; "cache-type-v": z.ZodOptional; "main-gpu": z.ZodOptional]>>; "split-mode": z.ZodOptional>; "tensor-split": z.ZodOptional; openclCacheDir: z.ZodOptional; reasoning_budget: z.ZodOptional, z.ZodLiteral<0>]>>; projectionModelSrc: 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.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"whispercpp-transcription">; modelConfig: z.ZodObject<{ strategy: z.ZodOptional>; n_threads: z.ZodOptional; n_max_text_ctx: z.ZodOptional; offset_ms: z.ZodOptional; duration_ms: z.ZodOptional; audio_ctx: z.ZodOptional; translate: z.ZodOptional; no_context: z.ZodOptional; no_timestamps: z.ZodOptional; single_segment: z.ZodOptional; print_special: z.ZodOptional; print_progress: z.ZodOptional; print_realtime: z.ZodOptional; print_timestamps: z.ZodOptional; token_timestamps: z.ZodOptional; thold_pt: z.ZodOptional; thold_ptsum: z.ZodOptional; max_len: z.ZodOptional; split_on_word: z.ZodOptional; max_tokens: z.ZodOptional; debug_mode: z.ZodOptional; tdrz_enable: z.ZodOptional; suppress_regex: z.ZodOptional; initial_prompt: z.ZodOptional; language: z.ZodOptional; detect_language: z.ZodOptional; suppress_blank: z.ZodOptional; suppress_nst: z.ZodOptional; temperature: z.ZodOptional; length_penalty: z.ZodOptional; temperature_inc: z.ZodOptional; entropy_thold: z.ZodOptional; logprob_thold: z.ZodOptional; greedy_best_of: z.ZodOptional; beam_search_beam_size: z.ZodOptional; vad_params: z.ZodOptional; min_speech_duration_ms: z.ZodOptional; min_silence_duration_ms: z.ZodOptional; max_speech_duration_s: z.ZodOptional; speech_pad_ms: z.ZodOptional; samples_overlap: z.ZodOptional; }, z.core.$strip>>; audio_format: z.ZodOptional>; contextParams: z.ZodOptional; use_gpu: z.ZodOptional; flash_attn: z.ZodOptional; gpu_device: z.ZodOptional; }, z.core.$strip>>; miscConfig: z.ZodOptional; }, z.core.$strip>>; vadModelSrc: 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.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"bci-whispercpp-transcription">; modelConfig: z.ZodObject<{ whisperConfig: z.ZodOptional; n_threads: z.ZodOptional; temperature: z.ZodOptional; suppress_nst: z.ZodOptional; suppress_blank: z.ZodOptional; duration_ms: z.ZodOptional; translate: z.ZodOptional; no_timestamps: z.ZodOptional; single_segment: z.ZodOptional; print_special: z.ZodOptional; print_progress: z.ZodOptional; print_realtime: z.ZodOptional; print_timestamps: z.ZodOptional; detect_language: z.ZodOptional; greedy_best_of: z.ZodOptional; beam_search_beam_size: z.ZodOptional; }, z.core.$strip>>; bciConfig: z.ZodOptional; }, z.core.$strip>>; contextParams: z.ZodOptional; use_gpu: z.ZodOptional; flash_attn: z.ZodOptional; gpu_device: z.ZodOptional; }, z.core.$strip>>; miscConfig: z.ZodOptional; }, z.core.$strip>>; backendsDir: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"parakeet-transcription">; modelConfig: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"llamacpp-embedding">; modelConfig: z.ZodObject<{ gpuLayers: z.ZodOptional; device: z.ZodOptional>; batchSize: z.ZodOptional; pooling: z.ZodOptional>; attention: z.ZodOptional>; embdNormalize: z.ZodOptional; flashAttention: z.ZodOptional>; mainGpu: z.ZodOptional]>>; splitMode: z.ZodOptional>; tensorSplit: z.ZodOptional; verbosity: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>; openclCacheDir: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"nmtcpp-translation">; modelConfig: z.ZodPipe>; beamsize: z.ZodOptional; lengthpenalty: z.ZodOptional; maxlength: z.ZodOptional; repetitionpenalty: z.ZodOptional; norepeatngramsize: z.ZodOptional; temperature: z.ZodOptional; topk: z.ZodOptional; topp: z.ZodOptional; engine: z.ZodLiteral<"Bergamot">; from: z.ZodEnum<{ id: "id"; en: "en"; ar: "ar"; bg: "bg"; ca: "ca"; cs: "cs"; de: "de"; es: "es"; et: "et"; fi: "fi"; fr: "fr"; hu: "hu"; is: "is"; it: "it"; ja: "ja"; ko: "ko"; lt: "lt"; lv: "lv"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; sk: "sk"; sl: "sl"; uk: "uk"; zh: "zh"; az: "az"; be: "be"; bn: "bn"; bs: "bs"; da: "da"; el: "el"; fa: "fa"; gu: "gu"; he: "he"; hi: "hi"; hr: "hr"; kn: "kn"; ml: "ml"; ms: "ms"; mt: "mt"; nb: "nb"; nn: "nn"; no: "no"; re: "re"; ro: "ro"; sq: "sq"; sr: "sr"; sv: "sv"; ta: "ta"; te: "te"; th: "th"; tr: "tr"; vi: "vi"; }>; to: z.ZodEnum<{ id: "id"; en: "en"; ar: "ar"; bg: "bg"; ca: "ca"; cs: "cs"; de: "de"; es: "es"; et: "et"; fi: "fi"; fr: "fr"; hu: "hu"; is: "is"; it: "it"; ja: "ja"; ko: "ko"; lt: "lt"; lv: "lv"; nl: "nl"; pl: "pl"; pt: "pt"; ru: "ru"; sk: "sk"; sl: "sl"; uk: "uk"; zh: "zh"; az: "az"; be: "be"; bn: "bn"; bs: "bs"; da: "da"; el: "el"; fa: "fa"; gu: "gu"; he: "he"; hi: "hi"; hr: "hr"; kn: "kn"; ml: "ml"; ms: "ms"; mt: "mt"; nb: "nb"; nn: "nn"; no: "no"; re: "re"; ro: "ro"; sq: "sq"; sr: "sr"; sv: "sv"; ta: "ta"; te: "te"; th: "th"; tr: "tr"; vi: "vi"; }>; srcVocabSrc: 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>]>>; dstVocabSrc: 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>]>>; normalize: z.ZodOptional; pivotModel: z.ZodOptional>; beamsize: z.ZodOptional; lengthpenalty: z.ZodOptional; maxlength: z.ZodOptional; repetitionpenalty: z.ZodOptional; norepeatngramsize: z.ZodOptional; temperature: z.ZodOptional; topk: z.ZodOptional; topp: z.ZodOptional; modelSrc: 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>]>; srcVocabSrc: 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>]>>; dstVocabSrc: 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>]>>; normalize: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodOptional>; beamsize: z.ZodOptional; lengthpenalty: z.ZodOptional; maxlength: z.ZodOptional; repetitionpenalty: z.ZodOptional; norepeatngramsize: z.ZodOptional; temperature: z.ZodOptional; topk: z.ZodOptional; topp: z.ZodOptional; engine: z.ZodLiteral<"IndicTrans">; from: z.ZodEnum<{ asm_Beng: "asm_Beng"; ben_Beng: "ben_Beng"; brx_Deva: "brx_Deva"; doi_Deva: "doi_Deva"; eng_Latn: "eng_Latn"; gom_Deva: "gom_Deva"; guj_Gujr: "guj_Gujr"; hin_Deva: "hin_Deva"; kan_Knda: "kan_Knda"; kas_Arab: "kas_Arab"; kas_Deva: "kas_Deva"; mai_Deva: "mai_Deva"; mal_Mlym: "mal_Mlym"; mar_Deva: "mar_Deva"; mni_Beng: "mni_Beng"; mni_Mtei: "mni_Mtei"; npi_Deva: "npi_Deva"; ory_Orya: "ory_Orya"; pan_Guru: "pan_Guru"; san_Deva: "san_Deva"; sat_Olck: "sat_Olck"; snd_Arab: "snd_Arab"; snd_Deva: "snd_Deva"; tam_Taml: "tam_Taml"; tel_Telu: "tel_Telu"; urd_Arab: "urd_Arab"; }>; to: z.ZodEnum<{ asm_Beng: "asm_Beng"; ben_Beng: "ben_Beng"; brx_Deva: "brx_Deva"; doi_Deva: "doi_Deva"; eng_Latn: "eng_Latn"; gom_Deva: "gom_Deva"; guj_Gujr: "guj_Gujr"; hin_Deva: "hin_Deva"; kan_Knda: "kan_Knda"; kas_Arab: "kas_Arab"; kas_Deva: "kas_Deva"; mai_Deva: "mai_Deva"; mal_Mlym: "mal_Mlym"; mar_Deva: "mar_Deva"; mni_Beng: "mni_Beng"; mni_Mtei: "mni_Mtei"; npi_Deva: "npi_Deva"; ory_Orya: "ory_Orya"; pan_Guru: "pan_Guru"; san_Deva: "san_Deva"; sat_Olck: "sat_Olck"; snd_Arab: "snd_Arab"; snd_Deva: "snd_Deva"; tam_Taml: "tam_Taml"; tel_Telu: "tel_Telu"; urd_Arab: "urd_Arab"; }>; }, z.core.$strip>], "engine">, z.ZodTransform<{ mode: "full"; beamsize: number; lengthpenalty: number; maxlength: number; repetitionpenalty: number; norepeatngramsize: number; temperature: number; topk: number; topp: number; engine: "Bergamot"; from: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; to: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; pivotModel?: { modelSrc: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; }; mode?: "full" | undefined; beamsize?: number | undefined; lengthpenalty?: number | undefined; maxlength?: number | undefined; repetitionpenalty?: number | undefined; norepeatngramsize?: number | undefined; temperature?: number | undefined; topk?: number | undefined; topp?: number | undefined; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; } | undefined; } | { mode: "full"; beamsize: number; lengthpenalty: number; maxlength: number; repetitionpenalty: number; norepeatngramsize: number; temperature: number; topk: number; topp: number; engine: "IndicTrans"; from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; }, { engine: "Bergamot"; from: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; to: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; mode?: "full" | undefined; beamsize?: number | undefined; lengthpenalty?: number | undefined; maxlength?: number | undefined; repetitionpenalty?: number | undefined; norepeatngramsize?: number | undefined; temperature?: number | undefined; topk?: number | undefined; topp?: number | undefined; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; pivotModel?: { modelSrc: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; }; mode?: "full" | undefined; beamsize?: number | undefined; lengthpenalty?: number | undefined; maxlength?: number | undefined; repetitionpenalty?: number | undefined; norepeatngramsize?: number | undefined; temperature?: number | undefined; topk?: number | undefined; topp?: number | undefined; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; } | undefined; } | { engine: "IndicTrans"; from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; mode?: "full" | undefined; beamsize?: number | undefined; lengthpenalty?: number | undefined; maxlength?: number | undefined; repetitionpenalty?: number | undefined; norepeatngramsize?: number | undefined; temperature?: number | undefined; topk?: number | undefined; topp?: number | undefined; }>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"tts-ggml">; modelConfig: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"onnx-ocr">; modelConfig: z.ZodObject<{ langList: z.ZodOptional>; useGPU: z.ZodOptional; timeout: z.ZodOptional; pipelineMode: z.ZodOptional>; magRatio: z.ZodOptional; defaultRotationAngles: z.ZodOptional>; contrastRetry: z.ZodOptional; lowConfidenceThreshold: z.ZodOptional; recognizerBatchSize: z.ZodOptional; decodingMethod: z.ZodOptional>; straightenPages: z.ZodOptional; detectorModelSrc: 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.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"sdcpp-generation">; modelConfig: z.ZodOptional>; threads: z.ZodOptional; device: z.ZodOptional>; prediction: z.ZodOptional>; type: z.ZodOptional>; rng: z.ZodOptional>; sampler_rng: z.ZodOptional>; clip_on_cpu: z.ZodOptional; vae_on_cpu: z.ZodOptional; vae_tiling: z.ZodOptional; offload_to_cpu: z.ZodOptional; flash_attn: z.ZodOptional; diffusion_fa: z.ZodOptional; lora_apply_mode: z.ZodOptional>; verbosity: z.ZodOptional; clipLModelSrc: 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>]>>; clipGModelSrc: 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>]>>; t5XxlModelSrc: 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>]>>; llmModelSrc: 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>]>>; vaeModelSrc: 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>]>>; highNoiseDiffusionModelSrc: 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>]>>; clipVisionModelSrc: 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>]>>; upscaler: z.ZodOptional>; model_src: 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>]>>; tile_size: z.ZodOptional; direct: z.ZodOptional; offload_params_to_cpu: z.ZodOptional; threads: z.ZodOptional, z.ZodNumber]>>; }, z.core.$strict>>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"ggml-vla">; modelConfig: z.ZodOptional>; verbosity: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodLiteral<"ggml-classification">; modelConfig: z.ZodOptional; topK: z.ZodOptional; nativeLogger: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; modelSrc: z.ZodString; modelName: z.ZodOptional; withProgress: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; requestId: z.ZodOptional; modelType: z.ZodString; modelConfig: z.ZodOptional>; }, z.core.$strip>]>, z.ZodTransform<{ seed: boolean; type: "loadModel"; modelSrc: string; modelType: "llamacpp-completion"; modelConfig: { ctx_size?: number | undefined; temp?: number | undefined; top_p?: number | undefined; top_k?: number | undefined; seed?: number | undefined; gpu_layers?: number | undefined; lora?: string | undefined; device?: string | undefined; predict?: number | undefined; system_prompt?: string | undefined; no_mmap?: boolean | undefined; verbosity?: 0 | 3 | 2 | 1 | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; repeat_penalty?: number | undefined; stop_sequences?: string[] | undefined; n_discarded?: number | undefined; tools?: boolean | undefined; toolsMode?: "static" | "dynamic" | undefined; "cache-type-k"?: string | undefined; "cache-type-v"?: string | undefined; "main-gpu"?: number | "integrated" | "dedicated" | undefined; "split-mode"?: "none" | "layer" | "row" | undefined; "tensor-split"?: string | undefined; openclCacheDir?: string | undefined; reasoning_budget?: 0 | -1 | undefined; projectionModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "whispercpp-transcription"; modelConfig: { strategy?: "greedy" | "beam_search" | undefined; n_threads?: number | undefined; n_max_text_ctx?: number | undefined; offset_ms?: number | undefined; duration_ms?: number | undefined; audio_ctx?: number | undefined; translate?: boolean | undefined; no_context?: boolean | undefined; no_timestamps?: boolean | undefined; single_segment?: boolean | undefined; print_special?: boolean | undefined; print_progress?: boolean | undefined; print_realtime?: boolean | undefined; print_timestamps?: boolean | undefined; token_timestamps?: boolean | undefined; thold_pt?: number | undefined; thold_ptsum?: number | undefined; max_len?: number | undefined; split_on_word?: boolean | undefined; max_tokens?: number | undefined; debug_mode?: boolean | undefined; tdrz_enable?: boolean | undefined; suppress_regex?: string | undefined; initial_prompt?: string | undefined; language?: string | undefined; detect_language?: boolean | undefined; suppress_blank?: boolean | undefined; suppress_nst?: boolean | undefined; temperature?: number | undefined; length_penalty?: number | undefined; temperature_inc?: number | undefined; entropy_thold?: number | undefined; logprob_thold?: number | undefined; greedy_best_of?: number | undefined; beam_search_beam_size?: number | undefined; vad_params?: { threshold?: number | undefined; min_speech_duration_ms?: number | undefined; min_silence_duration_ms?: number | undefined; max_speech_duration_s?: number | undefined; speech_pad_ms?: number | undefined; samples_overlap?: number | undefined; } | undefined; audio_format?: "f32le" | "s16le" | undefined; contextParams?: { model?: string | undefined; use_gpu?: boolean | undefined; flash_attn?: boolean | undefined; gpu_device?: number | undefined; } | undefined; miscConfig?: { caption_enabled?: boolean | undefined; } | undefined; vadModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "bci-whispercpp-transcription"; modelConfig: { whisperConfig?: { language?: string | undefined; n_threads?: number | undefined; temperature?: number | undefined; suppress_nst?: boolean | undefined; suppress_blank?: boolean | undefined; duration_ms?: number | undefined; translate?: boolean | undefined; no_timestamps?: boolean | undefined; single_segment?: boolean | undefined; print_special?: boolean | undefined; print_progress?: boolean | undefined; print_realtime?: boolean | undefined; print_timestamps?: boolean | undefined; detect_language?: boolean | undefined; greedy_best_of?: number | undefined; beam_search_beam_size?: number | undefined; } | undefined; bciConfig?: { day_idx?: number | undefined; } | undefined; contextParams?: { model?: string | undefined; use_gpu?: boolean | undefined; flash_attn?: boolean | undefined; gpu_device?: number | undefined; } | undefined; miscConfig?: { caption_enabled?: boolean | undefined; } | undefined; backendsDir?: string | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "parakeet-transcription"; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: Record | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "llamacpp-embedding"; modelConfig: { gpuLayers?: number | undefined; device?: "cpu" | "gpu" | undefined; batchSize?: number | undefined; pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined; attention?: "causal" | "non-causal" | undefined; embdNormalize?: number | undefined; flashAttention?: "on" | "off" | "auto" | undefined; mainGpu?: number | "integrated" | "dedicated" | undefined; splitMode?: "none" | "layer" | "row" | undefined; tensorSplit?: string | undefined; verbosity?: 0 | 3 | 2 | 1 | undefined; openclCacheDir?: string | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "nmtcpp-translation"; modelConfig: { mode: "full"; beamsize: number; lengthpenalty: number; maxlength: number; repetitionpenalty: number; norepeatngramsize: number; temperature: number; topk: number; topp: number; engine: "Bergamot"; from: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; to: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; pivotModel?: { modelSrc: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; }; mode?: "full" | undefined; beamsize?: number | undefined; lengthpenalty?: number | undefined; maxlength?: number | undefined; repetitionpenalty?: number | undefined; norepeatngramsize?: number | undefined; temperature?: number | undefined; topk?: number | undefined; topp?: number | undefined; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; } | undefined; } | { mode: "full"; beamsize: number; lengthpenalty: number; maxlength: number; repetitionpenalty: number; norepeatngramsize: number; temperature: number; topk: number; topp: number; engine: "IndicTrans"; from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; }; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "tts-ggml"; modelConfig: Record; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "onnx-ocr"; modelConfig: { langList?: string[] | undefined; useGPU?: boolean | undefined; timeout?: number | undefined; pipelineMode?: "easyocr" | "doctr" | undefined; magRatio?: number | undefined; defaultRotationAngles?: number[] | undefined; contrastRetry?: boolean | undefined; lowConfidenceThreshold?: number | undefined; recognizerBatchSize?: number | undefined; decodingMethod?: "attention" | "ctc" | undefined; straightenPages?: boolean | undefined; detectorModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "sdcpp-generation"; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: { mode: "diffusion" | "upscale" | "video"; threads?: number | undefined; device?: "cpu" | "gpu" | undefined; prediction?: "auto" | "eps" | "v" | "edm_v" | "flow" | "flux2_flow" | undefined; type?: "auto" | "f32" | "f16" | "bf16" | "q2_k" | "q3_k" | "q4_0" | "q4_1" | "q4_k" | "q5_0" | "q5_1" | "q5_k" | "q6_k" | "q8_0" | undefined; rng?: "cpu" | "cuda" | "std_default" | undefined; sampler_rng?: "cpu" | "cuda" | "std_default" | undefined; clip_on_cpu?: boolean | undefined; vae_on_cpu?: boolean | undefined; vae_tiling?: boolean | undefined; offload_to_cpu?: boolean | undefined; flash_attn?: boolean | undefined; diffusion_fa?: boolean | undefined; lora_apply_mode?: "auto" | "immediately" | "at_runtime" | undefined; verbosity?: number | undefined; clipLModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; clipGModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; t5XxlModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; llmModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; vaeModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; highNoiseDiffusionModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; clipVisionModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; upscaler?: { type?: "esrgan" | undefined; model_src?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; tile_size?: number | undefined; direct?: boolean | undefined; offload_params_to_cpu?: boolean | undefined; threads?: number | undefined; } | undefined; } | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "ggml-vla"; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: { backend?: "cpu" | "auto" | undefined; verbosity?: number | undefined; } | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: "ggml-classification"; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: { modelPath?: string | undefined; topK?: number | undefined; nativeLogger?: boolean | undefined; } | undefined; } | { seed: boolean; type: "loadModel"; modelSrc: string; modelType: string; modelName?: string | undefined; withProgress?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: Record | undefined; }, { type: "loadModel"; modelSrc: string; modelType: "llamacpp-completion"; modelConfig: { ctx_size?: number | undefined; temp?: number | undefined; top_p?: number | undefined; top_k?: number | undefined; seed?: number | undefined; gpu_layers?: number | undefined; lora?: string | undefined; device?: string | undefined; predict?: number | undefined; system_prompt?: string | undefined; no_mmap?: boolean | undefined; verbosity?: 0 | 3 | 2 | 1 | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; repeat_penalty?: number | undefined; stop_sequences?: string[] | undefined; n_discarded?: number | undefined; tools?: boolean | undefined; toolsMode?: "static" | "dynamic" | undefined; "cache-type-k"?: string | undefined; "cache-type-v"?: string | undefined; "main-gpu"?: number | "integrated" | "dedicated" | undefined; "split-mode"?: "none" | "layer" | "row" | undefined; "tensor-split"?: string | undefined; openclCacheDir?: string | undefined; reasoning_budget?: 0 | -1 | undefined; projectionModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "whispercpp-transcription"; modelConfig: { strategy?: "greedy" | "beam_search" | undefined; n_threads?: number | undefined; n_max_text_ctx?: number | undefined; offset_ms?: number | undefined; duration_ms?: number | undefined; audio_ctx?: number | undefined; translate?: boolean | undefined; no_context?: boolean | undefined; no_timestamps?: boolean | undefined; single_segment?: boolean | undefined; print_special?: boolean | undefined; print_progress?: boolean | undefined; print_realtime?: boolean | undefined; print_timestamps?: boolean | undefined; token_timestamps?: boolean | undefined; thold_pt?: number | undefined; thold_ptsum?: number | undefined; max_len?: number | undefined; split_on_word?: boolean | undefined; max_tokens?: number | undefined; debug_mode?: boolean | undefined; tdrz_enable?: boolean | undefined; suppress_regex?: string | undefined; initial_prompt?: string | undefined; language?: string | undefined; detect_language?: boolean | undefined; suppress_blank?: boolean | undefined; suppress_nst?: boolean | undefined; temperature?: number | undefined; length_penalty?: number | undefined; temperature_inc?: number | undefined; entropy_thold?: number | undefined; logprob_thold?: number | undefined; greedy_best_of?: number | undefined; beam_search_beam_size?: number | undefined; vad_params?: { threshold?: number | undefined; min_speech_duration_ms?: number | undefined; min_silence_duration_ms?: number | undefined; max_speech_duration_s?: number | undefined; speech_pad_ms?: number | undefined; samples_overlap?: number | undefined; } | undefined; audio_format?: "f32le" | "s16le" | undefined; contextParams?: { model?: string | undefined; use_gpu?: boolean | undefined; flash_attn?: boolean | undefined; gpu_device?: number | undefined; } | undefined; miscConfig?: { caption_enabled?: boolean | undefined; } | undefined; vadModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "bci-whispercpp-transcription"; modelConfig: { whisperConfig?: { language?: string | undefined; n_threads?: number | undefined; temperature?: number | undefined; suppress_nst?: boolean | undefined; suppress_blank?: boolean | undefined; duration_ms?: number | undefined; translate?: boolean | undefined; no_timestamps?: boolean | undefined; single_segment?: boolean | undefined; print_special?: boolean | undefined; print_progress?: boolean | undefined; print_realtime?: boolean | undefined; print_timestamps?: boolean | undefined; detect_language?: boolean | undefined; greedy_best_of?: number | undefined; beam_search_beam_size?: number | undefined; } | undefined; bciConfig?: { day_idx?: number | undefined; } | undefined; contextParams?: { model?: string | undefined; use_gpu?: boolean | undefined; flash_attn?: boolean | undefined; gpu_device?: number | undefined; } | undefined; miscConfig?: { caption_enabled?: boolean | undefined; } | undefined; backendsDir?: string | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "parakeet-transcription"; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: Record | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "llamacpp-embedding"; modelConfig: { gpuLayers?: number | undefined; device?: "cpu" | "gpu" | undefined; batchSize?: number | undefined; pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined; attention?: "causal" | "non-causal" | undefined; embdNormalize?: number | undefined; flashAttention?: "on" | "off" | "auto" | undefined; mainGpu?: number | "integrated" | "dedicated" | undefined; splitMode?: "none" | "layer" | "row" | undefined; tensorSplit?: string | undefined; verbosity?: 0 | 3 | 2 | 1 | undefined; openclCacheDir?: string | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "nmtcpp-translation"; modelConfig: { mode: "full"; beamsize: number; lengthpenalty: number; maxlength: number; repetitionpenalty: number; norepeatngramsize: number; temperature: number; topk: number; topp: number; engine: "Bergamot"; from: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; to: "id" | "en" | "ar" | "bg" | "ca" | "cs" | "de" | "es" | "et" | "fi" | "fr" | "hu" | "is" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "ru" | "sk" | "sl" | "uk" | "zh" | "az" | "be" | "bn" | "bs" | "da" | "el" | "fa" | "gu" | "he" | "hi" | "hr" | "kn" | "ml" | "ms" | "mt" | "nb" | "nn" | "no" | "re" | "ro" | "sq" | "sr" | "sv" | "ta" | "te" | "th" | "tr" | "vi"; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; pivotModel?: { modelSrc: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; }; mode?: "full" | undefined; beamsize?: number | undefined; lengthpenalty?: number | undefined; maxlength?: number | undefined; repetitionpenalty?: number | undefined; norepeatngramsize?: number | undefined; temperature?: number | undefined; topk?: number | undefined; topp?: number | undefined; srcVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; dstVocabSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; normalize?: number | undefined; } | undefined; } | { mode: "full"; beamsize: number; lengthpenalty: number; maxlength: number; repetitionpenalty: number; norepeatngramsize: number; temperature: number; topk: number; topp: number; engine: "IndicTrans"; from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab"; }; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "tts-ggml"; modelConfig: Record; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "onnx-ocr"; modelConfig: { langList?: string[] | undefined; useGPU?: boolean | undefined; timeout?: number | undefined; pipelineMode?: "easyocr" | "doctr" | undefined; magRatio?: number | undefined; defaultRotationAngles?: number[] | undefined; contrastRetry?: boolean | undefined; lowConfidenceThreshold?: number | undefined; recognizerBatchSize?: number | undefined; decodingMethod?: "attention" | "ctc" | undefined; straightenPages?: boolean | undefined; detectorModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; }; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "sdcpp-generation"; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: { mode: "diffusion" | "upscale" | "video"; threads?: number | undefined; device?: "cpu" | "gpu" | undefined; prediction?: "auto" | "eps" | "v" | "edm_v" | "flow" | "flux2_flow" | undefined; type?: "auto" | "f32" | "f16" | "bf16" | "q2_k" | "q3_k" | "q4_0" | "q4_1" | "q4_k" | "q5_0" | "q5_1" | "q5_k" | "q6_k" | "q8_0" | undefined; rng?: "cpu" | "cuda" | "std_default" | undefined; sampler_rng?: "cpu" | "cuda" | "std_default" | undefined; clip_on_cpu?: boolean | undefined; vae_on_cpu?: boolean | undefined; vae_tiling?: boolean | undefined; offload_to_cpu?: boolean | undefined; flash_attn?: boolean | undefined; diffusion_fa?: boolean | undefined; lora_apply_mode?: "auto" | "immediately" | "at_runtime" | undefined; verbosity?: number | undefined; clipLModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; clipGModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; t5XxlModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; llmModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; vaeModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; highNoiseDiffusionModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; clipVisionModelSrc?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; upscaler?: { type?: "esrgan" | undefined; model_src?: string | { src: string; name?: string | undefined; modelId?: string | undefined; registryPath?: string | undefined; registrySource?: string | undefined; blobCoreKey?: string | undefined; blobIndex?: number | undefined; engine?: string | undefined; expectedSize?: number | undefined; sha256Checksum?: string | undefined; addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined; } | undefined; tile_size?: number | undefined; direct?: boolean | undefined; offload_params_to_cpu?: boolean | undefined; threads?: number | undefined; } | undefined; } | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "ggml-vla"; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: { backend?: "cpu" | "auto" | undefined; verbosity?: number | undefined; } | undefined; } | { type: "loadModel"; modelSrc: string; modelType: "ggml-classification"; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: { modelPath?: string | undefined; topK?: number | undefined; nativeLogger?: boolean | undefined; } | undefined; } | { type: "loadModel"; modelSrc: string; modelType: string; modelName?: string | undefined; withProgress?: boolean | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; requestId?: string | undefined; modelConfig?: Record | undefined; }>>, z.ZodUnion; modelId: z.ZodString; modelSrc: z.ZodOptional; withProgress: z.ZodOptional; delegate: z.ZodOptional; seed: z.ZodOptional; modelType: z.ZodEnum<{ "whispercpp-transcription": "whispercpp-transcription"; whisper: "whisper"; }>; modelConfig: z.ZodObject<{ strategy: z.ZodOptional>>; n_threads: z.ZodOptional>; n_max_text_ctx: z.ZodOptional>; offset_ms: z.ZodOptional>; duration_ms: z.ZodOptional>; audio_ctx: z.ZodOptional>; translate: z.ZodOptional>; no_context: z.ZodOptional>; no_timestamps: z.ZodOptional>; single_segment: z.ZodOptional>; print_special: z.ZodOptional>; print_progress: z.ZodOptional>; print_realtime: z.ZodOptional>; print_timestamps: z.ZodOptional>; token_timestamps: z.ZodOptional>; thold_pt: z.ZodOptional>; thold_ptsum: z.ZodOptional>; max_len: z.ZodOptional>; split_on_word: z.ZodOptional>; max_tokens: z.ZodOptional>; debug_mode: z.ZodOptional>; tdrz_enable: z.ZodOptional>; suppress_regex: z.ZodOptional>; initial_prompt: z.ZodOptional>; language: z.ZodOptional>; detect_language: z.ZodOptional>; suppress_blank: z.ZodOptional>; suppress_nst: z.ZodOptional>; temperature: z.ZodOptional>; length_penalty: z.ZodOptional>; temperature_inc: z.ZodOptional>; entropy_thold: z.ZodOptional>; logprob_thold: z.ZodOptional>; greedy_best_of: z.ZodOptional>; beam_search_beam_size: z.ZodOptional>; vad_params: z.ZodOptional; min_speech_duration_ms: z.ZodOptional; min_silence_duration_ms: z.ZodOptional; max_speech_duration_s: z.ZodOptional; speech_pad_ms: z.ZodOptional; samples_overlap: z.ZodOptional; }, z.core.$strip>>>; audio_format: z.ZodOptional>>; contextParams: z.ZodOptional; use_gpu: z.ZodOptional; flash_attn: z.ZodOptional; gpu_device: z.ZodOptional; }, z.core.$strip>>>; miscConfig: z.ZodOptional; }, z.core.$strip>>>; vadModelSrc: 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.core.$strip>]>]>, z.ZodPipe; assetSrc: z.ZodString; withProgress: z.ZodOptional; seed: z.ZodOptional; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ seed: boolean; type: "downloadAsset"; assetSrc: string; withProgress?: boolean | undefined; requestId?: string | undefined; }, { type: "downloadAsset"; assetSrc: string; withProgress?: boolean | undefined; seed?: boolean | undefined; requestId?: string | undefined; }>>, z.ZodObject<{ history: z.ZodArray>>; }, z.core.$strip>>; modelId: z.ZodString; tools: z.ZodOptional; name: z.ZodString; description: z.ZodString; parameters: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord; description: z.ZodOptional; enum: z.ZodOptional>; }, z.core.$strip>>; required: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>>>; stream: z.ZodBoolean; kvCache: z.ZodOptional>; generationParams: z.ZodOptional; top_p: z.ZodOptional; top_k: z.ZodOptional; predict: z.ZodOptional; seed: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; repeat_penalty: z.ZodOptional; reasoning_budget: z.ZodOptional, z.ZodLiteral<0>]>>; }, z.core.$strict>>; captureThinking: z.ZodOptional; emitRawDeltas: z.ZodOptional; toolDialect: z.ZodOptional>; responseFormat: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"json_object">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; json_schema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; schema: z.ZodRecord; strict: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>], "type">>; requestId: z.ZodOptional; type: z.ZodLiteral<"completionStream">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unloadModel">; modelId: z.ZodString; clearStorage: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; prompt: z.ZodOptional; metadata: z.ZodOptional; audioChunk: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"base64">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"filePath">; value: z.ZodString; }, z.core.$strip>], "type">; type: z.ZodLiteral<"transcribe">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; prompt: z.ZodOptional; metadata: z.ZodOptional; type: z.ZodLiteral<"transcribeStream">; emitVadEvents: z.ZodOptional; endOfTurnSilenceMs: z.ZodOptional; vadRunIntervalMs: z.ZodOptional; parakeetStreamingConfig: z.ZodOptional; historyMs: z.ZodOptional; leftContextMs: z.ZodOptional; rightLookaheadMs: z.ZodOptional; emitPartials: z.ZodOptional; emitEnergyVad: z.ZodOptional; spkCacheEnable: z.ZodOptional; spkCacheLen: z.ZodOptional; fifoLen: z.ZodOptional; chunkLeftContextMs: z.ZodOptional; chunkRightContextMs: z.ZodOptional; spkCacheUpdatePeriod: z.ZodOptional; }, z.core.$strip>>; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; metadata: z.ZodOptional; neuralData: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"base64">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"filePath">; value: z.ZodString; }, z.core.$strip>], "type">; type: z.ZodLiteral<"bciTranscribe">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; metadata: z.ZodOptional; type: z.ZodLiteral<"bciTranscribeStream">; streamOpts: z.ZodOptional; hopTimesteps: z.ZodOptional; emit: z.ZodOptional>; }, z.core.$strip>>; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"loggingStream">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; text: z.ZodUnion]>; type: z.ZodLiteral<"embed">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodUnion]>; stream: z.ZodBoolean; modelType: z.ZodEnum<{ "nmtcpp-translation": "nmtcpp-translation"; nmt: "nmt"; }>; type: z.ZodLiteral<"translate">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; text: z.ZodString; stream: z.ZodBoolean; modelType: z.ZodEnum<{ "llamacpp-completion": "llamacpp-completion"; llm: "llm"; }>; from: z.ZodOptional; to: z.ZodString; context: z.ZodOptional; type: z.ZodLiteral<"translate">; requestId: z.ZodOptional; }, z.core.$strip>]>, z.ZodObject<{ modelId: z.ZodString; inputType: z.ZodDefault; text: z.ZodString; stream: z.ZodDefault; sentenceStream: z.ZodDefault; sentenceStreamLocale: z.ZodOptional; sentenceStreamMaxChunkScalars: z.ZodOptional; type: z.ZodLiteral<"textToSpeech">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; inputType: z.ZodDefault; accumulateSentences: z.ZodOptional; sentenceDelimiterPreset: z.ZodOptional>; maxBufferScalars: z.ZodOptional; flushAfterMs: z.ZodOptional; type: z.ZodLiteral<"textToSpeechStream">; }, z.core.$strip>, z.ZodIntersection; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ operation: z.ZodLiteral<"request">; requestId: z.ZodString; clearCache: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ operation: z.ZodLiteral<"broad">; modelId: z.ZodString; kind: z.ZodOptional>; }, z.core.$strip>], "operation">>, z.ZodObject<{ firewall: z.ZodOptional>; publicKeys: z.ZodDefault>; }, z.core.$strip>>; type: z.ZodLiteral<"provide">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"stopProvide">; }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{ documents: z.ZodUnion]>; chunkOpts: z.ZodOptional; chunkOverlap: z.ZodOptional; chunkStrategy: z.ZodOptional>; splitStrategy: z.ZodOptional>; }, z.core.$strip>>; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"chunk">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ workspace: z.ZodOptional; modelId: z.ZodString; documents: z.ZodUnion]>; chunk: z.ZodDefault; chunkOpts: z.ZodOptional; chunkOverlap: z.ZodOptional; chunkStrategy: z.ZodOptional>; splitStrategy: z.ZodOptional>; }, z.core.$strip>>; progressInterval: z.ZodOptional; onProgress: z.ZodOptional; withProgress: z.ZodOptional; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"ingest">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodOptional; workspace: z.ZodOptional; documents: z.ZodArray; embeddingModelId: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>>; progressInterval: z.ZodOptional; onProgress: z.ZodOptional; withProgress: z.ZodOptional; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"saveEmbeddings">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ workspace: z.ZodOptional; modelId: z.ZodString; query: z.ZodString; topK: z.ZodDefault; n: z.ZodDefault; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"search">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodOptional; workspace: z.ZodOptional; ids: z.ZodArray; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"deleteEmbeddings">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodOptional; workspace: z.ZodOptional; onProgress: z.ZodOptional; withProgress: z.ZodOptional; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"reindex">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"listWorkspaces">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ workspace: z.ZodOptional; deleteOnClose: z.ZodOptional; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"closeWorkspace">; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ workspace: z.ZodPipe; type: z.ZodLiteral<"rag">; operation: z.ZodLiteral<"deleteWorkspace">; requestId: z.ZodOptional; }, z.core.$strip>], "operation">, z.ZodUnion; all: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"deleteCache">; kvCacheKey: z.ZodString; modelId: z.ZodOptional; }, z.core.$strip>]>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"getModelInfo">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; type: z.ZodLiteral<"getLoadedModelInfo">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; image: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"base64">; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"filePath">; value: z.ZodString; }, z.core.$strip>], "type">; options: z.ZodOptional; }, z.core.$strip>>; type: z.ZodLiteral<"ocrStream">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; prompt: z.ZodString; negative_prompt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; steps: z.ZodOptional; cfg_scale: z.ZodOptional; img_cfg_scale: z.ZodDefault; guidance: z.ZodOptional; sampling_method: z.ZodOptional>; scheduler: z.ZodOptional>; seed: z.ZodOptional; batch_count: z.ZodOptional; vae_tiling: z.ZodOptional; cache_preset: z.ZodOptional; init_image: z.ZodOptional; init_images: z.ZodOptional>; increase_ref_index: z.ZodOptional; auto_resize_ref_image: z.ZodOptional; lora: z.ZodOptional; strength: z.ZodOptional; upscale: z.ZodOptional; }, z.core.$strict>]>>; type: z.ZodLiteral<"diffusionStream">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; requestId: z.ZodOptional; prompt: z.ZodString; negative_prompt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; video_frames: z.ZodOptional; fps: z.ZodOptional; seed: z.ZodOptional; steps: z.ZodOptional; sampling_method: z.ZodOptional>; scheduler: z.ZodOptional>; cfg_scale: z.ZodOptional; flow_shift: z.ZodOptional; high_noise_steps: z.ZodOptional; high_noise_sampler: z.ZodOptional>; high_noise_scheduler: z.ZodOptional>; high_noise_cfg_scale: z.ZodOptional; high_noise_flow_shift: z.ZodOptional; moe_boundary: z.ZodOptional; vace_strength: z.ZodOptional; control_frames: z.ZodOptional>; vae_tiling: z.ZodOptional; vae_tile_size: z.ZodOptional>; vae_tile_overlap: z.ZodOptional; cache_mode: z.ZodOptional>; cache_preset: z.ZodOptional; cache_threshold: z.ZodOptional; mode: z.ZodEnum<{ txt2vid: "txt2vid"; img2vid: "img2vid"; }>; init_image: z.ZodOptional; strength: z.ZodOptional; type: z.ZodLiteral<"videoStream">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; image: z.ZodString; repeats: z.ZodOptional; type: z.ZodLiteral<"upscaleStream">; }, z.core.$strip>, z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"split">; fraction: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"dataset">; path: z.ZodString; }, z.core.$strict>], "type">, z.ZodTransform<{ type: "none"; } | { type: "dataset"; path: string; } | { fraction: number; type: "split"; }, { type: "none"; } | { type: "split"; fraction?: number | undefined; } | { type: "dataset"; path: string; }>>; outputParametersDir: z.ZodString; numberOfEpochs: z.ZodOptional; learningRate: z.ZodOptional; contextLength: z.ZodOptional; batchSize: z.ZodOptional; microBatchSize: z.ZodOptional; assistantLossOnly: z.ZodOptional; loraRank: z.ZodOptional; loraAlpha: z.ZodOptional; loraInitStd: z.ZodOptional; loraSeed: z.ZodOptional; loraModules: z.ZodOptional; checkpointSaveDir: z.ZodOptional; checkpointSaveSteps: z.ZodOptional; chatTemplatePath: z.ZodOptional; lrScheduler: z.ZodOptional>; lrMin: z.ZodOptional; warmupRatio: z.ZodOptional; warmupRatioSet: z.ZodOptional; warmupSteps: z.ZodOptional; warmupStepsSet: z.ZodOptional; weightDecay: z.ZodOptional; }, z.core.$strict>; type: z.ZodLiteral<"finetune">; operation: z.ZodOptional>; withProgress: z.ZodOptional; requestId: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ modelId: z.ZodString; options: z.ZodObject<{ trainDatasetDir: z.ZodString; validation: z.ZodPipe; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"split">; fraction: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"dataset">; path: z.ZodString; }, z.core.$strict>], "type">, z.ZodTransform<{ type: "none"; } | { type: "dataset"; path: string; } | { fraction: number; type: "split"; }, { type: "none"; } | { type: "split"; fraction?: number | undefined; } | { type: "dataset"; path: string; }>>; outputParametersDir: z.ZodString; numberOfEpochs: z.ZodOptional; learningRate: z.ZodOptional; contextLength: z.ZodOptional; batchSize: z.ZodOptional; microBatchSize: z.ZodOptional; assistantLossOnly: z.ZodOptional; loraRank: z.ZodOptional; loraAlpha: z.ZodOptional; loraInitStd: z.ZodOptional; loraSeed: z.ZodOptional; loraModules: z.ZodOptional; checkpointSaveDir: z.ZodOptional; checkpointSaveSteps: z.ZodOptional; chatTemplatePath: z.ZodOptional; lrScheduler: z.ZodOptional>; lrMin: z.ZodOptional; warmupRatio: z.ZodOptional; warmupRatioSet: z.ZodOptional; warmupSteps: z.ZodOptional; warmupStepsSet: z.ZodOptional; weightDecay: z.ZodOptional; }, z.core.$strict>; type: z.ZodLiteral<"finetune">; operation: z.ZodLiteral<"getState">; }, z.core.$strict>, z.ZodObject<{ modelId: z.ZodString; type: z.ZodLiteral<"finetune">; operation: z.ZodEnum<{ cancel: "cancel"; pause: "pause"; }>; }, z.core.$strict>]>, z.ZodObject<{ type: z.ZodLiteral<"pluginInvoke">; modelId: z.ZodString; handler: z.ZodString; params: z.ZodUnknown; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pluginInvokeStream">; modelId: z.ZodString; handler: z.ZodString; params: z.ZodUnknown; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelRegistryList">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelRegistrySearch">; filter: z.ZodOptional; engine: z.ZodOptional; quantization: z.ZodOptional; addon: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelRegistryGetModel">; registryPath: z.ZodString; registrySource: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"suspend">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resume">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"state">; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; image: z.ZodString; topK: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; channels: z.ZodOptional>; type: z.ZodLiteral<"classify">; }, z.core.$strip>]>; export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"heartbeat">; number: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loadModel">; success: z.ZodBoolean; modelId: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"downloadAsset">; success: z.ZodBoolean; assetId: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"completionStream">; done: z.ZodOptional; events: z.ZodArray; seq: z.ZodNumber; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rawDelta">; seq: z.ZodNumber; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"thinkingDelta">; seq: z.ZodNumber; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"toolCall">; seq: z.ZodNumber; call: z.ZodObject<{ id: z.ZodString; name: z.ZodString; arguments: z.ZodRecord; raw: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"toolError">; seq: z.ZodNumber; error: z.ZodObject<{ code: z.ZodEnum<{ PARSE_ERROR: "PARSE_ERROR"; VALIDATION_ERROR: "VALIDATION_ERROR"; UNKNOWN_TOOL: "UNKNOWN_TOOL"; }>; message: z.ZodString; raw: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"completionStats">; seq: z.ZodNumber; stats: z.ZodObject<{ timeToFirstToken: z.ZodOptional; tokensPerSecond: z.ZodOptional; cacheTokens: z.ZodOptional; promptTokens: z.ZodOptional; generatedTokens: z.ZodOptional; backendDevice: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"completionDone">; seq: z.ZodNumber; stopReason: z.ZodLiteral<"error">; error: z.ZodObject<{ message: z.ZodString; }, z.core.$strip>; raw: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"completionDone">; seq: z.ZodNumber; stopReason: z.ZodOptional>; raw: z.ZodOptional>; }, z.core.$strict>]>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"unloadModel">; success: z.ZodBoolean; error: z.ZodOptional; hasActiveModels: z.ZodOptional; hasActiveProviders: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelProgress">; downloaded: z.ZodNumber; total: z.ZodNumber; percentage: z.ZodNumber; downloadKey: z.ZodString; shardInfo: z.ZodOptional>; fileSetInfo: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ text: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalTokens: z.ZodOptional; totalSegments: z.ZodOptional; whisperEncodeTime: z.ZodOptional; whisperDecodeTime: z.ZodOptional; encoderTime: z.ZodOptional; decoderTime: z.ZodOptional; melSpecTime: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuMemTotalMb: z.ZodOptional; gpuMemFreeMb: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; segment: z.ZodOptional>; vad: z.ZodOptional>; endOfTurn: z.ZodOptional; silenceDurationMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ source: z.ZodLiteral<"parakeet">; }, z.core.$strip>], "source">>>; type: z.ZodLiteral<"transcribe">; }, z.core.$strip>, z.ZodObject<{ text: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalTokens: z.ZodOptional; totalSegments: z.ZodOptional; whisperEncodeTime: z.ZodOptional; whisperDecodeTime: z.ZodOptional; encoderTime: z.ZodOptional; decoderTime: z.ZodOptional; melSpecTime: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuMemTotalMb: z.ZodOptional; gpuMemFreeMb: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; segment: z.ZodOptional>; vad: z.ZodOptional>; endOfTurn: z.ZodOptional; silenceDurationMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ source: z.ZodLiteral<"parakeet">; }, z.core.$strip>], "source">>>; type: z.ZodLiteral<"transcribeStream">; }, z.core.$strip>, z.ZodObject<{ text: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalTokens: z.ZodOptional; totalSegments: z.ZodOptional; whisperEncodeTime: z.ZodOptional; whisperDecodeTime: z.ZodOptional; encoderTime: z.ZodOptional; decoderTime: z.ZodOptional; melSpecTime: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuMemTotalMb: z.ZodOptional; gpuMemFreeMb: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; segment: z.ZodOptional>; type: z.ZodLiteral<"bciTranscribe">; }, z.core.$strip>, z.ZodObject<{ text: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; realTimeFactor: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalTokens: z.ZodOptional; totalSegments: z.ZodOptional; whisperEncodeTime: z.ZodOptional; whisperDecodeTime: z.ZodOptional; encoderTime: z.ZodOptional; decoderTime: z.ZodOptional; melSpecTime: z.ZodOptional; backendDevice: z.ZodOptional; backendId: z.ZodOptional; gpuMemTotalMb: z.ZodOptional; gpuMemFreeMb: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; segment: z.ZodOptional>; type: z.ZodLiteral<"bciTranscribeStream">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loggingStream">; id: z.ZodString; level: z.ZodEnum<{ error: "error"; off: "off"; warn: "warn"; info: "info"; debug: "debug"; }>; namespace: z.ZodString; message: z.ZodString; timestamp: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"embed">; success: z.ZodBoolean; embedding: z.ZodDefault, z.ZodArray>]>>; stats: z.ZodOptional; tokensPerSecond: z.ZodOptional; totalTokens: z.ZodOptional; backendDevice: z.ZodOptional>; contextSize: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"translate">; token: z.ZodString; done: z.ZodOptional; stats: z.ZodOptional; totalTokens: z.ZodOptional; tokensPerSecond: z.ZodOptional; timeToFirstToken: z.ZodOptional; decodeTime: z.ZodOptional; encodeTime: z.ZodOptional; cacheTokens: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"textToSpeech">; buffer: z.ZodArray; done: z.ZodDefault; stats: z.ZodOptional; totalSamples: z.ZodOptional; }, z.core.$strip>>; chunkIndex: z.ZodOptional; sentenceChunk: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"textToSpeechStream">; buffer: z.ZodArray; done: z.ZodDefault; stats: z.ZodOptional; totalSamples: z.ZodOptional; }, z.core.$strip>>; chunkIndex: z.ZodOptional; sentenceChunk: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel">; success: z.ZodBoolean; cancelled: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provide">; success: z.ZodBoolean; error: z.ZodOptional; publicKey: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stopProvide">; success: z.ZodBoolean; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodString; stack: z.ZodOptional; timestamp: z.ZodOptional; name: z.ZodOptional; code: z.ZodOptional; cause: z.ZodOptional; typedFields: z.ZodOptional>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"chunk">; chunks: z.ZodArray>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"ingest">; processed: z.ZodArray; id: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; droppedIndices: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"saveEmbeddings">; processed: z.ZodArray; id: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"search">; results: z.ZodArray>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"deleteEmbeddings">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"reindex">; result: z.ZodObject<{ reindexed: z.ZodBoolean; details: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"listWorkspaces">; workspaces: z.ZodArray>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"closeWorkspace">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rag">; success: z.ZodBoolean; error: z.ZodOptional; operation: z.ZodLiteral<"deleteWorkspace">; }, z.core.$strip>], "operation">, z.ZodObject<{ type: z.ZodLiteral<"rag:progress">; operation: z.ZodEnum<{ ingest: "ingest"; saveEmbeddings: "saveEmbeddings"; reindex: "reindex"; }>; workspace: z.ZodString; stage: z.ZodString; current: z.ZodNumber; total: z.ZodNumber; timestamp: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"deleteCache">; success: z.ZodBoolean; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"getModelInfo">; modelInfo: z.ZodObject<{ name: z.ZodString; modelId: z.ZodString; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobBlockOffset: z.ZodOptional; blobBlockLength: z.ZodOptional; blobByteOffset: z.ZodOptional; engine: z.ZodOptional; quantization: z.ZodOptional; params: z.ZodOptional; expectedSize: z.ZodNumber; sha256Checksum: z.ZodString; addon: z.ZodEnum<{ embeddings: "embeddings"; diffusion: "diffusion"; tts: "tts"; ocr: "ocr"; vla: "vla"; llm: "llm"; whisper: "whisper"; bci: "bci"; nmt: "nmt"; parakeet: "parakeet"; classification: "classification"; vad: "vad"; other: "other"; }>; isCached: z.ZodBoolean; isLoaded: z.ZodBoolean; cacheFiles: z.ZodArray; cachedAt: z.ZodOptional>; }, z.core.$strip>>; actualSize: z.ZodOptional; cachedAt: z.ZodOptional>; loadedInstances: z.ZodOptional; config: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"getLoadedModelInfo">; info: z.ZodDiscriminatedUnion<[z.ZodObject<{ modelId: z.ZodString; isDelegated: z.ZodLiteral; modelType: z.ZodString; handlers: z.ZodArray; displayName: z.ZodOptional; addonPackage: z.ZodOptional; loadedAt: z.ZodCoercedDate; name: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ modelId: z.ZodString; isDelegated: z.ZodLiteral; handlers: z.ZodArray; providerInfo: z.ZodObject<{ providerPublicKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>], "isDelegated">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ocrStream">; blocks: z.ZodOptional>; confidence: z.ZodOptional; }, z.core.$strip>>>; done: z.ZodOptional; error: z.ZodOptional; stats: z.ZodOptional; recognitionTime: z.ZodOptional; totalTime: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diffusionStream">; step: z.ZodOptional; totalSteps: z.ZodOptional; elapsedMs: z.ZodOptional; data: z.ZodOptional; outputIndex: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; generationMs: z.ZodOptional; totalGenerationMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalSteps: z.ZodOptional; totalGenerations: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"videoStream">; step: z.ZodOptional; totalSteps: z.ZodOptional; elapsedMs: z.ZodOptional; data: z.ZodOptional; outputIndex: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; modelLoadMs: z.ZodOptional; generationMs: z.ZodOptional; totalGenerationMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalSteps: z.ZodOptional; totalGenerations: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; totalVideos: z.ZodOptional; totalVideoFrames: z.ZodOptional; videoFrames: z.ZodOptional; fps: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"upscaleStream">; data: z.ZodOptional; outputIndex: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; upscaleMs: z.ZodOptional; totalUpscaleMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalUpscales: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; repeats: z.ZodOptional; backendDevice: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"finetune">; status: z.ZodEnum<{ IDLE: "IDLE"; RUNNING: "RUNNING"; PAUSED: "PAUSED"; CANCELLED: "CANCELLED"; COMPLETED: "COMPLETED"; }>; stats: z.ZodOptional; train_loss_uncertainty: z.ZodOptional>>; val_loss: z.ZodOptional; val_loss_uncertainty: z.ZodOptional>>; train_accuracy: z.ZodOptional; train_accuracy_uncertainty: z.ZodOptional>>; val_accuracy: z.ZodOptional; val_accuracy_uncertainty: z.ZodOptional>>; learning_rate: z.ZodOptional; global_steps: z.ZodNumber; epochs_completed: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ is_train: z.ZodBoolean; loss: z.ZodNullable>; loss_uncertainty: z.ZodNullable>; accuracy: z.ZodNullable>; accuracy_uncertainty: z.ZodNullable>; global_steps: z.ZodNumber; current_epoch: z.ZodNumber; current_batch: z.ZodNumber; total_batches: z.ZodNumber; elapsed_ms: z.ZodNumber; eta_ms: z.ZodNumber; type: z.ZodLiteral<"finetune:progress">; modelId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"pluginInvoke">; result: z.ZodUnknown; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pluginInvokeStream">; result: z.ZodUnknown; done: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelRegistryList">; success: z.ZodBoolean; models: z.ZodOptional; expectedSize: z.ZodNumber; sha256Checksum: z.ZodString; engine: z.ZodEnum<{ "llamacpp-completion": "llamacpp-completion"; "whispercpp-transcription": "whispercpp-transcription"; "bci-whispercpp-transcription": "bci-whispercpp-transcription"; "llamacpp-embedding": "llamacpp-embedding"; "nmtcpp-translation": "nmtcpp-translation"; "onnx-tts": "onnx-tts"; "tts-ggml": "tts-ggml"; "parakeet-transcription": "parakeet-transcription"; "onnx-ocr": "onnx-ocr"; "sdcpp-generation": "sdcpp-generation"; "ggml-vla": "ggml-vla"; "ggml-classification": "ggml-classification"; "onnx-vad": "onnx-vad"; }>; quantization: z.ZodString; params: z.ZodString; }, z.core.$strip>>>; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelRegistrySearch">; success: z.ZodBoolean; models: z.ZodOptional; expectedSize: z.ZodNumber; sha256Checksum: z.ZodString; engine: z.ZodEnum<{ "llamacpp-completion": "llamacpp-completion"; "whispercpp-transcription": "whispercpp-transcription"; "bci-whispercpp-transcription": "bci-whispercpp-transcription"; "llamacpp-embedding": "llamacpp-embedding"; "nmtcpp-translation": "nmtcpp-translation"; "onnx-tts": "onnx-tts"; "tts-ggml": "tts-ggml"; "parakeet-transcription": "parakeet-transcription"; "onnx-ocr": "onnx-ocr"; "sdcpp-generation": "sdcpp-generation"; "ggml-vla": "ggml-vla"; "ggml-classification": "ggml-classification"; "onnx-vad": "onnx-vad"; }>; quantization: z.ZodString; params: z.ZodString; }, z.core.$strip>>>; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"modelRegistryGetModel">; success: z.ZodBoolean; model: z.ZodOptional; expectedSize: z.ZodNumber; sha256Checksum: z.ZodString; engine: z.ZodEnum<{ "llamacpp-completion": "llamacpp-completion"; "whispercpp-transcription": "whispercpp-transcription"; "bci-whispercpp-transcription": "bci-whispercpp-transcription"; "llamacpp-embedding": "llamacpp-embedding"; "nmtcpp-translation": "nmtcpp-translation"; "onnx-tts": "onnx-tts"; "tts-ggml": "tts-ggml"; "parakeet-transcription": "parakeet-transcription"; "onnx-ocr": "onnx-ocr"; "sdcpp-generation": "sdcpp-generation"; "ggml-vla": "ggml-vla"; "ggml-classification": "ggml-classification"; "onnx-vad": "onnx-vad"; }>; quantization: z.ZodString; params: z.ZodString; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"suspend">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resume">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"state">; state: z.ZodEnum<{ active: "active"; suspending: "suspending"; suspended: "suspended"; resuming: "resuming"; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"classify">; results: z.ZodArray>; done: z.ZodOptional; }, z.core.$strip>], "type">; export declare const rpcOptionsSchema: z.ZodObject<{ timeout: z.ZodOptional; healthCheckTimeout: z.ZodOptional; forceNewConnection: z.ZodOptional; profiling: z.ZodOptional; includeServerBreakdown: z.ZodOptional; mode: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type Request = z.input; export type Response = z.infer; export type RPCOptions = z.infer; //# sourceMappingURL=common.d.ts.map