"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.jsxToHtml = jsxToHtml;
const injector_1 = require("@deepkit/injector");
/*@ts-ignore*/
var { __ΩElementStruct } = require('@deepkit/template');
const template_1 = require("@deepkit/template");
const resolver_1 = require("../../app/resolver");
async function jsxToHtml(jsx) {
    return (0, template_1.render)((0, resolver_1.resolve)(injector_1.InjectorContext).getRootInjector(), jsx);
}
jsxToHtml.__type = [() => __ΩElementStruct, 'jsx', 'jsxToHtml', 'Pn!2""/#'];
//# sourceMappingURL=jsx.js.map