import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
const DataSourceManagerContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
DataSourceManagerContext.displayName = 'DataSourceManagerContext';
const DataSourceManagerProvider = (param)=>{
    let { children, dataSourceManager } = param;
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(DataSourceManagerContext.Provider, {
        value: dataSourceManager,
        children: children
    });
};
function useDataSourceManager() {
    const context = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(DataSourceManagerContext);
    return context;
}
export { DataSourceManagerContext, DataSourceManagerProvider, useDataSourceManager };
