import { RefObject } from 'react';
export interface PortalPosition {
    positionX: number;
    positionY: number;
    width: number;
    fromBottom: number;
}
declare const usePortalPosition: (portalRef: RefObject<HTMLElement>, isPortalOpen: Boolean) => (portalRef: RefObject<HTMLElement>) => PortalPosition;
export default usePortalPosition;
