/** * Hex encoding and decoding helpers. * * @module */ /** * Converts a `Uint8Array` to a lowercase hex string. * * @returns hex string with two characters per byte */ export declare const to_hex: (bytes: Uint8Array) => string; /** * Decodes a hex string to a `Uint8Array`. * Whitespace is stripped before parsing. Returns `null` for invalid hex. * * @param hex - hex string to decode (case-insensitive, whitespace allowed) * @returns decoded bytes, or `null` if the input is not valid hex */ export declare const from_hex: (hex: string) => Uint8Array | null; //# sourceMappingURL=hex.d.ts.map