import { RefObject } from 'react';
import { MapRef } from '@vis.gl/react-mapbox';
import { Coordinates } from '../OffsetWellMap.types';
declare const PopupAnchor: {
    readonly Center: "center";
    readonly Top: "top";
    readonly Bottom: "bottom";
    readonly Left: "left";
    readonly Right: "right";
    readonly TopLeft: "top-left";
    readonly TopRight: "top-right";
    readonly BottomLeft: "bottom-left";
    readonly BottomRight: "bottom-right";
};
type PopupAnchor = typeof PopupAnchor[keyof typeof PopupAnchor];
type UseTooltipAnchorParams = {
    mapRef: RefObject<MapRef | null>;
    coords: Coordinates | null;
    isSubjectWell: boolean;
    isViewOnly: boolean;
    isClickable: boolean;
    hintsWidth?: number;
    hintsHeight?: number;
};
type UseTooltipAnchorReturn = {
    anchor: PopupAnchor;
    offset: number;
};
export declare const TOOLTIP_DIMENSIONS: {
    readonly maxWidth: 320;
    readonly estimatedHeight: 140;
    readonly estimatedHeightWithAction: 170;
};
export declare const useTooltipAnchor: ({ mapRef, coords, isSubjectWell, isViewOnly, isClickable, hintsWidth, hintsHeight, }: UseTooltipAnchorParams) => UseTooltipAnchorReturn;
export {};
//# sourceMappingURL=useTooltipAnchor.d.ts.map