/** * 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; export declare function ab2hexstring(arr: ArrayBuffer | ArrayLike): string; /** * Reverses a HEX string, treating 2 chars as a byte. * @example * reverseHex('abcdef') = 'efcdab' */ export declare function reverseHex(hex: string): string; /** * Converts an address to scripthash. */ export declare const getScriptHashFromAddress: (address: string) => string; export default function getNEOScriptHash(address: string): string;