import { MoveValue } from "@aptos-labs/ts-sdk"; /** * Converts a string to a Uint8Array. * * @param data - The string to be converted. * @returns A Uint8Array representing the input string. */ export declare const stringToUint8Array: (data: string) => Uint8Array; /** * Converts a given string to its hexadecimal representation. * * @param data - The string to be converted to hex. * @returns The hexadecimal representation of the input string. */ export declare const stringToHex: (data: string) => string; /** * Converts a Uint8Array to a UTF-8 string. * * @param data - The Uint8Array to convert. * @returns The resulting string. */ export declare const uint8ArrayToString: (data: Uint8Array) => string; /** * Converts a string to its hexadecimal representation. * * @param str - The input string to be converted to hexadecimal. * @returns The hexadecimal representation of the input string, prefixed with "0x". * * @example * ```typescript * const hexString = StringToHex("hello"); * console.log(hexString); // Output: "0x68656c6c6f" * ``` */ export declare function StringToHex(str: string): string; /** * Converts a MoveValue to a bigint. * * @param value - The MoveValue to be converted. * @returns The converted bigint value. */ export declare function mapToBigInt(value: MoveValue): bigint; /** * Converts a hexadecimal string to a Uint8Array. * * @param hexString - The hexadecimal string to convert. It can optionally start with "0x". * @returns A Uint8Array representing the binary data of the hexadecimal string. */ export declare const hexToUint8Array: (hexString: string) => Uint8Array;