import { GeometryObject, GeometryCollection, Feature, FeatureCollection, GeometryTypes, CollectionTypes, Types, AllGeoJSON, Geometries } from '@spatial/helpers' /** * http://turfjs.org/docs/#getcoords */ export function getCoord(obj: Feature | GeometryObject | any[]): number[]; /** * http://turfjs.org/docs/#getcoords */ export function getCoords(obj: Feature | GeometryObject | any[]): any[]; /** * http://turfjs.org/docs/#geojsontype */ export function geojsonType(value: AllGeoJSON, type: string, name: string): void; /** * http://turfjs.org/docs/#featureof */ export function featureOf(feature: Feature, type: string, name: string): void; /** * http://turfjs.org/docs/#collectionof */ export function collectionOf(featurecollection: FeatureCollection, type: string, name: string): void; /** * http://turfjs.org/docs/#containsnumber */ export function containsNumber(coordinates: any[]): boolean; /** * http://turfjs.org/docs/#getgeom */ export function getGeom(geojson: T | Feature): T; export function getGeom(geojson: GeometryObject | Feature): GeometryObject; export function getGeom(geojson: Feature | GeometryCollection): GeometryCollection; export function getGeom(geojson: Feature): GeometryObject | GeometryCollection; /** * http://turfjs.org/docs/#gettype */ export function getType(geojson: Feature | Geometries): GeometryTypes; export function getType(geojson: FeatureCollection | Feature | GeometryCollection): CollectionTypes; export function getType(geojson: AllGeoJSON): Types;