type RectArgs = {
    x: number;
    y: number;
    width: number;
    height: number;
};
export declare class Rect {
    x: number;
    y: number;
    width: number;
    height: number;
    constructor(props?: RectArgs);
    /**
     * Determines whether or not this rectangle wholly encloses another rectangle or point.
     **/
    contains(rect: Rect): boolean;
    /**
     * Determines whether or not the rectangle intersects with another.
     **/
    overlaps(rect: Rect): boolean;
    getMaximalFreeRects(rect: Rect): Rect[] | false;
    canFit(rect: Rect): boolean;
}
export {};
//# sourceMappingURL=Rect.d.ts.map