import type { GridRowId, GridRowIdToModelLookup, GridRowsProp, GridValidRowModel } from '@mui/x-data-grid'; export interface GridPinnedRowsProp { top?: GridRowsProp; bottom?: GridRowsProp; } export interface GridRowPinningApi { /** * Changes the pinned rows. * @param {GridPinnedRowsProp} pinnedRows An object containing the rows to pin. */ unstable_setPinnedRows: (pinnedRows?: GridPinnedRowsProp) => void; } export interface GridRowPinningInternalCache { topIds: GridRowId[]; bottomIds: GridRowId[]; idLookup: GridRowIdToModelLookup; }