import { type ModelKind, type VisionFamily } from "./modelKind.js"; /** The kind rules of `modelKind.ts` applied to a directory on disk. Kept * apart from the rules so that `config.ts`, which lists the kinds, does * not reach `fs` through them. */ /** What kind of model a directory holds, from its files alone, or null * when no rule matches. */ export declare function kindOfModelDir(dir: string): ModelKind | null; /** The transformers vision family of the model in `dir`, from its * config.json, or undefined for a directory with no such config, such as * the ONNX tagger. */ export declare function visionFamilyOf(dir: string): VisionFamily | undefined; /** The first architecture in config.json, or an empty string when absent. */ export declare function architectureOfModelDir(dir: string): string;