import { z } from 'zod'; /** * One group of transformer blocks that size their KV cache identically. * * Files that describe attention per layer (e.g. `gemma4`, whose * `head_count_kv` and `sliding_window_pattern` hold one entry per block) are * collapsed into these classes, so an estimator can sum the real cache instead * of assuming every block is the widest one. */ export declare const kvLayerClassSchema: z.ZodObject<{ count: z.ZodNumber; headCountKv: z.ZodNumber; keyLength: z.ZodNumber; valueLength: z.ZodNumber; windowed: z.ZodBoolean; }, z.core.$strip>; /** * Transformer shape facts read out of a model's GGUF key-value metadata at * catalog-generation time, from what the registry captured at ingest. * * Absent for non-GGUF artifacts and for GGUF files whose metadata extraction * failed — that absence is what makes a pre-download estimate unknown rather * than wrong. */ export declare const ggufFactsSchema: z.ZodObject<{ architecture: z.ZodString; blockCount: z.ZodNumber; headCount: z.ZodNumber; headCountKv: z.ZodNumber; keyLength: z.ZodNumber; valueLength: z.ZodNumber; embeddingLength: z.ZodNumber; contextLength: z.ZodNumber; parameterCount: z.ZodOptional; slidingWindow: z.ZodOptional; keyLengthSwa: z.ZodOptional; valueLengthSwa: z.ZodOptional; kvLayerClasses: z.ZodOptional>>; fullAttentionInterval: z.ZodOptional; ssmStateSize: z.ZodOptional; ssmConvKernel: z.ZodOptional; ssmInnerSize: z.ZodOptional; ssmGroupCount: z.ZodOptional; assumptions: z.ZodOptional>; }, z.core.$strip>; /** * Per-model facts the computed floor reads before download. Generated into * `models/registry/resource-profiles.ts` alongside the model catalog. */ export declare const modelResourceProfileSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; engine: z.ZodEnum<{ "llamacpp-completion": "llamacpp-completion"; "whispercpp-transcription": "whispercpp-transcription"; "bci-whispercpp-transcription": "bci-whispercpp-transcription"; "llamacpp-embedding": "llamacpp-embedding"; "llamacpp-decision": "llamacpp-decision"; "nmtcpp-translation": "nmtcpp-translation"; "onnx-tts": "onnx-tts"; "tts-ggml": "tts-ggml"; "parakeet-transcription": "parakeet-transcription"; "moss-transcribe": "moss-transcribe"; "ggml-ocr": "ggml-ocr"; "sdcpp-generation": "sdcpp-generation"; "audiogen-ggml": "audiogen-ggml"; "ggml-vla": "ggml-vla"; "ggml-classification": "ggml-classification"; "onnx-vad": "onnx-vad"; }>; artifactBytes: z.ZodNumber; ggufFacts: z.ZodOptional; slidingWindow: z.ZodOptional; keyLengthSwa: z.ZodOptional; valueLengthSwa: z.ZodOptional; kvLayerClasses: z.ZodOptional>>; fullAttentionInterval: z.ZodOptional; ssmStateSize: z.ZodOptional; ssmConvKernel: z.ZodOptional; ssmInnerSize: z.ZodOptional; ssmGroupCount: z.ZodOptional; assumptions: z.ZodOptional>; }, z.core.$strip>>; assumptions: z.ZodOptional>; }, z.core.$strip>; export type KvLayerClass = z.infer; export type GgufFacts = z.infer; export type ModelResourceProfile = z.infer;