import { RefObject } from 'react';
import { MapRef } from '@vis.gl/react-mapbox';
import { RadiusState, LassoState } from '../../../../stores/selection-tool-store/types';
import { Coordinates } from '../OffsetWellMap.types';
type UseConfirmationPopupPositionParams = {
    mapRef: RefObject<MapRef | null>;
    radiusState: RadiusState;
    lassoState: LassoState;
    isRadiusMode: boolean;
};
type UseConfirmationPopupPositionReturn = {
    coordinates: Coordinates | null;
};
/**
 * Calculates the position for the confirmation popup.
 * - For radius mode: positions at the bottom edge of the circle
 * - For lasso mode: positions at the southernmost vertex of the polygon
 * - Clamps to viewport if the position would be off-screen
 */
export declare const useConfirmationPopupPosition: ({ mapRef, radiusState, lassoState, isRadiusMode, }: UseConfirmationPopupPositionParams) => UseConfirmationPopupPositionReturn;
export {};
//# sourceMappingURL=useConfirmationPopupPosition.d.ts.map