import { GlobalChartState } from '../chart_state' ; internal export interface LegendItemLabel { label : string ; depth : number ; } internal export const getLegendItemsLabelsSelector = ( state ) : LegendItemLabel [ ] => state . internalChartState ?. getLegendItemsLabels ( state ) ?? [ ] ;