/** @noSelfInFile */ import { Handle } from "./handle.js"; import { Point } from "./point.js"; import { Rectangle } from "./rect.js"; import { Unit } from "./unit.js"; export declare class Region extends Handle { /** * @deprecated use `Region.create` instead. */ constructor(); static create(): Region; addCell(x: number, y: number): void; addCellPoint(whichPoint: Point): void; addRect(r: Rectangle): void; clearCell(x: number, y: number): void; clearCellPoint(whichPoint: Point): void; clearRect(r: Rectangle): void; containsCoords(x: number, y: number): boolean; containsPoint(whichPoint: Point): void; containsUnit(whichUnit: Unit): boolean; destroy(): void; static fromEvent(): Region | undefined; static fromHandle(handle: region | undefined): Region | undefined; } //# sourceMappingURL=region.d.ts.map