import { GlobalChartState } from '../chart_state' ; internal export const getChartTypeDescriptionSelector = ( state ) : string => { if ( state . internalChartState ) { return state . internalChartState . getChartTypeDescription ( state ) ; } return 'unknown chart type' ; } ;