import * as React from 'react'; import type { GridColDef } from '../../../models/colDef'; import type { GridRowId } from '../../../models/gridRows'; import type { DataGridProcessedProps } from '../../../models/props/DataGridProps'; import type { GridPrivateApiCommunity } from '../../../models/api/gridApiCommunity'; import type { GridStateInitializer } from '../../utils/useGridInitializeState'; export interface GridRowSpanningState { spannedCells: Record>; hiddenCells: Record>; /** * For each hidden cell, it contains the row index corresponding to the cell that is * the origin of the hidden cell. i.e. the cell which is spanned. * Used by the virtualization to properly keep the spanned cells in view. */ hiddenCellOriginMap: Record>; } export type RowRange = { firstRowIndex: number; lastRowIndex: number; }; /** * @requires columnsStateInitializer (method) - should be initialized before * @requires rowsStateInitializer (method) - should be initialized before * @requires filterStateInitializer (method) - should be initialized before */ export declare const rowSpanningStateInitializer: GridStateInitializer; export declare const useGridRowSpanning: (apiRef: React.MutableRefObject, props: Pick) => void;