import * as L from 'leaflet'; /** * Service for managing map state and notifying listeners. */ export declare class MapStateService { private map; private mapListeners; constructor(); onMapUpdated(callback: (map: L.Map) => void): void; private emitMapUpdated; /** * Updates the current map state and notifies listeners. * @param map The Leaflet map instance. */ updateMapState(map: L.Map): void; /** * Updates the polygons in the map state. * @param polygons Array of polygons. */ updatePolygons(polygons: L.LatLngLiteral[][][]): void; } //# sourceMappingURL=map-state.d.ts.map