import type { Maybe } from "@thi.ng/api"; import type { MultiFn2 } from "@thi.ng/defmulti"; import { type ReadonlyVec } from "@thi.ng/vectors/api"; import type { IShape } from "./api.js"; /** * Function overrides for {@link center}. */ export type CenterFn = { (shape: T, origin?: ReadonlyVec): Maybe; } & MultiFn2, Maybe>; /** * Returns copy of given shape centered around optionally provided point `p` * (default: world space origin). * * @remarks * Implemented for all shape types supported by {@link centroid} and * {@link translate}. * * @param shape * @param origin */ export declare const center: CenterFn; //# sourceMappingURL=center.d.ts.map