import * as i0 from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';

/**
 * Component to display markdown text, uses the {@link getMarkdownRenderer} function internally, relies on `markdown-content` theme class.
 * @experimental
 */
declare class SiMarkdownRendererComponent {
    private sanitizer;
    private hostElement;
    private markdownRenderer;
    /**
     * The markdown text to transform and display
     * @defaultValue ''
     */
    readonly text: i0.InputSignal<string>;
    constructor();
    static ɵfac: i0.ɵɵFactoryDeclaration<SiMarkdownRendererComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SiMarkdownRendererComponent, "si-markdown-renderer", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}

/**
 * Returns a markdown renderer function which_
 * - Transforms markdown text into formatted HTML.
 * - Returns a DOM node containing the formatted content.
 *
 * **Warning:** The returned Node is inserted without additional sanitization.
 * Input content is sanitized before processing.
 *
 * @experimental
 * @param sanitizer - Angular DomSanitizer instance
 * @returns A function taking the markdown text to transform and returning a DOM div element containing the formatted HTML
 */
declare const getMarkdownRenderer: (sanitizer: DomSanitizer) => ((text: string) => Node);

export { SiMarkdownRendererComponent, getMarkdownRenderer };
