import { t as BinInput } from "./bin-types-CKGKqfwj.mjs"; //#region src/common/data/bin.d.ts declare function _encodeUtf8Polyfill(str: string): Uint8Array; declare function _decodeUtf8Polyfill(buf: Uint8Array): string; declare function stringToUInt8Array(text: string): Uint8Array; declare function Uint8ArrayToString(bin: Uint8Array): string; declare function toArrayBuffer(bin: BinInput): ArrayBuffer; declare function toUint8Array(data: BinInput): Uint8Array; /** * Ensures a Uint8Array is backed by a real ArrayBuffer (not SharedArrayBuffer). * This is needed for Web Crypto API compatibility which requires BufferSource with ArrayBuffer. */ declare function ensureUint8Array(data: Uint8Array): Uint8Array; declare function joinToUint8Array(...args: BinInput[] | BinInput[][]): Uint8Array; declare function toHex(bin: BinInput): string; declare function fromHex(hexString: string): Uint8Array; /** Regular base64 */ declare function toBase64(bin: BinInput, stripPadding?: boolean): string; /** Converts `+` -> `-` and `/` -> `_`. Always strips `=` */ declare function toBase64Url(bin: BinInput): string; /** Also parses toBase64Url encoded strings. */ declare function fromBase64(s: string): Uint8Array; /** Also parses toBase64Url encoded strings. */ declare function fromBase64String(s: string): string; /** Compare contents of binary arrays */ declare function equalBinary(a: ArrayBuffer | Uint8Array, b: ArrayBuffer | Uint8Array): boolean; declare function jsonToUint8Array(json: any): Uint8Array | never; declare function Uint8ArrayToJson(data: Uint8Array): T | never; declare function Uint8ArrayToHexDump(buffer: Uint8Array | ArrayBuffer | string | Array, blockSize?: number): string | false; //#endregion export { toHex as _, _encodeUtf8Polyfill as a, fromBase64 as c, joinToUint8Array as d, jsonToUint8Array as f, toBase64Url as g, toBase64 as h, _decodeUtf8Polyfill as i, fromBase64String as l, toArrayBuffer as m, Uint8ArrayToJson as n, ensureUint8Array as o, stringToUInt8Array as p, Uint8ArrayToString as r, equalBinary as s, Uint8ArrayToHexDump as t, fromHex as u, toUint8Array as v }; //# sourceMappingURL=bin-CEF44EVH.d.mts.map