import { GlobalChartState } from '../chart_state' ; internal export const getInternalIsTooltipVisibleSelector = ( state ) : { visible : boolean ; isExternal : boolean ; } => { if ( state . internalChartState ) { return state . internalChartState . isTooltipVisible ( state ) ; } return { visible : false , isExternal : false } ; } ;