/** * Generic SHA-256 content digest, tagged with its algorithm. * * Extracted from the manifest digest so any canonical-JSON content — not * only a full {@link WorkerManifest} — can be hashed with the same * collision-resistant, algorithm-tagged scheme. `hashString` (FNV-1a) stays * reserved for cache-key-quality placeholders; anything a host trusts as a * real content identity goes through this function instead. * * @module worker/manifest/content-digest */ /** * Algorithm tag prefixed to every digest this function produces. * * Carrying the algorithm in the value means a future change reads as a * difference rather than as a silent reinterpretation of the same hex. */ export declare const CONTENT_DIGEST_ALGORITHM = "sha256"; /** Digest a UTF-8 string with SHA-256, returning `sha256:`. */ export declare function sha256Hex(input: string): Promise;