/**
 * Represents a point in 2D space.
 */
export interface Point {
    x: number;
    y: number;
}
/**
 * Represents a rectangle in 2D space.
 */
export interface Rect {
    x: number;
    y: number;
    width: number;
    height: number;
}
/**
 * Calculates the intersection point between a line segment (p1 -> p2) and a rectangle.
 * Assumes a coordinate system where Y grows downwards (standard screen coords).
 *
 * @param p1 The start point of the segment (typically inside the rect, e.g. center)
 * @param p2 The end point of the segment (target)
 * @param rect The rectangle to intersect with (x, y is top-left)
 * @returns The intersection point, or null if no intersection found within the segment
 */
export declare function getIntersection(p1: Point, p2: Point, rect: Rect): Point | null;
//# sourceMappingURL=geometry-utils.d.ts.map