import type { FnU2 } from "@thi.ng/api";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
/**
 * Returns closest point to `p` in given point array, optionally using custom
 * distance function `dist` (default:
 * [`distSq`](https://docs.thi.ng/umbrella/vectors/functions/distSq.html)).
 *
 * @param p -
 * @param pts -
 * @param out -
 * @param dist -
 */
export declare const closestPointArray: (p: ReadonlyVec, pts: Vec[], out?: Vec, dist?: FnU2<ReadonlyVec, number>) => Vec | undefined;
//# sourceMappingURL=points.d.ts.map