import type { Severity } from "../core/models.js"; export interface PathTrieNode { children: Map; /** At least one ownership path ends on this package (the vulnerable leaf). */ terminalSeverity?: Severity; } /** Top level: L2 package name → subtrie. */ export type PathTrieRoot = Map; export declare function maxSeverity(a: Severity, b: Severity): Severity; export declare function trieInsert(root: PathTrieRoot, segments: string[], severity: Severity): void; //# sourceMappingURL=path-trie.d.ts.map