/**
 * Checks if input is a hexstring. Empty string is considered a hexstring.
 */
export declare function isHex(str: string): boolean;
/**
 * Throws an error if input is not hexstring.
 */
export declare function ensureHex(str: string): void;
/**
 * Reverses a HEX string, treating 2 chars as a byte.
 *
 * @example
 * reverseHex('abcdef') = 'efcdab'
 */
export declare function reverseHex(hex: string): string;
//# sourceMappingURL=hex.d.ts.map