declare type Primitive = undefined | boolean | number | string | bigint | symbol; declare type Callable = T | (() => T); export declare type Unpackable = T | Iterable | Iterable> | Promise | Promise> | Promise>> | AsyncIterable | AsyncIterable> | AsyncIterable>> | Promise> | Promise>> | Promise>>>; export declare type Renderable = null | Exclude | HTML | UnsafeHTML | Fallback; export declare type HTMLContentStatic = Unpackable; export declare type HTMLContent = Callable; export declare abstract class AbstractHTML { abstract [Symbol.asyncIterator](): AsyncIterableIterator; } export declare class HTML extends AbstractHTML { #private; constructor(strings: TemplateStringsArray, args: HTMLContent[]); [Symbol.asyncIterator](): AsyncIterableIterator; } export declare class UnsafeHTML extends AbstractHTML { #private; constructor(value: string); [Symbol.asyncIterator](): AsyncGenerator; toString(): string; toJSON(): string; } export declare class Fallback extends AbstractHTML { #private; constructor(content: HTMLContent, fallback: HTML | ((e: any) => HTML)); [Symbol.asyncIterator](): AsyncGenerator; } export declare function html(strings: TemplateStringsArray, ...args: HTMLContent[]): HTML; export declare function html(strings: TemplateStringsArray, ...args: any[]): HTML; export { html as css, html as js }; export declare function fallback(content: HTMLContent, fallback: HTML | ((e: any) => HTML)): Fallback; export declare function fallback(content: any, fallback: HTML | ((e: any) => HTML)): Fallback; export declare function unsafeHTML(content: string): UnsafeHTML;