import type { Diagnostic } from "../../../core/domain/facts/diagnostic.js"; import type { DetectionFact } from "../../../core/domain/facts/fact.js"; export declare const FACTS_SCHEMA_VERSION = "1"; export type ArtifactRequest = { readonly repositoryIdentity: string; readonly unitDigest: string; readonly analyzerBuildDigest: string; readonly registryDigest: string; readonly facts: readonly DetectionFact[]; readonly diagnostics: readonly Diagnostic[]; readonly coverage: Readonly>; }; /** * The verifiable artifact. It carries no timestamp and no build duration, so * two runs over one analysis unit compare byte for byte with no normalization. */ export declare function renderFactsArtifact(request: ArtifactRequest): string; export type SidecarRequest = { readonly generatedAt: string; readonly buildDurationMs: number; readonly unitDigest: string; }; /** * Everything check mode must not read. Kept in a separate file rather than a * separate section so that no comparison can reach it by accident. */ export declare function renderFactsSidecar(request: SidecarRequest): string; export declare function sidecarPathFor(factsPath: string): string;