import { Point } from './common.js'; type Box = { center: Point; width: number; height: number; }; type BoxSet = Box[]; type GridCell = { boxes: Box[]; }; declare function getBoundingBox(box: Box): { minX: number; maxX: number; minY: number; maxY: number; }; declare function computeManhattanDistanceBetweenBoxes(boxA: Box, boxB: Box): { distance: number; pointA: Point; pointB: Point; }; /** * @deprecated Use {@link computeManhattanDistanceBetweenBoxes} instead. */ declare function computeDistanceBetweenBoxes(boxA: Box, boxB: Box): { distance: number; pointA: Point; pointB: Point; }; declare function computeGapBetweenBoxes(boxA: Box, boxB: Box): number; declare function clamp(value: number, min: number, max: number): number; declare function findNearestPointsBetweenBoxSets(boxSetA: BoxSet, boxSetB: BoxSet): { pointA: Point; pointB: Point; distance: number; }; export { type Box, type BoxSet, type GridCell, clamp, computeDistanceBetweenBoxes, computeGapBetweenBoxes, computeManhattanDistanceBetweenBoxes, findNearestPointsBetweenBoxSets, getBoundingBox };