import { z } from "zod"; import { llmConfigBaseSchema, embedConfigBaseSchema, type LlmConfig, type EmbedConfig } from "./llamacpp-config"; import { whisperConfigSchema } from "./transcription-config"; import type { parakeetConfigSchema } from "./transcription-config"; import { bciConfigSchema } from "./bci-config"; import { delegateSchema } from "./delegate"; import { nmtConfigSchema } from "./translation-config"; import { ttsConfigSchema } from "./text-to-speech"; import { ocrConfigSchema } from "./ocr"; import { type ModelDescriptor } from "./model-src-utils"; import { ModelType, type CanonicalModelType, type ModelTypeInput } from "./model-types"; import { sdcppConfigSchema } from "./sdcpp-config"; import { vlaConfigSchema } from "./vla"; import type { Logger } from "../logging/index"; export declare const loadBuiltinModelOptionsBaseSchema: z.ZodUnion; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "whispercpp-transcription": "whispercpp-transcription"; whisper: "whisper"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "bci-whispercpp-transcription": "bci-whispercpp-transcription"; bci: "bci"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "parakeet-transcription": "parakeet-transcription"; parakeet: "parakeet"; }>; modelConfig: z.ZodOptional; }, z.core.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ embeddings: "embeddings"; "llamacpp-embedding": "llamacpp-embedding"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "nmtcpp-translation": "nmtcpp-translation"; nmt: "nmt"; }>; 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; }>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ tts: "tts"; "tts-ggml": "tts-ggml"; }>; modelConfig: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>]>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ ocr: "ocr"; "onnx-ocr": "onnx-ocr"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ diffusion: "diffusion"; "sdcpp-generation": "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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ vla: "vla"; "ggml-vla": "ggml-vla"; }>; modelConfig: z.ZodOptional>; verbosity: z.ZodOptional; }, z.core.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelSrc: 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>]>>; modelType: z.ZodEnum<{ "ggml-classification": "ggml-classification"; classification: "classification"; }>; modelConfig: z.ZodOptional; topK: z.ZodOptional; nativeLogger: z.ZodOptional; }, z.core.$strict>>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>]>; export declare const loadCustomPluginModelOptionsBaseSchema: z.ZodObject<{ modelType: z.ZodString; modelConfig: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strip>; export declare const loadModelOptionsBaseSchema: z.ZodUnion; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "whispercpp-transcription": "whispercpp-transcription"; whisper: "whisper"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "bci-whispercpp-transcription": "bci-whispercpp-transcription"; bci: "bci"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "parakeet-transcription": "parakeet-transcription"; parakeet: "parakeet"; }>; modelConfig: z.ZodOptional; }, z.core.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ embeddings: "embeddings"; "llamacpp-embedding": "llamacpp-embedding"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "nmtcpp-translation": "nmtcpp-translation"; nmt: "nmt"; }>; 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; }>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ tts: "tts"; "tts-ggml": "tts-ggml"; }>; modelConfig: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>]>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ ocr: "ocr"; "onnx-ocr": "onnx-ocr"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ diffusion: "diffusion"; "sdcpp-generation": "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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ vla: "vla"; "ggml-vla": "ggml-vla"; }>; modelConfig: z.ZodOptional>; verbosity: z.ZodOptional; }, z.core.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelSrc: 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>]>>; modelType: z.ZodEnum<{ "ggml-classification": "ggml-classification"; classification: "classification"; }>; modelConfig: z.ZodOptional; topK: z.ZodOptional; nativeLogger: z.ZodOptional; }, z.core.$strict>>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>]>, z.ZodObject<{ modelType: z.ZodString; modelConfig: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strip>]>; export declare const loadModelOptionsSchema: z.ZodPipe; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "whispercpp-transcription": "whispercpp-transcription"; whisper: "whisper"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "bci-whispercpp-transcription": "bci-whispercpp-transcription"; bci: "bci"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "parakeet-transcription": "parakeet-transcription"; parakeet: "parakeet"; }>; modelConfig: z.ZodOptional; }, z.core.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ embeddings: "embeddings"; "llamacpp-embedding": "llamacpp-embedding"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ "nmtcpp-translation": "nmtcpp-translation"; nmt: "nmt"; }>; 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; }>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ tts: "tts"; "tts-ggml": "tts-ggml"; }>; modelConfig: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>]>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ ocr: "ocr"; "onnx-ocr": "onnx-ocr"; }>; modelConfig: 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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ diffusion: "diffusion"; "sdcpp-generation": "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.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelType: z.ZodEnum<{ vla: "vla"; "ggml-vla": "ggml-vla"; }>; modelConfig: z.ZodOptional>; verbosity: z.ZodOptional; }, z.core.$strict>>; 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ modelSrc: 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>]>>; modelType: z.ZodEnum<{ "ggml-classification": "ggml-classification"; classification: "classification"; }>; modelConfig: z.ZodOptional; topK: z.ZodOptional; nativeLogger: z.ZodOptional; }, z.core.$strict>>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>]>, z.ZodObject<{ modelType: z.ZodString; modelConfig: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strip>]>, z.ZodTransform<{ seed: boolean; modelType: "llamacpp-completion" | "llm"; 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; }; 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; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "whispercpp-transcription" | "whisper"; 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; }; 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; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "bci-whispercpp-transcription" | "bci"; 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; }; 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; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "parakeet-transcription" | "parakeet"; 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; }; modelConfig?: Record | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "embeddings" | "llamacpp-embedding"; 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; }; 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; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "nmtcpp-translation" | "nmt"; 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"; }; 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; }; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "tts" | "tts-ggml"; modelConfig: Record; 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; }; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "ocr" | "onnx-ocr"; 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; }; 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; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "diffusion" | "sdcpp-generation"; 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; }; 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; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "vla" | "ggml-vla"; 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; }; modelConfig?: { backend?: "cpu" | "auto" | undefined; verbosity?: number | undefined; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: "ggml-classification" | "classification"; 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; } | undefined; modelConfig?: { modelPath?: string | undefined; topK?: number | undefined; nativeLogger?: boolean | undefined; } | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { seed: boolean; modelType: string; 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; }; modelConfig?: Record | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "llamacpp-completion" | "llm"; 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; }; 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; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "whispercpp-transcription" | "whisper"; 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; }; 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; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "bci-whispercpp-transcription" | "bci"; 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; }; 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; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "parakeet-transcription" | "parakeet"; 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; }; modelConfig?: Record | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "embeddings" | "llamacpp-embedding"; 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; }; 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; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "nmtcpp-translation" | "nmt"; 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"; }; 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; }; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "tts" | "tts-ggml"; modelConfig: Record; 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; }; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "ocr" | "onnx-ocr"; 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; }; 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; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "diffusion" | "sdcpp-generation"; 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; }; 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 | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "vla" | "ggml-vla"; 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; }; modelConfig?: { backend?: "cpu" | "auto" | undefined; verbosity?: number | undefined; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: "ggml-classification" | "classification"; 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; } | undefined; modelConfig?: { modelPath?: string | undefined; topK?: number | undefined; nativeLogger?: boolean | undefined; } | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; } | { modelType: string; 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; }; modelConfig?: Record | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>; export declare const loadModelOptionsToRequestSchema: z.ZodUnion; modelConfig: 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.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "llamacpp-completion"; modelSrc: string; modelName: string | undefined; modelConfig: LlmConfig; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "llamacpp-completion" | "llm"; 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; }; 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; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: 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.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "whispercpp-transcription"; modelSrc: string; modelName: string | undefined; 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; }; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "whispercpp-transcription" | "whisper"; 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; }; 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; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: 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.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "bci-whispercpp-transcription"; modelSrc: string; modelName: string | undefined; 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; }; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "bci-whispercpp-transcription" | "bci"; 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; }; 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; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: z.ZodOptional; }, z.core.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "parakeet-transcription"; modelSrc: string; modelName: string | undefined; modelConfig: Record | undefined; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "parakeet-transcription" | "parakeet"; 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; }; modelConfig?: Record | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: 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.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "llamacpp-embedding"; modelSrc: string; modelName: string | undefined; modelConfig: EmbedConfig; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "embeddings" | "llamacpp-embedding"; 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; }; 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; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; 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; }>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "nmtcpp-translation"; modelSrc: string; modelName: string | undefined; 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"; }; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "nmtcpp-translation" | "nmt"; 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"; }; 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; }; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$strict>]>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "tts-ggml"; modelSrc: string; modelName: string | undefined; modelConfig: Record; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "tts" | "tts-ggml"; modelConfig: Record; 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; }; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: 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.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "onnx-ocr"; modelSrc: string; modelName: string | undefined; 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; }; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "ocr" | "onnx-ocr"; 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; }; 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; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; 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.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "sdcpp-generation"; modelSrc: string; modelName: string | undefined; modelConfig: {}; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "diffusion" | "sdcpp-generation"; 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; }; 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; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; modelConfig: z.ZodOptional>; verbosity: z.ZodOptional; }, z.core.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "ggml-vla"; modelSrc: string; modelName: string | undefined; modelConfig: { backend?: "cpu" | "auto" | undefined; verbosity?: number | undefined; }; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "vla" | "ggml-vla"; 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; }; modelConfig?: { backend?: "cpu" | "auto" | undefined; verbosity?: number | undefined; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe; 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>]>>; modelType: z.ZodEnum<{ "ggml-classification": "ggml-classification"; classification: "classification"; }>; modelConfig: z.ZodOptional; topK: z.ZodOptional; nativeLogger: z.ZodOptional; }, z.core.$strict>>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: z.ZodOptional; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: "ggml-classification"; modelSrc: string; modelName: string | undefined; modelConfig: { modelPath?: string | undefined; topK?: number | undefined; nativeLogger?: boolean | undefined; }; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: "ggml-classification" | "classification"; 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; } | undefined; modelConfig?: { modelPath?: string | undefined; topK?: number | undefined; nativeLogger?: boolean | undefined; } | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>, z.ZodPipe>; onProgress: z.ZodOptional; logger: z.ZodOptional; withProgress: z.ZodOptional; requestId: 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>]>; seed: z.ZodOptional; delegate: z.ZodOptional; healthCheckTimeout: z.ZodOptional; fallbackToLocal: z.ZodDefault>; forceNewConnection: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodTransform<{ requestId?: string; type: "loadModel"; modelType: string; modelSrc: string; modelName: string | undefined; modelConfig: Record; seed: boolean; withProgress: boolean; delegate: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }, { modelType: string; 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; }; modelConfig?: Record | undefined; onProgress?: unknown; logger?: unknown; withProgress?: boolean | undefined; requestId?: string | undefined; seed?: boolean | undefined; delegate?: { providerPublicKey: string; fallbackToLocal: boolean; forceNewConnection: boolean; timeout?: number | undefined; healthCheckTimeout?: number | undefined; } | undefined; }>>]>; export declare const loadLlmModelRequestSchema: 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-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>; export declare const loadWhisperModelRequestSchema: 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>; export declare const loadBciModelRequestSchema: 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>; export declare const loadParakeetModelRequestSchema: 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>; export declare const loadEmbeddingsModelRequestSchema: 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>; export declare const loadNmtModelRequestSchema: 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>; export declare const loadTtsModelRequestSchema: 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>; export declare const loadOcrModelRequestSchema: 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>; export declare const loadDiffusionModelRequestSchema: 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>; export declare const loadVlaModelRequestSchema: 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>; export declare const loadClassificationModelRequestSchema: 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>; export declare const loadCustomPluginModelRequestSchema: 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>; export declare const loadModelSrcRequestSchema: z.ZodPipe; 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; }>>; export declare const loadModelRequestSchema: 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>]>]>; export declare const loadModelResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"loadModel">; success: z.ZodBoolean; modelId: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; export declare const modelProgressUpdateSchema: 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>; export declare const hyperdriveUrlSchema: z.ZodPipe>; /** * Schema for registry:// URLs (internal use only). * Users should use model constants from @qvac/sdk instead of raw URLs. * Format: registry://source/path/to/model.gguf */ export declare const registryUrlSchema: z.ZodPipe>; export declare const loadModelServerParamsSchema: z.ZodObject<{ modelId: z.ZodString; modelPath: z.ZodString; options: 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>; artifacts: z.ZodOptional>; modelName: z.ZodOptional; }, z.core.$strip>; export type LoadModelServerParams = z.input; export type LoadModelSrcRequest = z.infer; export type LoadModelRequest = z.infer; export type LoadModelResponse = z.infer; export type ModelProgressUpdate = z.infer; /** * `loadModel` options for built-in model types. * Custom plugin types use {@link LoadCustomPluginModelOptions}. */ export type LoadModelOptions = z.input & { onProgress?: (progress: ModelProgressUpdate) => void; logger?: Logger; }; /** * `loadModel` options for custom plugin model types (any non-built-in string). * Built-in model types use {@link LoadModelOptions}. */ export type LoadCustomPluginModelOptions = Omit, "modelType"> & { modelType: T extends ModelTypeInput ? never : T; onProgress?: (progress: ModelProgressUpdate) => void; logger?: Logger; }; /** * `loadModel` options when `modelType` is inferred from `modelSrc`. * `modelConfig` is broad; pass a descriptor with a literal `engine` for * per-engine narrowing. */ export type LoadModelDescriptorOnlyOptions = { modelSrc: ModelDescriptor; modelType?: never; modelConfig?: Record; seed?: boolean; delegate?: z.input; onProgress?: (progress: ModelProgressUpdate) => void; logger?: Logger; }; /** * Maps `S["engine"]` (canonical literal) to the matching `modelConfig` input * shape. Engines without a known literal fall through to * `Record` (handled by {@link LoadModelDescriptorParam}). */ export type InferredConfig = S extends { engine: typeof ModelType.llamacppCompletion; } ? z.input : S extends { engine: typeof ModelType.whispercppTranscription; } ? Partial> : S extends { engine: typeof ModelType.bciWhispercppTranscription; } ? Partial> : S extends { engine: typeof ModelType.llamacppEmbedding; } ? z.input : S extends { engine: typeof ModelType.nmtcppTranslation; } ? z.input : S extends { engine: typeof ModelType.ttsGgml; } ? z.input : S extends { engine: typeof ModelType.onnxOcr; } ? Partial> : S extends { engine: typeof ModelType.parakeetTranscription; } ? z.input : S extends { engine: typeof ModelType.sdcppGeneration; } ? z.input : S extends { engine: typeof ModelType.ggmlVla; } ? z.input : Record; /** * `loadModel` options for descriptors that preserve a literal `engine`. * `modelConfig` narrows via {@link InferredConfig}. */ export type LoadModelDescriptorInferredOptions = { modelSrc: S; modelType?: never; modelConfig?: InferredConfig; seed?: boolean; delegate?: z.input; onProgress?: (progress: ModelProgressUpdate) => void; logger?: Logger; }; /** * Resolves to {@link LoadModelDescriptorInferredOptions} when `S["engine"]` is * a known canonical literal, otherwise widens to {@link LoadModelDescriptorOnlyOptions}. */ export type LoadModelDescriptorParam = S extends { engine: CanonicalModelType; } ? LoadModelDescriptorInferredOptions : Omit & { modelSrc: S; }; //# sourceMappingURL=load-model.d.ts.map