import type { AuthorityArtifact } from "./authority-artifact-store.js"; import type { AuthorityEnrollment } from "./authority-enrollment.js"; import type { ProjectFinishAttestationVerifierAssessment } from "./project-finish-attestation-verifier.js"; export type AuthorityArtifactTuple = { readonly artifactId: number; readonly artifactDigest: string; readonly runId: string; readonly sourceHead: string; }; export declare function matchesAuthorityArtifactTuple(artifact: AuthorityArtifact, expected: AuthorityArtifactTuple): boolean; export declare function classifyAuthorityArtifactTupleReason(artifact: AuthorityArtifact, expected: AuthorityArtifactTuple): AuthorityBindingReason; export declare function matchesAuthorityArtifactBinding(artifact: AuthorityArtifact, enrollment: AuthorityEnrollment, assessment: ProjectFinishAttestationVerifierAssessment): boolean; export declare const AUTHORITY_BINDING_REASONS: readonly ["artifact", "package-version", "source", "enrollment", "run", "signer", "freshness", "consumption", "verification", "unknown"]; export type AuthorityBindingReason = typeof AUTHORITY_BINDING_REASONS[number]; export declare const AUTHORITY_SOURCE_REASONS: readonly ["head", "inputs", "identity", "status", "index", "content", "working-tree", "workspace", "unknown"]; export type AuthoritySourceReason = typeof AUTHORITY_SOURCE_REASONS[number]; export declare function classifyAuthorityBindingReason(artifact: AuthorityArtifact, enrollment: AuthorityEnrollment, assessment: ProjectFinishAttestationVerifierAssessment): AuthorityBindingReason; export declare function classifyAuthoritySourceReason(artifact: AuthorityArtifact, assessment: ProjectFinishAttestationVerifierAssessment): AuthoritySourceReason;