//#region src/utils/converters.d.ts /** * Converts a Uint8Array into a hexadecimal string. * * @param array - The Uint8Array to convert. * @returns The hexadecimal string representation of the array. */ declare function uint8ArrayToHex(array: Uint8Array): string; /** * Converts a UTF-8 string into a Uint8Array. * * @param str - The UTF-8 string to convert. * @returns A Uint8Array created from the UTF-8 string. */ declare function UTF8ToUint8(str: string): Uint8Array; /** * Converts an Uint8Array into a UTF-8 string. * * @param array - The Uint8Array to convert. * @returns The UTF-8 string representation of the array. */ declare function uint8ToUTF8(array: Uint8Array): string; /** * Converts a hexadecimal string into a Uint8Array. * * @param hex - The hexadecimal string to convert. * @returns A Uint8Array created from the hex string. */ declare function hexToUint8Array(hex: string): Uint8Array; /** * Converts a Uint8Array into a base64 string. * * @param array - The Uint8Array to convert. * @returns The base64 string representation of the array. */ declare function uint8ArrayToBase64(buffer: Uint8Array): string; /** * Converts a base64 string into a Uint8Array. * * @param str - The base64 string to convert. * @returns A Uint8Array created from the base64 string. */ declare function base64ToUint8Array(str: string): Uint8Array; //#endregion //#region src/utils/genMnemonic.d.ts /** * Generates a mnemonic * * @returns The generated mnemonic. */ declare function genMnemonic(): string; /** * Converts a mnemonic to Uint8Array * * @param mnemonic - The mnemonic to convert * @returns The mnemonic as Uint8Array */ declare function mnemonicToBytes(mnemonic: string): Uint8Array; /** * Converts a Uint8Array to a mnemonic * * @param bytes - The bytes to convert * @returns The mnemonic string */ declare function bytesToMnemonic(bytes: Uint8Array): string; //#endregion //#region src/utils/genID.d.ts /** * Creates a random identifier. * * @returns The resulting auxilary string */ declare function generateUuid(): string; declare function uuidToBytes(uuid: string): Uint8Array; declare function bytesToUuid(bytes: Uint8Array): string; //#endregion export { UTF8ToUint8, base64ToUint8Array, bytesToMnemonic, bytesToUuid, genMnemonic, generateUuid, hexToUint8Array, mnemonicToBytes, uint8ArrayToBase64, uint8ArrayToHex, uint8ToUTF8, uuidToBytes }; //# sourceMappingURL=utils.d.mts.map