// engine/license-validator/config-loader.ts — Loads and caches license-plans.json config.
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
let cached = null;
export function loadLicensePlans() {
    if (cached) {
        return cached;
    }
    cached = require('../../config/license-plans.json');
    return cached;
}
/** Reset cache — used in tests. */
export function resetPlanCache() {
    cached = null;
}
//# sourceMappingURL=config-loader.js.map