/** * SLSA Provenance Generator * * Generates SLSA v1.0 provenance statements for certifications. * * @module sbom/provenance */ import type { InTotoStatement, ProvenanceOptions } from "./types.js"; import type { Certification } from "../certification/types.js"; /** * Calculate SHA-256 digest of a string */ export declare function sha256Digest(content: string): string; /** * Calculate SHA-256 digest of a file */ export declare function sha256File(filePath: string): Promise; /** * Generate SLSA provenance for a certification */ export declare function generateProvenance(certification: Certification, artifactContent: string, options?: ProvenanceOptions): Promise; /** * Generate provenance as JSON string */ export declare function generateProvenanceJson(certification: Certification, artifactContent: string, options?: ProvenanceOptions): Promise; /** * Generate compact provenance summary */ export declare function generateProvenanceSummary(provenance: InTotoStatement): string; /** * Verify provenance matches a certification */ export declare function verifyProvenance(provenance: InTotoStatement, certification: Certification, artifactContent: string): { valid: boolean; errors: string[]; }; //# sourceMappingURL=provenance.d.ts.map