import { Feature } from 'geojson'; import { SpatialGeometry } from './utils'; /** * Get the Minimum Spanning Tree for the given geometries. The Minimum Spanning Tree is a tree that connects all the geometries with the minimum total weight. * For more information, see [Minimum Spanning Tree](https://en.wikipedia.org/wiki/Minimum_spanning_tree). * * ## Example * ```ts * const geoms = [ * { type: 'Feature', geometry: { type: 'Point', coordinates: [0, 0] } }, * { type: 'Feature', geometry: { type: 'Point', coordinates: [1, 0] } }, * { type: 'Feature', geometry: { type: 'Point', coordinates: [0, 1] } }, * ]; * * const mst = await getMST({ geoms }); * ``` * * @param geoms - The geometries to get the Minimum Spanning Tree for * @returns The Minimum Spanning Tree */ export declare function getMinimumSpanningTree({ geoms }: { geoms: SpatialGeometry; }): Promise[]>;