import { Vec2 } from "../util"; export interface IBoundsOptions { x?: number; y?: number; width?: number; height?: number; left?: number; right?: number; top?: number; bottom?: number; } export declare class Bounds { x: number; y: number; width: number; height: number; d?: T; readonly area: number; readonly bottom: number; readonly left: number; readonly mid: Vec2; readonly right: number; readonly top: number; static emptyBounds(): Bounds; constructor(options: IBoundsOptions); containsPoint(point: Vec2): boolean; encapsulate(item: Bounds | Vec2): boolean; encapsulateAll(all: Bounds[] | Vec2[]): void; fits(bounds: Bounds): 0 | 1 | 2; hitBounds(bounds: Bounds): boolean; isInside(bounds: Bounds): boolean; readonly location: Vec2; toString(): string; }