import * as _angular_core from '@angular/core';
import { SafeHtml } from '@angular/platform-browser';

type LinkTargetType = '' | '_blank' | '_self' | '_top' | '_parent' | '_search';
/**
 * Formatted-text component renders sanitized HTML content with configurable link behavior.
 *
 * This component accepts HTML text input and renders it after sanitization.
 * Only safe HTML tags are preserved; potentially dangerous content is stripped.
 *
 * @example
 * ```html
 * <fd-formatted-text
 *   [htmlText]="'<p>Hello <a href=\'#\'>World</a></p>'"
 *   [convertedLinksDefaultTarget]="'_blank'"
 *   [height]="'200px'">
 * </fd-formatted-text>
 * ```
 *
 * @selector fd-formatted-text
 * @exportAs fd-formatted-text
 */
declare class FormattedTextComponent {
    /**
     * HTML text content to be formatted and rendered.
     */
    readonly htmlText: _angular_core.InputSignal<string | undefined>;
    /**
     * Target attribute for anchor tags in the formatted content.
     * @default '_blank'
     */
    readonly convertedLinksDefaultTarget: _angular_core.InputSignal<LinkTargetType>;
    /**
     * Height style for component.
     */
    readonly height: _angular_core.InputSignal<string | undefined>;
    /**
     * Width style for component.
     */
    readonly width: _angular_core.InputSignal<string | undefined>;
    /**
     * Computed formatted and sanitized HTML content.
     * Automatically updates when htmlText or convertedLinksDefaultTarget changes.
     * @hidden
     */
    protected readonly formattedText: _angular_core.Signal<SafeHtml>;
    /** @hidden */
    private readonly _htmlSanitizer;
    /** @hidden */
    private readonly _domSanitizer;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormattedTextComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormattedTextComponent, "fd-formatted-text", ["fd-formatted-text"], { "htmlText": { "alias": "htmlText"; "required": false; "isSignal": true; }; "convertedLinksDefaultTarget": { "alias": "convertedLinksDefaultTarget"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}

/**
 * @deprecated
 * Import `FormattedTextComponent` directly as a standalone component.
 * This module will be removed in a future version.
 */
declare class FormattedTextModule {
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormattedTextModule, never>;
    static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FormattedTextModule, never, [typeof FormattedTextComponent], [typeof FormattedTextComponent]>;
    static ɵinj: _angular_core.ɵɵInjectorDeclaration<FormattedTextModule>;
}

export { FormattedTextComponent, FormattedTextModule };
export type { LinkTargetType };
