import type { DependencyGraphSnapshot, VulnerabilityFinding } from "../core/models.js"; import type { OwnershipPath } from "../core/ownership/tracer.js"; export interface FindingVersionMeta { installed?: string; /** Range or versions considered vulnerable (from audit). */ vulnerableRange?: string; /** Patched range for this package (override target). */ patchedRange?: string; /** Upgrade another package to fix this finding (npm fixAvailable.name). */ fixViaPackage?: string; fixViaVersion?: string; fixIsSemVerMajor?: boolean; } /** Resolved versions from lockfile graph for this advisory package. */ export declare function installedVersionsForFinding(f: VulnerabilityFinding, ownership: OwnershipPath[], graph: DependencyGraphSnapshot | null): string | undefined; export declare function getFindingVersionMeta(f: VulnerabilityFinding, ownership: OwnershipPath[], graph: DependencyGraphSnapshot | null): FindingVersionMeta; /** Human-readable fragment for terminal (no leading spaces). */ export declare function formatVersionMetaDimLine(meta: FindingVersionMeta): string | undefined; //# sourceMappingURL=finding-meta.d.ts.map