import { FeatureGroup as LeafletFeatureGroup } from 'leaflet'; import { IntlShape } from 'react-intl'; /** * Overload the Leaflet-Draw delete control, to support "one-click" deletion of all * shapes. * * Update the "onclick" functionality of the Leaflet-Draw delete control to remove the * "delete menu" popup. Instead, just delete all shapes. To prevent accidental deletion, * a confirmation message will appear. * * @param featureGroupRef React ref to the FeatureGroup component * @param intl React-intl instance */ declare const overloadLeafletDeleteControl: (featureGroupRef: React.RefObject, intl: IntlShape) => void; export { overloadLeafletDeleteControl };