/** * SHA-256 hash of arbitrary bytes. * Returns raw 32-byte Uint8Array. */ export declare function sha256Bytes(input: Uint8Array): Uint8Array; export declare function sha256Hex(input: string): string; /** * Normalize content to Uint8Array then hash it. * Strings are UTF-8 encoded before hashing. */ export declare function hashContent(content: Uint8Array | string): Uint8Array; /** * Encode raw bytes to base64. * Kept here so hash.ts is self-contained for its callers. */ export declare function bytesToBase64(bytes: Uint8Array): string; /** * Decode base64 to raw bytes. */ export declare function base64ToBytes(b64: string): Uint8Array; export declare function bytesToHex(bytes: Uint8Array): string;