export interface HashContentOptions { /** * Truncate the hex digest to this many leading characters. Omit for the full * 64-char SHA-256 hex string. Must be a positive integer when provided. */ length?: number; } /** * Compute a SHA-256 hex digest of `content` (a string or raw bytes). Returns the * full 64-char hex digest by default, or the leading `length` characters when * `length` is given. * * Strings are hashed as UTF-8 (matching the prior call-site convention). */ export declare function hashContent(content: string | Uint8Array, options?: HashContentOptions): string; //# sourceMappingURL=hash.d.ts.map