/** * Optional WASM MVT geometry decoder (`orihon/mvt-wasm`). * JS still walks PBF layers; WASM turns command+zigzag varints into xy + partEnds. * Falls back to JS `decodePackedMVTJs` when WebAssembly is missing or the module rejects a tile. * Importing this module registers the decoder on `decodePackedMVT` / `createMVTProvider`. */ import { type MVTDecodeOptions, type PackedVectorTile } from "./mvt.js"; import type { VectorTileCoordinates, VectorTileProvider } from "./vector-tile-layer.js"; import { mvtTileWasmError, mvtTileWasmSupported } from "./mvt-tile-wasm.js"; export { mvtTileWasmError, mvtTileWasmSupported }; export declare function mvtGeometryWasmSupported(): boolean; export declare function mvtGeometryWasmError(): string; export declare function decodeMvtGeometryWasm(bytes: Uint8Array): { xy: Int32Array; partEnds: Uint32Array; } | null; export declare function decodePackedMVTFeatureWasm(data: ArrayBuffer | Uint8Array, tile: Pick, options?: MVTDecodeOptions): PackedVectorTile; export declare function decodePackedMVTWasm(data: ArrayBuffer | Uint8Array, tile: Pick, options?: MVTDecodeOptions): PackedVectorTile; export declare function createMVTWasmProvider(urlTemplate: string | ((tile: VectorTileCoordinates) => string), options?: MVTDecodeOptions): VectorTileProvider; //# sourceMappingURL=mvt-wasm.d.ts.map