import { MutableRefObject } from 'react';
import MapboxDraw from '@mapbox/mapbox-gl-draw';
import type { PolygonCoord } from '../../../../stores/filter-store/types';
import type { OffsetWell } from '../../../../OffsetWellPickerV5.types';
import type { LassoState, SelectionToolMode } from '../../../../stores/selection-tool-store/types';
export declare const useLassoConfirmCancel: (lassoState: LassoState, confirmingPolygon: PolygonCoord[] | null, wellsInPolygon: OffsetWell[], onWellsSelected: ((wellIds: number[]) => void) | undefined, onDeactivate: (() => void) | undefined, drawRef: MutableRefObject<MapboxDraw | null>, setLassoState: (state: LassoState) => void, setMode: (mode: SelectionToolMode) => void, setConfirmingPolygon: (v: PolygonCoord[] | null) => void, setIsDrawing: (v: boolean) => void, setIsEditingPolygon: (v: boolean) => void, setIsEditingVertices: (v: boolean) => void) => {
    confirm: () => void;
    cancel: () => void;
};
//# sourceMappingURL=useLassoConfirmCancel.d.ts.map