/** * Normalize a typed array to one backed by an `ArrayBuffer` (rather than a * `SharedArrayBuffer`), as required by the WebCrypto `BufferSource` type. * Only copies when the input is not already `ArrayBuffer`-backed. * @param {Uint8Array} data * @returns {Uint8Array} */ export function toBufferSource(data: Uint8Array): Uint8Array; /** * Byte comparison utility * @param {Uint8Array} a * @param {Uint8Array} b * @returns {boolean} */ export function equalBytes(a: Uint8Array, b: Uint8Array): boolean;