/**
 * Converts a string to an array of UTF-16 byte values (code units).
 * @param {string} str  The input string to convert.
 * @returns {number[]}  An array of UTF-16 byte values (code units).
 */
export function toUtf16Bytes(str: string): number[];
/**
 * Converts a Buffer to an array of UTF-16 byte values (code units).
 * @param {Buffer} data - The input string to convert.
 * @param {import("../types.js").ShaType} algorithm either sha-256 or sha-512
 * @returns {number[]} - An array of UTF-16 byte values (code units).
 */
export function hashBuffer(data: Buffer, algorithm: import("../types.js").ShaType): number[];
