export interface Pos {
    x: number;
    y: number;
}
export interface Extent {
    width: number;
    height: number;
}
export interface Segment {
    start: Pos;
    end: Pos;
}
export interface Rectangle {
    x: number;
    y: number;
    width: number;
    height: number;
}
export declare function rectangleSegment(rect: Rectangle, line: Segment): Pos | undefined;
export declare function circleSegment(pos: Pos, r: number, line: Segment): Pos | undefined;
