import { sha256Bytes } from "#sha256"; export { sha256Bytes }; /** HMAC-SHA256 of `data` under `key`, as 32 bytes. A string is used as UTF-8. */ export declare function hmacSha256(key: Uint8Array | string, data: Uint8Array | string): Uint8Array; /** The SHA-256 digest of `data` as lowercase hex. A string is hashed as UTF-8. */ export declare function sha256Hex(data: Uint8Array | string): string; /** The SHA-256 digest of a UTF-8 string, as lowercase hex. */ export declare function sha256Text(value: string): string; /** The SHA-256 digest of `data`, as 32 bytes, from WebCrypto. A string is * hashed as UTF-8. */ export declare function sha256BytesAsync(data: Uint8Array | string): Promise; /** HMAC-SHA256 of `data` under `key`, as 32 bytes, from WebCrypto. A * string is used as UTF-8. */ export declare function hmacSha256Async(key: Uint8Array | string, data: Uint8Array | string): Promise; /** The SHA-256 digest of `data` as lowercase hex, from WebCrypto. */ export declare function sha256HexAsync(data: Uint8Array | string): Promise; /** Bytes as lowercase hex. */ export declare function toHex(bytes: Uint8Array): string;