| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 | import {  Point,  LineString,  Polygon,  MultiLineString,  MultiPolygon,  FeatureCollection,  Feature,  GeometryObject,  GeometryCollection,  AllGeoJSON,  Properties,  Geometries,  Lines,  BBox,  Id,} from "@turf/helpers";/** * http://turfjs.org/docs/#coordreduce */export function coordReduce<Reducer extends any>(  geojson: AllGeoJSON,  callback: (    previousValue: Reducer,    currentCoord: number[],    coordIndex: number,    featureIndex: number,    multiFeatureIndex: number,    geometryIndex: number  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#coordeach */export function coordEach(  geojson: AllGeoJSON,  callback: (    currentCoord: number[],    coordIndex: number,    featureIndex: number,    multiFeatureIndex: number,    geometryIndex: number  ) => void,  excludeWrapCoord?: boolean): void;/** * http://turfjs.org/docs/#propeach */export function propEach<Props extends Properties>(  geojson: Feature<any> | FeatureCollection<any> | Feature<GeometryCollection>,  callback: (currentProperties: Props, featureIndex: number) => void): void;/** * http://turfjs.org/docs/#propreduce */export function propReduce<Reducer extends any, P = Properties>(  geojson:    | Feature<any, P>    | FeatureCollection<any, P>    | Geometries    | GeometryCollection,  callback: (    previousValue: Reducer,    currentProperties: P,    featureIndex: number  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#featurereduce */export function featureReduce<  Reducer extends any,  G extends Geometries,  P = Properties>(  geojson:    | Feature<G, P>    | FeatureCollection<G, P>    | Feature<GeometryCollection, P>,  callback: (    previousValue: Reducer,    currentFeature: Feature<G, P>,    featureIndex: number  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#featureeach */export function featureEach<G extends any, P = Properties>(  geojson:    | Feature<G, P>    | FeatureCollection<G, P>    | Feature<GeometryCollection, P>,  callback: (currentFeature: Feature<G, P>, featureIndex: number) => void): void;/** * http://turfjs.org/docs/#coordall */export function coordAll(geojson: AllGeoJSON): number[][];/** * http://turfjs.org/docs/#geomreduce */export function geomReduce<  Reducer extends any,  G extends Geometries,  P = Properties>(  geojson:    | Feature<G, P>    | FeatureCollection<G, P>    | G    | GeometryCollection    | Feature<GeometryCollection, P>,  callback: (    previousValue: Reducer,    currentGeometry: G,    featureIndex: number,    featureProperties: P,    featureBBox: BBox,    featureId: Id  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#geomeach */export function geomEach<G extends Geometries | null, P = Properties>(  geojson:    | Feature<G, P>    | FeatureCollection<G, P>    | G    | GeometryCollection    | Feature<GeometryCollection, P>,  callback: (    currentGeometry: G,    featureIndex: number,    featureProperties: P,    featureBBox: BBox,    featureId: Id  ) => void): void;/** * http://turfjs.org/docs/#flattenreduce */export function flattenReduce<  Reducer extends any,  G extends Geometries,  P = Properties>(  geojson:    | Feature<G, P>    | FeatureCollection<G, P>    | G    | GeometryCollection    | Feature<GeometryCollection, P>,  callback: (    previousValue: Reducer,    currentFeature: Feature<G, P>,    featureIndex: number,    multiFeatureIndex: number  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#flatteneach */export function flattenEach<G = Geometries, P = Properties>(  geojson:    | Feature<G, P>    | FeatureCollection<G, P>    | G    | GeometryCollection    | Feature<GeometryCollection, P>,  callback: (    currentFeature: Feature<G, P>,    featureIndex: number,    multiFeatureIndex: number  ) => void): void;/** * http://turfjs.org/docs/#segmentreduce */export function segmentReduce<Reducer extends any, P = Properties>(  geojson:    | FeatureCollection<Lines, P>    | Feature<Lines, P>    | Lines    | Feature<GeometryCollection, P>    | GeometryCollection,  callback: (    previousValue?: Reducer,    currentSegment?: Feature<LineString, P>,    featureIndex?: number,    multiFeatureIndex?: number,    segmentIndex?: number,    geometryIndex?: number  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#segmenteach */export function segmentEach<P = Properties>(  geojson: AllGeoJSON,  callback: (    currentSegment?: Feature<LineString, P>,    featureIndex?: number,    multiFeatureIndex?: number,    segmentIndex?: number,    geometryIndex?: number  ) => void): void;/** * http://turfjs.org/docs/#linereduce */export function lineReduce<Reducer extends any, P = Properties>(  geojson:    | FeatureCollection<Lines, P>    | Feature<Lines, P>    | Lines    | Feature<GeometryCollection, P>    | GeometryCollection,  callback: (    previousValue?: Reducer,    currentLine?: Feature<LineString, P>,    featureIndex?: number,    multiFeatureIndex?: number,    geometryIndex?: number  ) => Reducer,  initialValue?: Reducer): Reducer;/** * http://turfjs.org/docs/#lineeach */export function lineEach<P = Properties>(  geojson:    | FeatureCollection<Lines, P>    | Feature<Lines, P>    | Lines    | Feature<GeometryCollection, P>    | GeometryCollection,  callback: (    currentLine?: Feature<LineString, P>,    featureIndex?: number,    multiFeatureIndex?: number,    geometryIndex?: number  ) => void): void;/** * http://turfjs.org/docs/#findsegment */export function findSegment<  G extends LineString | MultiLineString | Polygon | MultiPolygon,  P = Properties>(  geojson: Feature<G, P> | FeatureCollection<G, P> | G,  options?: {    featureIndex?: number;    multiFeatureIndex?: number;    geometryIndex?: number;    segmentIndex?: number;    properties?: P;    bbox?: BBox;    id?: Id;  }): Feature<LineString, P>;/** * http://turfjs.org/docs/#findpoint */export function findPoint<G extends GeometryObject, P = Properties>(  geojson: Feature<G, P> | FeatureCollection<G, P> | G,  options?: {    featureIndex?: number;    multiFeatureIndex?: number;    geometryIndex?: number;    coordIndex?: number;    properties?: P;    bbox?: BBox;    id?: Id;  }): Feature<Point, P>;
 |