import type { resolveDataGridSettings } from "../../data-grid-preferences/helpers/data-grid-settings";
import type { SelectionProps } from "../../data/table/hooks/useTableSelection";
import type { ColumnDefinitions } from "../../data/table/root/DataGridTable.types";
import type { DataGridSettings } from "./DataGrid.types";
type DataGridContextValue<RowT = unknown> = {
    data: RowT[];
    columnDefinitions: ColumnDefinitions<RowT>;
    getRowId?: (rowData: RowT) => string;
    selection?: SelectionProps<RowT>;
    isLoading?: boolean;
    tableSettings: ReturnType<typeof resolveDataGridSettings>;
    updateTableSettings: (newSettings: Partial<DataGridSettings>) => void;
};
declare const DataGridContextProvider: import("react").FC<DataGridContextValue<unknown> & {
    children: React.ReactNode;
    ref?: never;
}>, useDataGridContext: <S extends boolean = true>(strict?: S | undefined, errorMessageOverride?: string) => S extends true ? DataGridContextValue<unknown> : DataGridContextValue<unknown> | undefined;
export { DataGridContextProvider, useDataGridContext };
