import type { ProcessedModel } from "./types"; /** * Detects companion file relationships among processed models and * attaches `companionSet` metadata to each primary entry. * Companion-only entries are marked with `isCompanionOnly` so * codegen can exclude them from exported model constants. * * Detection families: * ONNX pairs: * Primary: registryPath ends with `.onnx` * Companion: `${primaryPath}_data` or `${primaryPath}.data` * * Bergamot NMT sets (directory-based): * Primary: `model..intgemm.alphas.bin` * Companions in same directory: lex, vocab/srcvocab+trgvocab, metadata * * BCI whisper.cpp sets (directory-based): * Primary: `ggml-bci-windowed.bin` * Companion in same directory: `bci-embedder.bin` * The addon resolves the embedder by exact filename next to the model * (`dirname(model)/bci-embedder.bin`), so the two files must be * physically co-located — which the companion-set cache layout guarantees. */ export declare function groupCompanionSets(models: ProcessedModel[]): ProcessedModel[]; //# sourceMappingURL=companions.d.ts.map