import type { MValue, Properties, VectorFeatures, VectorMultiPolygon, VectorMultiPolygonGeometry, VectorPolygon, VectorPolygonGeometry } from '../../../index.js'; /** * Given a collection of polygons, if any of the polygons are kinked, dekink them * * NOTE: This algorithm assumes the ring order is correct. Outer rings must be counter-clockwise and * inner rings must be clockwise * @param polygons - the polygons are from either a VectorFeature, VectorPolygonGeometry, or raw VectorPolygon * @returns - the dekinked polygons */ export declare function dekinkPolygons, D extends MValue = Properties, P extends Properties = Properties>(polygons: VectorMultiPolygon | VectorMultiPolygonGeometry | VectorFeatures>): VectorMultiPolygonGeometry | undefined; /** * Given a polygon, if the polygon is kinked, dekink it * * NOTE: This algorithm assumes the ring order is correct. Outer rings must be counter-clockwise and * inner rings must be clockwise * @param polygon - the polygon as either a VectorFeature, VectorPolygonGeometry, or raw VectorPolygon * @returns - the dekinked polygon */ export declare function dekinkPolygon, D extends MValue = Properties, P extends Properties = Properties>(polygon: VectorPolygon | VectorPolygonGeometry | VectorFeatures>): VectorMultiPolygonGeometry | undefined; //# sourceMappingURL=dekink.d.ts.map