import { provide, inject, reactive } from 'vue';

const AppConfigContextKey = Symbol("appConfigContext");
function useProvideAppConfigContext(appConfigContext) {
  return provide(AppConfigContextKey, appConfigContext);
}
function useInjectAppConfigContext() {
  return inject(AppConfigContextKey, {});
}
const AppContextKey = Symbol("appContext");
function useProvideAppContext(appContext) {
  return provide(AppContextKey, appContext);
}
const defaultAppContext = reactive({
  message: {},
  notification: {},
  modal: {}
});
function useInjectAppContext() {
  return inject(AppContextKey, defaultAppContext);
}

export { AppConfigContextKey, AppContextKey, useInjectAppConfigContext, useInjectAppContext, useProvideAppConfigContext, useProvideAppContext };
//# sourceMappingURL=context.mjs.map
