import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getPartitionSpec } from './partition_spec' ; internal export const getChartTypeDescriptionSelector = createCustomCachedSelector ( [ getPartitionSpec ] , ( partitionSpec ) : string => { return `${ partitionSpec ?. layout } chart` ?? 'Partition chart' ; } ) ;