import type { ReadonlyVec } from "@thi.ng/vectors";
import type { IShape } from "./api.js";
/**
 * Computes {@link closestPoint} on `shape` to `p`, and if successful, returns
 * the distance between that point and `p`, using optionally given `dist`ance
 * function (by default uses Eucledian distance).
 *
 * @param shape
 * @param p
 * @param dist
 */
export declare const proximity: (shape: IShape, p: ReadonlyVec, dist?: import("@thi.ng/vectors").DistanceFn) => number | undefined;
//# sourceMappingURL=proximity.d.ts.map