import type { RefObject } from '@mui/x-internals/types'; import { type GridRowEntry } from '@mui/x-data-grid'; import type { GridPrivateApiPro } from "../../../models/gridApiPro.js"; interface GridRowRenderContext { firstRowIndex: number; lastRowIndex: number; } interface AdjustRowParamsOptions { pageSize: number; rowCount: number | undefined; } /** * Adjusts the row fetch parameters to align with page boundaries. * - Start index is decreased to the start of the page * - End index is increased to the end of the page (capped by rowCount - 1 if defined) */ export declare const adjustRowParams: (params: T, options: AdjustRowParamsOptions) => T; export declare const findSkeletonRowsSection: ({ apiRef, visibleRows, range }: { apiRef: RefObject; visibleRows: GridRowEntry[]; range: GridRowRenderContext; }) => { firstRowIndex: number; lastRowIndex: number; } | undefined; export {};