import Result from "../../models/Result"; export interface Point { pointcoord: number[]; pointcoordZ: number; } export interface AddPolygonParams { modelFiles: { modelId: string; type: string; group?: string; coordType: number; coordTypeZ: number; }; polygonFiles: { isPerspective?: boolean; polygonStyle: string; capVisible: boolean; height: number; polygonColor: string; opacity: number; fillerStyle: string; fillerColor: string; fillerOpa: number; point: Point[]; customData?: any; }; } export interface UpdatePolygonStyleParams { modelFiles: { modelId: string; type?: string; group?: string; }; polygonFiles: { isPerspective?: boolean; polygonStyle: string; capVisible: boolean; height: number; polygonColor: string; opacity: number; fillerStyle: string; fillerColor: string; fillerOpa: number; customData?: any; }; } export interface UpdatePolygonCoordParams { modelFiles: { modelId: string; coordType: number; coordTypeZ: number; }; polygonFiles: { point: Point[]; }; } declare class Polygon { private static get className(); static addPolygon: (params: AddPolygonParams[]) => Promise>; static updatePolygonStyle: (params: UpdatePolygonStyleParams[]) => Promise>; static updatePolygonCoord: (params: UpdatePolygonCoordParams[]) => Promise>; } export default Polygon;