import { PolygonHierarchy } from '@cesium/engine'; import { Position } from '../../core'; import { default as Overlay } from '../Overlay'; declare class Polygon extends Overlay { private _positions; private _holes; constructor(positions: any); get type(): string; set positions(positions: string | any[]); get positions(): Position[]; set holes(holes: string[]); get holes(): Array; get center(): Position; get area(): number; /** * * @private */ _computeHierarchy(): PolygonHierarchy; _mountedHook(): void; /** * Sets text * @param text * @param textStyle * @returns {Polygon} */ setLabel(text: any, textStyle: any): this; /** * Sets style * @param style * @returns {Polygon} */ setStyle(style: any): this; /** * Parse from entity * @param entity * @returns {any} */ static fromEntity(entity: any): any; } export default Polygon;