import React from 'react';
import { InternalPosition, Offset, PopoverProps } from './interfaces';
export default function usePopoverPosition({ popoverRef, bodyRef, arrowRef, getTrack, triggerClampRef, contentRef, allowScrollToFit, allowVerticalOverflow, preferredPosition, renderWithPortal, keepPosition, hideOnOverscroll, minVisibleBlockSize, }: {
    popoverRef: React.RefObject<HTMLDivElement | null>;
    bodyRef: React.RefObject<HTMLDivElement | null>;
    arrowRef: React.RefObject<HTMLDivElement | null>;
    getTrack: () => null | HTMLElement | SVGElement;
    contentRef: React.RefObject<HTMLDivElement | null>;
    triggerClampRef?: React.RefObject<HTMLElement>;
    allowScrollToFit?: boolean;
    allowVerticalOverflow?: boolean;
    preferredPosition: PopoverProps.Position;
    renderWithPortal?: boolean;
    keepPosition?: boolean;
    hideOnOverscroll?: boolean;
    minVisibleBlockSize?: number;
}): {
    updatePositionHandler: (onContentResize?: any) => void;
    popoverStyle: Partial<Offset>;
    internalPosition: InternalPosition | null;
    positionHandlerRef: React.MutableRefObject<() => void>;
    isOverscrolling: boolean;
};
//# sourceMappingURL=use-popover-position.d.ts.map