import type { Maybe } from "@thi.ng/api"; import type { MultiFn2 } from "@thi.ng/defmulti"; import type { ReadonlyVec } from "@thi.ng/vectors"; import type { IShape, IShape2, IShape3 } from "./api.js"; /** * Function overrides for {@link splitNearPoint}. */ export type SplitNearPointFn = { (shape: T, p: ReadonlyVec): T[]; (shape: T, p: ReadonlyVec): T[]; } & MultiFn2>; /** * Similar to {@link splitAt}, but instead of taking a normalized parametric * split position, splits the given curve at the closest point to `p`. * * @remarks * Currently only implemented for: * * - {@link Cubic} * - {@link Cubic3} * - {@link Line} * - {@link Line3} * - {@link Polyline} * - {@link Polyline3} * - {@link Quadratic} * - {@link Quadratic3} * * @param shape - shape to operate on * @param p - split point */ export declare const splitNearPoint: SplitNearPointFn; //# sourceMappingURL=split-near.d.ts.map