/** * Overload the Leaflet-Draw Control.Draw, to add custom "enableDrawingMode" and * "disableDrawingMode" features. * * Leaflet-draw doesn't provide any controls to enable the UI actions programmatically, * so we create these controls ourselves. These controls allow us to enable and disable * the drawing tools and UI controls. * Meaning; we can programmatically enable "drawing mode" AND enable the UI features * (i.e., trigger the interaction button, to provide access to the drawing tools * `cancel`, `finish shape`, `remove last point`, etc.). * * Unfortunately, we need to fetch the draw handler from the internal API. Leaflet * doesn't expose this any other way. */ declare const overloadLeafletDrawToolbarControls: () => void; export { overloadLeafletDrawToolbarControls };