/** Tagged template HTML rendering. This is a combination of xhtm (https://github.com/dy/xhtm) by Dmitry Ivanov and vhtml (https://github.com/developit/vhtml) by Jason Miller. I (Aral) was initially mantaining separate forks of them but parsing tagged templates into hyperscript and rendering them into HTML is fiddly enough to get your head around without having two modules interacting with each other in the way these two did. Given how fundamental rendering templates to HTML is to Kitten, I’m inlining them here with an eye towards removing redudancy and hopefully simplifying the interaction between the two in the future (as I don’t need the flexibility of having them work independently) and being able to iterate faster on authoring features that are impacted by the renderer. Original vhtml code is Copyright © 2015-present Jason Miller (MIT license). Original xhtm code is Copyright © 2019-present Dmitry Ivanov (MIT license). Any modifications are Copyright © 2023-present Aral Balkan and released under AGPL version 3.0 as is the rest of Kitten. ⚠️ Node-native subgraph: this module (and everything it imports) is loaded natively by Node.js via type stripping (imported by the loader). Only use erasable TypeScript syntax here. */ /** Render any Markdown areas there might be and return an updated list of values (as their order might have changed during rendering). */ export declare function renderMarkdown(strings: TemplateStringsArray | string[], values: any[]): { finalStrings: string[] | TemplateStringsArray; finalValues: any[]; }; /** Kitten HTML tagged template. Supports both synchronous and asynchronous use. */ export declare function html(strings: TemplateStringsArray, ...values: any[]): string | string[] | Promise;