// #region Imports
import { mathml as litMathml, nothing as litNothing } 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 mathml(strings, ...values) {
    return litMathml(strings, ...values.map((v) => plugins.reduce((acc, p) => p(acc), v)));
}
mathml.nothing = litNothing;
export { mathml };
//# sourceMappingURL=Mathml.js.map