import * as _angular_core from '@angular/core'; import { Type } from '@angular/core'; import { Config } from 'tailwindcss-v3'; declare class BackgroundComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $width: _angular_core.InputSignal; $height: _angular_core.InputSignal; $src: _angular_core.InputSignal; $bgRepeat: _angular_core.InputSignal<"repeat" | "no-repeat">; $bgColor: _angular_core.InputSignal; $bgStyle: _angular_core.Signal<{ backgroundRepeat: "repeat" | "no-repeat"; }>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class BodyComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ButtonComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $href: _angular_core.InputSignal; $textContent: _angular_core.InputSignal; $width: _angular_core.InputSignal; $height: _angular_core.InputSignal; $borderRadius: _angular_core.InputSignal; $textColor: _angular_core.InputSignal; $backgroundColor: _angular_core.InputSignal; $borderColor: _angular_core.InputSignal; $borderSize: _angular_core.InputSignal; $fontSize: _angular_core.InputSignal; $align: _angular_core.InputSignal; $withBackground: _angular_core.InputSignal; $arcsize: _angular_core.Signal; $lineHeight: _angular_core.Signal; private $baseStyle; private $borderStyles; private $propStyles; $withBackgroundStyle: _angular_core.Signal<{ msoHide?: string | undefined; color?: string | undefined; backgroundColor?: string | undefined; '-webkit-text-size-adjust': string; borderRadius: string; display: string; fontSize: string; lineHeight: string; maxWidth: string | undefined; textAlign: string; textDecoration: string; width: string; }>; $withoutBackgroundStyle: _angular_core.Signal<{ msoHide?: string | undefined; color?: string | undefined; backgroundColor?: string | undefined; border?: string | undefined; msoBorderAlt?: string | undefined; '-webkit-text-size-adjust': string; borderRadius: string; display: string; fontSize: string; lineHeight: string; maxWidth: string | undefined; textAlign: string; textDecoration: string; width: string; }>; $noBgInnerHtml: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } type ColorSchemeMode = 'dark' /** * The email client will only ever render the content in the dark color scheme and forbids the * email client from overriding the color scheme. */ | 'dark only' | 'light' /** * The email client will choose the light or dark theme to match the user’s preference. * If the user’s preference does not match something in the list, the email client will choose * which mode to display. */ | 'light dark' /** * The email client will choose the first of the listed schemes that it supports taking user * preference into account and forbids the email client from overriding the color scheme. */ | 'light dark only' /** * The email client will only ever render the content in the light color scheme and forbids the * email client from overriding the color scheme. */ | 'light only' /** * Indicates that the email supports the page’s supported color schemes, if they are set, or * that it supports no color schemes at all otherwise. */ | 'normal'; declare class ColorSchemeComponent { $mode: _angular_core.InputSignal; $style: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ColumnComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $bgImage: _angular_core.InputSignal; $bgColor: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ConditionalComponent { $expression: _angular_core.InputSignal; $mso: _angular_core.InputSignal; noMsoInnerHtmlPre: string; noMsoInnerHtmlPost: string; $msoInnerHtmlPre: _angular_core.Signal; msoInnerHtmlPost: string; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ContainerComponent { random: number; document: Document; $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $alignment: _angular_core.InputSignal; $disableDefaultStyle: _angular_core.InputSignal; $containerWidth: _angular_core.InputSignal; $containerStyle: _angular_core.Signal<{ maxWidth?: string | undefined; }>; $trStyle: _angular_core.Signal<{ width?: string | undefined; }>; $innerHtmlPre: _angular_core.Signal; $innerHtmlPost: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class HeadComponent { $enableFormatDetection: _angular_core.InputSignal; xml: string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class HeadingComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $as: _angular_core.InputSignal<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">; $m: _angular_core.InputSignal; $mx: _angular_core.InputSignal; $my: _angular_core.InputSignal; $mt: _angular_core.InputSignal; $mr: _angular_core.InputSignal; $mb: _angular_core.InputSignal; $ml: _angular_core.InputSignal; $headingStyle: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class HrComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $disableDefaultStyle: _angular_core.InputSignal; $hrStyle: _angular_core.Signal<{ width?: string | undefined; border?: string | undefined; borderTop?: string | undefined; }>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class HtmlComponent { $lang: _angular_core.InputSignal; $dir: _angular_core.InputSignal; $enableVML: _angular_core.InputSignal; $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ImgComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $disableDefaultStyle: _angular_core.InputSignal; $alt: _angular_core.InputSignal; $src: _angular_core.InputSignal; $width: _angular_core.InputSignal; $height: _angular_core.InputSignal; $imageStyle: _angular_core.Signal<{ display?: string | undefined; outline?: string | undefined; border?: string | undefined; textDecoration?: string | undefined; }>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class LinkComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $disableDefaultStyle: _angular_core.InputSignal; $href: _angular_core.InputSignal; $target: _angular_core.InputSignal; $linkStyle: _angular_core.Signal<{ color?: string | undefined; textDecoration?: string | undefined; }>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class PreviewComponent { $preview: _angular_core.InputSignal; maxLength: number; $text: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class RawComponent { $disablePlainTextOutput: _angular_core.InputSignal; $content: _angular_core.InputSignal; $escapingContent: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class RowComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $disableDefaultStyle: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SectionComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $sectionStyle: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TextComponent { $style: _angular_core.InputSignal | null | undefined>; $styleClass: _angular_core.InputSignal; $disableDefaultStyle: _angular_core.InputSignal; $textStyle: _angular_core.Signal<{ fontSize?: string | undefined; lineHeight?: string | undefined; margin?: string | undefined; }>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } type Render> = { component: Type; /** Component selector */ selector: string; props?: Input; options?: { plainText?: boolean; pretty?: boolean; /** tailwind configuration object */ tailwindConfig?: Partial; signalInputsPrefix?: string; }; }; /** * Renders an Angular component to HTML and applies transformations. * * @param component - The Angular component to render. * @param selector - The Component selector. * @param options - Optional rendering options. * * @returns {Promise} The rendered HTML or plain text. */ declare const render: >({ component, selector, props, options, }: Render) => Promise; type RenderToHtml> = (props?: Input) => ReturnType; declare const copyTextToClipboard: (text: string) => Promise; declare const pxToPt: (px: string) => number | null; interface Margin { m?: string; mx?: string; my?: string; mt?: string; mr?: string; mb?: string; ml?: string; } declare const withMargin: (props: Margin) => {}; declare const styleToString: (style: Record | undefined | null) => string; declare const classToString: (style: string | string[] | Set | Record | null | undefined) => string; declare const unreachable: (condition: never, message?: string) => never; declare const HTMLElements: string[]; declare function escapeForRawComponent(input: string): string; declare function unescapeForRawComponent(input: string): string; export { BackgroundComponent, BodyComponent, ButtonComponent, ColorSchemeComponent, ColumnComponent, ConditionalComponent, ContainerComponent, HTMLElements, HeadComponent, HeadingComponent, HrComponent, HtmlComponent, ImgComponent, LinkComponent, PreviewComponent, RawComponent, RowComponent, SectionComponent, TextComponent, classToString, copyTextToClipboard, escapeForRawComponent, pxToPt, render, styleToString, unescapeForRawComponent, unreachable, withMargin }; export type { ColorSchemeMode, Margin, RenderToHtml };