import { MutableRefObject } from 'react';
import MapboxDraw from '@mapbox/mapbox-gl-draw';
import type { PolygonCoord } from '../../../../../stores/filter-store/types';
import { MapStyleValue } from '../../constants';
import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css';
type DrawControlProps = {
    mapStyle: MapStyleValue;
    initialPolygon?: PolygonCoord[];
    onDrawCreate: (e: {
        features: GeoJSON.Feature[];
    }) => void;
    onDrawUpdate: (e: {
        features: GeoJSON.Feature[];
    }) => void;
    onDrawDelete: () => void;
    onModeChange: (e: {
        mode: string;
    }) => void;
    onSelectionChange: (e: {
        features: GeoJSON.Feature[];
    }) => void;
    drawRef: MutableRefObject<MapboxDraw | null>;
};
export declare const DrawControl: {
    ({ mapStyle, initialPolygon, onDrawCreate, onDrawUpdate, onDrawDelete, onModeChange, onSelectionChange, drawRef, }: DrawControlProps): null;
    displayName: string;
};
export {};
//# sourceMappingURL=DrawControl.d.ts.map