import { __name } from "../../_virtual/_rolldown/runtime.js"; import { Vector2, Vector3 } from "@overextended/core/vector"; import { Grid } from "@overextended/core/grid"; import { Cylinder, Prism, Sphere } from "@overextended/core/geometry"; //#region common/zones/index.d.ts type Shapes = Prism | Sphere | Cylinder; interface Zone { id: string; shape: Shapes; x: number; y: number; width: number; height: number; inside?: () => void; onEnter?: () => void; onExit?: () => void; [key: string]: any; } declare class Zone { private static nextId; static map: Map; static grid: Grid; static Prism(...args: ConstructorParameters): Zone; static Cuboid(...args: Parameters<(typeof Prism)['createCuboid']>): Zone; static Sphere(...args: ConstructorParameters): Zone; static delete(id: string): void; static getNearby(point: Vector2 | Vector3): ReadonlySet; static has(id: string): boolean; shouldDraw: boolean; private constructor(); draw(red?: number, green?: number, blue?: number, alpha?: number): void; } //#endregion export { Zone }; //# sourceMappingURL=index.d.ts.map