import type { Point, Polygon } from "./2d.js"; /** * Calculate the centroid of a polygon, which is the weighted mean of * its points. If the polygon has zero signed area, the centroid of * the polygon's bounding box will be returned. The centroid is not * guaranteed to be within the polygon if it is not convex. */ export declare const centroidOfPolygon: (poly: Polygon) => Point; //# sourceMappingURL=centroid.d.ts.map