import { Cartesian3, Viewer, PolylineGraphics, PolygonGraphics, PointGraphics } from 'cesium'; import { DataCenter } from './DataCenter'; export type RectMoveFn = (cartesians: Cartesian3[]) => void; export type RectOptions = { point?: PointGraphics.ConstructorOptions; polygon?: PolygonGraphics.ConstructorOptions; polyline?: PolylineGraphics.ConstructorOptions; rectOverFun?: RectMoveFn; rectMovingFun?: RectMoveFn; rectEditFun?: RectMoveFn; } | null; export declare class RectDrawer extends DataCenter { private handler; private firstPoint; private endPoint; private polyline; private polygon; private lineEntity; private polygonEntity; private rectMovingFun; private rectEditFun; private rectOverFun; constructor(viewer: Viewer, options?: RectOptions); start(): void; getEntity(): void; getPositions(): Cartesian3[]; clearAll(): void; private rect_L_ClickEvent; private rect_L_DownEvent; private rect_L_UpEvent; private rect_moveEvent; private rectMove; private initMainData; private createLine; private createPolygon; }