import type { Detection, Point, Rect, TopLeftRect } from "#types/detections"; export declare function centerRectToTopLeftRect(rect: Rect): TopLeftRect; export declare function topLeftRectToCenterRect(rect: TopLeftRect): Rect; export declare function getPointsRect(points: readonly Point[]): Rect | undefined; export declare function getDetectionRect(detection: Detection): Rect | undefined; export declare function containsPoint(rect: Rect, point: Point, padding?: number): boolean; export declare function pointInPolygon(point: Point, polygon: readonly Point[]): boolean; export declare function distanceToSegment(point: Point, start: Point, end: Point): number; export declare function polygonArea(points: readonly Point[]): number; export declare function rectArea(rect: Rect | undefined): number; //# sourceMappingURL=geometry.d.ts.map