import type { Maybe } from "@thi.ng/api";
import type { MultiFn1O } from "@thi.ng/defmulti";
import type { Vec } from "@thi.ng/vectors";
import type { IShape } from "./api.js";
/**
 * Attempts to compute the center of weight (CoW) for given `shape`, otherwise
 * returns `undefined`.
 *
 * @remarks
 * The actual CoW is only available for these types:
 *
 * - {@link ComplexPolygon}
 * - {@link Polygon}
 *
 * For all other shapes, the normal {@link centroid} calculation will be used.
 * Also see {@link centroidOfBounds}.
 *
 * @param shape
 * @param out
 */
export declare const centerOfWeight: MultiFn1O<IShape, Vec, Maybe<Vec>>;
//# sourceMappingURL=center-of-weight.d.ts.map