import { Dimensions } from '../../utils/dimensions' ; import { GlobalChartState } from '../chart_state' ; internal export const getInternalBrushAreaSelector = ( state ) : Dimensions | null => { if ( state . internalChartState ) { return state . internalChartState . getBrushArea ( state ) ; } return null ; } ;