import{__exports as e}from"../../../../_virtual/validateConfig.mjs";import{__require as r}from"./generated/validators.mjs";var a;function t(){if(a)return e;a=1;var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.validateConfig=void 0;const o=t(r());return e.validateConfig=(e,r)=>{const a=o.default[e];if(!a(r)&&a.errors){a.errors.map(e=>({message:e.message,params:e.params,schemaPath:e.schemaPath}));throw new Error("Invalid config.")}},e}export{t as __require};