import { Cartesian3, Entity, PointGraphics, Viewer } from 'cesium'; import { DrawerStatus } from './DrawerStatus'; export type VoidCallbackFn = (cartesian: Cartesian3) => void; export type EditCallbackFn = (cartesian: Cartesian3, index: number) => void; export type DelConfirmFn = () => Promise; export type NoPropCallbackFn = () => void; export declare class DataCenter extends DrawerStatus { protected mainData: Cartesian3[]; protected dataSource: any; protected currentDragPoint: Entity | null; protected currentIndex: number; protected point: PointGraphics.ConstructorOptions | undefined; protected afterAddPointFun: VoidCallbackFn | undefined; protected movingCallbackFun: VoidCallbackFn | undefined; protected editCallbackFun: EditCallbackFn | undefined; protected delCallbackFun: NoPropCallbackFn | undefined; protected delConfirmFun: DelConfirmFn; constructor(viewer: Viewer); /** * 获取DataSource * @returns */ getDataSource(): any; /** * 获取所有节点数据 * @returns Cartesian3[] */ refreshPositionsData(): Cartesian3[]; protected clearAllData(): void; protected getEntityIndex(): void; protected deleteMoveFun(event: any): void; protected addPoint(cartesian: Cartesian3): any; protected deletePoint(entity: Entity): void; protected delCallback(): Promise; }