import { TemplateResult, TRUSTED_SYMBOL, TrustedValue } from './processor/template-result'; export { TRUSTED_SYMBOL }; export type { TrustedValue }; export interface HtmlOptions { compiledMode?: boolean; } export interface TrustedHTMLOptions { afterRender?: (root: DocumentFragment | Element) => void; } export type TrustedHTMLAfterRender = NonNullable; /** * Compose post-render HTML enhancers into a single afterRender callback. */ export declare function enhance(...enhancers: Array): TrustedHTMLAfterRender; /** * Marks a string as trusted HTML for raw subtree rendering. * * Use this only with already-sanitized HTML. Miura will insert the value as * DOM nodes and will call `afterRender` after those nodes are mounted. */ export declare function trustedHTML(value: string, options?: TrustedHTMLOptions): TrustedValue; /** Backwards-compatible alias for trustedHTML(). */ export declare const trustHTML: typeof trustedHTML; /** * Get performance metrics for html function */ export declare function getHtmlMetrics(): { callCount: number; totalTime: number; }; /** * Reset performance metrics for html function */ export declare function resetHtmlMetrics(): void; export declare function html(strings: TemplateStringsArray, ...values: any[]): TemplateResult; export { TemplateResult }; export declare enum ElementNamespace { HTML = "http://www.w3.org/1999/xhtml", SVG = "http://www.w3.org/2000/svg", MathML = "http://www.w3.org/1998/Math/MathML" } //# sourceMappingURL=html.d.ts.map