import '@geoman-io/leaflet-geoman-free'; import '@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css'; import L from 'leaflet'; import type { GeoJsonObject } from 'geojson'; import type { MyMap } from 'map-sdk-leaflet/es/sdk/ShipxyAPISDK'; import 'leaflet-semicircle'; import 'leaflet-ellipse'; export interface StylePolygon { color?: string; weight?: number; opacity?: number; fillColor?: string; fillOpacity?: number; dashArray?: number[]; fill?: boolean; stroke?: boolean; editComonent?: any; data?: GeoJsonObject | GeoJsonObject[]; [key: string]: any; } export declare type DrawType = 'Marker' | 'Circle' | 'Line' | 'Rectangle' | 'Polygon' | 'Cut' | 'CircleMarker' | 'ImageOverlay' | 'Text'; export declare class DrawManager { geoJsonStylePolygon: StylePolygon; _map: MyMap; _options: StylePolygon; gsonLayer: Record; constructor(map: MyMap, options?: StylePolygon); init(): void; onClickGeojsonLayers(event: { layer: any; }): void; remove(id?: string): void; _DataEcho(id: string, geoJsonData?: GeoJsonObject | GeoJsonObject[]): void; drawPolygon(type: DrawType, options?: L.PM.DrawModeOptions): void; }