/** * Converts utf-16 string to a Uint8Array. * * @param str - the string to convert * * @returns the converted string */ export declare function strToBytes(str: string): Uint8Array; /** * Converts Uint8Array to a string. * * @param arr - the array to convert * * @returns A string representation of the array in utf-8 encoding */ export declare function bytesToStr(arr: Uint8Array): string;