import { TooltipInfo } from '../../components/tooltip/types' ; import { GlobalChartState } from '../chart_state' ; internal export const getInternalTooltipInfoSelector = ( state ) : TooltipInfo | undefined => { if ( state . internalChartState ) { return state . internalChartState . getTooltipInfo ( state ) ; } } ;