/** * A nimble `html` template tag function for declarative DOM creation and updates. * * @param {TemplateStringsArray} strings * @param {...InterpolationValue} values * @returns {(key: any) => TemplateNodes} A function that accepts a key for * template instance identity, and returns DOM nodes rendered with the given * values. */ export function html(strings: TemplateStringsArray, ...values: InterpolationValue[]): (key: any) => TemplateNodes; /** * A nimble `svg` template tag function for declarative SVG DOM creation and updates. * * @param {TemplateStringsArray} strings * @param {...InterpolationValue} values * @returns {(key: any) => TemplateNodes} A function that accepts a key for * template instance identity, and returns SVG DOM nodes rendered with the given * values. */ export function svg(strings: TemplateStringsArray, ...values: InterpolationValue[]): (key: any) => TemplateNodes; /** * A nimble `mathml` template tag function for declarative MathML DOM creation and updates. * * @param {TemplateStringsArray} strings * @param {...InterpolationValue} values * @returns {(key: any) => TemplateNodes} A function that accepts a key for * template instance identity, and returns MathML DOM nodes rendered with the given * values. */ export function mathml(strings: TemplateStringsArray, ...values: InterpolationValue[]): (key: any) => TemplateNodes; /** * Wrap a value in `force()` to indicate that it should not be checked for * changes when applying updates. * * @param {InterpolationValue} value */ export function force(value: InterpolationValue): { [FORCE_SYMBOL]: unknown; }; export type TemplateNodes = readonly (Element | Text)[]; export type InterpolationValue = unknown; export type WeakMapKey = symbol | object | Function; export type TemplateKey = WeakMapKey; /** * Holds information about an interpolation site in the template, f.e. the * `${...}` in `
${...}
` or `