// #region Imports
import { html as litHtml, nothing } from 'lit';
import { watch } from '../Messaging/Directives/WatchDirective';
import { Signal } from '../Messaging/Signal';
const plugins = [
    (v) => {
        const x = v instanceof Signal
            ? watch(v)
            : v;
        return x;
    }
];
function html(strings, ...values) {
    return litHtml(strings, ...values.map((v) => plugins.reduce((acc, p) => p(acc), v)));
}
html.nothing = nothing;
export { html, nothing };
//# sourceMappingURL=Html.js.map