// This origanaly the logic from fast-element.
// With this logix it shoult be possible to use the control context inside the template.
// #region Imports
import { html as litHtml } from 'lit';
/**
 * Transforms a template literal string into a ViewTemplate.
 *
 * @remarks
 * The html helper supports interpolation of strings, numbers, binding expressions,
 * other template instances, and Directive instances.
 *
 * @param strings - The string fragments that are interpolated with the values.
 * @param values - The values that are interpolated with the string fragments.
 *
 * @public
 */
export const html = (strings, ...values) => {
    if (Array.isArray(strings) && Array.isArray(strings.raw)) {
        return litHtml(strings, ...values);
    }
    throw new Error('Direct call to html tag not allowed');
};
//# sourceMappingURL=Html2.js.map