import { ComponentPropsWithRef, RefObject, JSX } from 'react'; import L, { LatLngTuple } from 'leaflet'; import 'leaflet-draw/dist/leaflet.draw.css'; export interface DrawControlsProps { featureGroupRef: RefObject; mode: string; polygonPositions: LatLngTuple[] | null; Button?: (props: ComponentPropsWithRef<'button'>) => JSX.Element; setLoading: (loading: boolean) => void; } export default function DrawControls({ featureGroupRef, mode, polygonPositions, Button, setLoading, }: DrawControlsProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=draw-controls.component.d.ts.map