import { RefObject } from '@mui/x-internals/types'; import { GridApi } from '@mui/x-data-grid-pro'; import { GridInitialStatePremium } from "../../models/gridStatePremium.js"; import { DataGridPremiumProps } from "../../models/dataGridPremiumProps.js"; /** * Automatically hide columns when added to the row grouping model and stop hiding them when they are removed. * Handles both the `props.initialState.rowGrouping.model` and `props.rowGroupingModel` * Does not work when used with the `hide` property of `GridColDef` */ export declare const useKeepGroupedColumnsHidden: (props: { apiRef: RefObject; } & Pick) => GridInitialStatePremium;