import { GeoDaModule, GeometryCollection } from '@geoda/common'; import { ArcLayerData, PointLayerData } from './utils'; /** * The type of the props for getGeometryCollectionFromGeoJson * @param pointLayerData - the point layer data * @param wasm - the wasm module */ export type GetGeometryCollectionFromPointLayerDataProps = { pointLayerData: PointLayerData[]; wasm: GeoDaModule; convertToUTM?: boolean; }; /** * Get PointCollection from PointLayerData: lat/lng pairs * @param props - the props for getGeometryCollectionFromPointLayerData see {@link GetGeometryCollectionFromPointLayerDataProps} * @returns PointCollection - the point collection see src/spatial_features.h */ export declare function getGeometryCollectionFromPointLayerData({ pointLayerData, wasm, convertToUTM, }: GetGeometryCollectionFromPointLayerDataProps): GeometryCollection; export type GetGeometryCollectionFromArcLayerDataProps = { arcLayerData: ArcLayerData[]; wasm: GeoDaModule; convertToUTM?: boolean; }; /** * Get PointCollection from ArcLayerData: lat/lng pairs * @param props - the props for getGeometryCollectionFromArcLayerData see {@link GetGeometryCollectionFromArcLayerDataProps} * @returns PointCollection - the point collection see src/spatial_features.h */ export declare function getGeometryCollectionFromArcLayerData({ arcLayerData, wasm, convertToUTM, }: GetGeometryCollectionFromArcLayerDataProps): GeometryCollection;