import type { ClusterIndex } from "./cluster-layout.js"; export interface ClusterIndexWasmOptions { gridSize?: number; minPoints?: number; clusterize?: boolean; clusterMaxZoom?: number; clusterMinZoom?: number; simple?: boolean; /** Internal benchmark hook. */ __clusterIndexWasmProfile?: Record; } export declare function clusterIndexWasmSupported(): boolean; export declare function clusterIndexWasmError(): string; /** Stable result: one WASM build -> one snapshot copy -> typed-array views. ids stay on the JS/main-thread side. */ export declare function buildClusterIndexWasm(coords: Float64Array | Float32Array, options?: ClusterIndexWasmOptions): ClusterIndex | null; /** Benchmark-only live views. Invalid after the next build or WebAssembly.Memory.grow(). */ export declare function buildClusterIndexWasmUnsafe(coords: Float64Array | Float32Array, options?: ClusterIndexWasmOptions): ClusterIndex | null; export declare function decodeClusterIndexWasmBlob(buffer: ArrayBuffer): ClusterIndex | null; export declare function clusterIndexWasmWorkerAddonSource(): string; //# sourceMappingURL=cluster-index-wasm.d.ts.map