import { Cartesian3 } from 'cesium'; import { CesiumTypes, PolygonStyle, Viewer } from '../type'; import { default as Basic } from '../bastic'; export declare class FreehandPolygon extends Basic { points: Cartesian3[]; freehand: boolean; constructor(cesium: CesiumTypes, viewer: Viewer, style?: PolygonStyle); addPoint(cartesian: Cartesian3): void; updateMovingPoint(cartesian: Cartesian3): void; updateDraggingPoint(cartesian: Cartesian3, index: number): void; getPoints(): Cartesian3[]; }