"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const DesignMdImporter_1 = require("./design/DesignMdImporter");
const DesignMdRegistry_1 = require("./design/DesignMdRegistry");
const importer = new DesignMdImporter_1.DesignMdImporter();
const imported = importer.importFromVendor('vendor/awesome-design-md');
if (!imported.length)
    throw new Error('expected imported profiles');
const reg = new DesignMdRegistry_1.DesignMdRegistry();
const list = reg.list();
if (!list.length)
    throw new Error('expected registry list');
const one = reg.get(list[0].id);
if (!one.meta || !one.design)
    throw new Error('expected profile details');
console.log('TEST_DESIGNMD_IMPORT_REGISTRY_OK');
