import { AnchorPosition } from '../../components/portal/types' ; import { GlobalChartState } from '../chart_state' ; internal export const getInternalTooltipAnchorPositionSelector = ( state ) : AnchorPosition | null => { if ( state . internalChartState ) { return state . internalChartState . getTooltipAnchor ( state ) ; } return null ; } ;