/** * Branded type marking a string as safe to interpolate into an `html` * or `css` tagged template. The brand can only be added via `safe()`, * `html\`\``, or `css\`\``, so any direct interpolation of a raw * `string` is a compile-time error. */ declare const SafeBrand: unique symbol; export type SafeMarkup = string & { readonly [SafeBrand]: true; }; /** * Use this to drop a plain string into an `html` or `css` template. * Reach for it sparingly: anything that came from an attribute, * property, or message payload belongs outside the template, applied * through DOM APIs after render. */ export declare const safe: (value: string) => SafeMarkup; /** * Tagged template literal that concatenates strings and `SafeMarkup` * values into a `SafeMarkup` result. The `html` name is purely for * editor syntax highlighting — it does NOT escape or sanitize. The * `SafeMarkup` interpolation constraint at the type level prevents * accidentally embedding a raw string without going through `safe()`. */ export declare const html: (strings: TemplateStringsArray, ...values: SafeMarkup[]) => SafeMarkup; /** Same semantics as `html`; separate name for CSS editor highlighting. */ export declare const css: typeof html; /** * Parses a `SafeMarkup` string into an inert `