UNPKG

@mui/x-data-grid-pro

Version:

The Pro plan edition of the MUI X Data Grid components.

31 lines 1.64 kB
import { RefObject } from '@mui/x-internals/types'; import { GridRowId } from '@mui/x-data-grid'; import { CacheChunkManager, DataSourceRowsUpdateStrategy, GridDataSourceBaseOptions } from '@mui/x-data-grid/internals'; import { GridPrivateApiPro } from "../../../models/gridApiPro.js"; import { DataGridProProcessedProps } from "../../../models/dataGridProProps.js"; import { GridDataSourceApiPro, GridDataSourcePrivateApiPro } from "./models.js"; export declare const INITIAL_STATE: { loading: {}; errors: {}; }; export declare const useGridDataSourceBasePro: <Api extends GridPrivateApiPro>(apiRef: RefObject<Api>, props: DataGridProProcessedProps, options?: GridDataSourceBaseOptions) => { api: { public: GridDataSourceApiPro; private: GridDataSourcePrivateApiPro; }; debouncedFetchRows: ((parentId?: import("@mui/x-data-grid").GridRowId, params?: import("@mui/x-data-grid/hooks/features/dataSource/models").GridDataSourceFetchRowsParams) => void) & import("@mui/utils/debounce").Cancelable; strategyProcessor: { strategyName: DataSourceRowsUpdateStrategy; group: "dataSourceRowsUpdate"; processor: import("@mui/x-data-grid/internals").GridStrategyProcessor<"dataSourceRowsUpdate">; }; events: { strategyAvailabilityChange: import("@mui/x-data-grid").GridEventListener<"strategyAvailabilityChange">; sortModelChange: (params: unknown) => void; filterModelChange: (params: unknown) => void; paginationModelChange: (params: unknown) => void; }; setStrategyAvailability: () => void; cacheChunkManager: CacheChunkManager; cache: import("@mui/x-data-grid").GridDataSourceCache; };