/** * Content hashing and integrity verification for lexicon artifacts. */ import type { BundleSpec } from "./lexicon.js"; export interface ArtifactIntegrity { algorithm: string; artifacts: Record; composite: string; } /** * Hash a single artifact's content using the runtime's hash algorithm. */ export declare function hashArtifact(content: string): string; /** * Compute integrity for all artifacts in a BundleSpec. */ export declare function computeIntegrity(spec: BundleSpec): ArtifactIntegrity; /** * Verify integrity of a BundleSpec against expected hashes. */ export declare function verifyIntegrity(spec: BundleSpec, expected: ArtifactIntegrity): { ok: boolean; mismatches: string[]; }; //# sourceMappingURL=lexicon-integrity.d.ts.map