import { MutableRefObject } from 'react';
import MapboxDraw from '@mapbox/mapbox-gl-draw';
import type { PolygonCoord } from '../../../../stores/filter-store/types';
import type { LassoState } from '../../../../stores/selection-tool-store/types';
export declare const resetLassoDrawState: (drawRef: MutableRefObject<MapboxDraw | null>, setConfirmingPolygon: (v: PolygonCoord[] | null) => void, setIsDrawing: (v: boolean) => void, setIsEditingPolygon: (v: boolean) => void, setIsEditingVertices: (v: boolean) => void) => void;
export type LassoDrawActionsParams = {
    drawRef: MutableRefObject<MapboxDraw | null>;
    lassoState: LassoState;
    drawingPointCount: number;
    onPolygonChange: (coords: PolygonCoord[] | undefined) => void;
    setLassoState: (state: LassoState) => void;
    setConfirmingPolygon: (v: PolygonCoord[] | null) => void;
    setIsDrawing: (v: boolean) => void;
    setIsEditingPolygon: (v: boolean) => void;
    setIsEditingVertices: (v: boolean) => void;
    setDrawingPointCount: (v: number) => void;
    enterConfirmingPhase: (coords: [number, number][]) => void;
};
export declare const useLassoDrawActions: ({ drawRef, lassoState, drawingPointCount, onPolygonChange, setLassoState, setConfirmingPolygon, setIsDrawing, setIsEditingPolygon, setIsEditingVertices, setDrawingPointCount, enterConfirmingPhase, }: LassoDrawActionsParams) => {
    discardDrawing: () => void;
    completeDrawing: () => void;
    deletePolygon: () => void;
    handleDrawDelete: () => void;
};
//# sourceMappingURL=useLassoDrawActions.d.ts.map