import type { Dataset } from '@mui/x-internals/types'; export type ChartState = { label?: string; synced: boolean; dimensions: Dataset; values: Dataset; type: string; configuration: Record; dimensionsLabel?: string; valuesLabel?: string; maxDimensions?: number; maxValues?: number; }; export interface GridChartsIntegrationContextValue { chartStateLookup: Record; setChartState: (id: string, state: Partial) => void; }