import { GridInitialState as GridInitialStatePro, GridState as GridStatePro } from 'mui-ultra/x-data-grid-pro'; import type { GridRowGroupingState, GridRowGroupingInitialState, GridAggregationState, GridAggregationInitialState } from '../hooks'; /** * The state of `DataGridPremium`. */ export interface GridStatePremium extends GridStatePro { rowGrouping: GridRowGroupingState; aggregation: GridAggregationState; } /** * The initial state of `DataGridPremium`. */ export interface GridInitialStatePremium extends GridInitialStatePro { rowGrouping?: GridRowGroupingInitialState; aggregation?: GridAggregationInitialState; }