import type { FactSet } from "../features/detect/detect.use-case.js"; /** * The failure classes `build --check` distinguishes, in the precedence * project-map:BEH-006 declares. A fingerprint difference accounts for every * byte difference downstream of it, so it outranks drift rather than hiding * inside it. */ export type CheckOutcome = { readonly code: 0; } | { readonly code: 1; readonly reason: string; } | { readonly code: 3; readonly reason: string; } | { readonly code: 4; readonly reason: string; }; export type ArtifactCheck = { readonly committed: string | null; readonly built: string; readonly analyzerBuildDigest: string; readonly registryDigest: string; readonly factSet: FactSet; }; export declare function checkFactsArtifact(check: ArtifactCheck): CheckOutcome;