/** * Decodes base64 where the runtime has no `atob`, accepting exactly what * `atob` accepts: ASCII white space anywhere, and no padding, or the padding * the length calls for. * @ignore * @param {string} text - base64 encoded data * @returns {Uint8Array} the decoded bytes */ export function decodeBase64(text: string): Uint8Array; /** * Turns the base64 text of a Tiled layer into bytes. A `.tmx` file wraps it in * new lines and indentation, which are skipped. * @ignore * @param {string} text - base64 encoded data * @returns {Uint8Array} the decoded bytes */ export function base64ToBytes(text: string): Uint8Array; /** * The CRC-32 a gzip stream ends with (RFC 1952). * @ignore * @param {Uint8Array} data - the decompressed bytes * @returns {number} their CRC-32 */ export function crc32(data: Uint8Array): number; /** * The Adler-32 checksum a zlib stream ends with (RFC 1950). * @ignore * @param {Uint8Array} data - the decompressed bytes * @returns {number} their Adler-32 */ export function adler32(data: Uint8Array): number; /** * Decompresses the base64 data of a Tiled tile layer into its tile ids. * gzip and zlib data are told apart by their header rather than by the map's * `compression`, so a map that says one and holds the other still loads, as * it did with pako. * @ignore * @param {string} data - base64 encoded, compressed layer data * @param {string} format - "gzip", "zlib" or "zstd" * @returns {Uint32Array} the global tile ids, flip flags included */ export function inflate(data: string, format: string): Uint32Array; //# sourceMappingURL=inflate.d.ts.map