import { createStrictContext } from "../../../utils/helpers/index.js";
const { Provider: DataTableContextProvider, useContext: useDataTableContext } = createStrictContext({
    name: "DataTableContext",
    errorMessage: "useDataTableContext must be used within DataTable",
});
const { Provider: DataTableLocationProvider, useContext: useDataTableLocation, } = createStrictContext({
    name: "DataTableLocation",
    errorMessage: "Some component is using table context outside of Thead, Tbody or Tfoot. Please make sure to wrap it in the appropriate component.",
});
export { DataTableContextProvider, DataTableLocationProvider, useDataTableContext, useDataTableLocation, };
//# sourceMappingURL=DataTableRoot.context.js.map