import type { Vec } from "@thi.ng/vectors";
import type { IShape } from "./api.js";
/**
 * Attempts to compute the bounding box of given `shape` and if available,
 * returns its centroid (or writes it to `out`, if given). Otherwise returns
 * `undefined`.
 *
 * @param shape
 * @param out
 */
export declare const centroidOfBounds: (shape: IShape, out?: Vec) => import("@thi.ng/api").Maybe<Vec>;
//# sourceMappingURL=centroid-of-bounds.d.ts.map