import type { RefObject } from '@mui/x-internals/types'; import type { GridFilterModel } from "../../../models/gridFilterModel.js"; import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js"; /** * Tracks the filter model as the data source sees it, the parts that cannot apply excluded. * Returns a predicate telling whether a new model would ask for something else: editing an * incomplete item, or flipping a logic operator that has nothing to combine, is a no-op. */ export declare const useGridDataSourceFilterModelChange: (apiRef: RefObject) => (filterModel: GridFilterModel) => boolean;