/** * Tiny HTML templating helper — inlined from `@rudderjs/view`'s `html\`\``, * `escapeHtml`, and `SafeString` so telescope doesn't need to pull * `@rudderjs/view` (which has a `vike` peer dep that's unwanted baggage * for a self-contained debug tool). * * If `@rudderjs/view` ever drops the Vike peer or splits the HTML helpers * into a separate package, this file can be replaced with a one-line * `export ... from '@rudderjs/view'`. * * The semantics match `@rudderjs/view` exactly: * - Primitives are escaped via `escapeHtml` * - `null`/`undefined`/`false` render as empty string * - Arrays recursively render and join (no separator) * - `SafeString` instances pass through unchanged (the escape hatch for * composing nested templates or injecting trusted markup) */ export declare class SafeString { readonly value: string; constructor(value: string); toString(): string; } export declare function escapeHtml(value: unknown): string; export declare function html(strings: TemplateStringsArray, ...values: unknown[]): SafeString; /** Wrap pre-rendered, trusted HTML so it passes through `html\`\`` interpolation unchanged. */ export declare function raw(value: string): SafeString; //# sourceMappingURL=_html.d.ts.map