import { Cartesian3, Viewer, PolylineGraphics, PolygonGraphics, PointGraphics } from 'cesium'; import { DataCenter, VoidCallbackFn, DelConfirmFn, NoPropCallbackFn, EditCallbackFn } from './DataCenter.ts'; export declare const DRAWER_MODE: { readonly LINE: symbol; readonly POLYGON: symbol; }; export type DRAWER_MODE_TYPE = typeof DRAWER_MODE[keyof typeof DRAWER_MODE]; export type CP2dOptions = { drawerMode?: DRAWER_MODE_TYPE; point?: PointGraphics.ConstructorOptions; polygon?: PolygonGraphics.ConstructorOptions; polyline?: PolylineGraphics.ConstructorOptions; deshline?: PolylineGraphics.ConstructorOptions; afterAddPointFun?: VoidCallbackFn; movingCallbackFun?: VoidCallbackFn; editCallbackFun?: EditCallbackFn; delConfirmFun?: DelConfirmFn; delCallbackFun?: NoPropCallbackFn; overCallbackFun?: NoPropCallbackFn; } | null; export declare class CP2dDrawer extends DataCenter { private handler?; private mainLineEntity; private mainPolygonEntity; private dashLineEntity; private dashEndData; private polyline; private polygon; private deshline; private drawerMode; private overCallbackFun; constructor(viewer: Viewer, options?: CP2dOptions); start(): void; getEntity(): any; getPositions(): Cartesian3[]; clearAll(): void; private r_ClickEvent; private l_ClickEvent; private l_DownEvent; private l_UpEvent; private moveEvent; protected editMoveFun(event: any, cartesian: Cartesian3): void; private createMainLine; private createMainPolygon; private createDashline; }