import t from "../Localization/Localization.js";
async function a(e) {
  await e?.ready;
}
function o(e) {
  return {
    i18n: e.i18n ?? new t().i18n,
    commonProps: e.commonProps || {},
    loadingContext: e.loadingContext ?? "",
    updateCore: e.updateCore,
    externalErrorHandler: e.externalErrorHandler,
    componentRef: e.componentRef,
    getImageAsset: e.getImageAsset,
    getDatasetAsset: e.getDatasetAsset,
    getCdnConfig: e.getCdnConfig,
    getCdnDataset: e.getCdnDataset,
    environment: e.environment
  };
}
export {
  o as createCoreContextValue,
  a as waitForI18n
};
