UNPKG

s2maps-gpu

Version:

S2 Maps GPU - An open source, high-performance, and GPU-accelerated map engine for rendering large-scale, interactive maps.

13 lines (12 loc) 497 B
import type { Format } from './index.js'; declare global { /** Expose a decompressionPolyfill */ var decompressionPolyfill: undefined | ((data: Uint8Array, format?: Format) => Uint8Array); } /** * A Browser compatible Gzip decompression function * @param bytes - the data to decompress * @param format - the format of the data. Defaults to 'gzip' * @returns - the decompressed data */ export declare function decompressStream(bytes: Uint8Array, format?: Format): Promise<Uint8Array>;