import { Point2D } from '../entity/Point2D.entity'; import { Circle, Line, Rectangle, Shape } from '../entity/Shape'; export declare type CollisionResult = Point2D; export declare const HitTest: { pointInShape(point: Point2D, shape: Shape): boolean; pointInCircle({ x, y }: Point2D, circle: Circle): boolean; pointInRect({ x, y }: Point2D, rect: Rectangle): boolean; rectInRect(rect1: Rectangle, rect2: Rectangle): CollisionResult | undefined; circleInCircle(circle1: Circle, circle2: Circle): CollisionResult | undefined; lineInLine(line1: Line, line2: Line): boolean; lineInRect(line: Line, rect: Rectangle): boolean; };