import { ChangeDetectorRef, InjectionToken, Provider } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { MarkedOptions } from 'marked';
import { KbqMarkdownService } from './markdown.service';
import * as i0 from "@angular/core";
/** List of options for `marked` library. */
export declare const KBQ_MARKDOWN_MARKED_OPTIONS: InjectionToken<MarkedOptions>;
/** Utility provider for `KBQ_MARKDOWN_MARKED_OPTIONS`. */
export declare const kbqMarkdownMarkedOptionsProvider: (options: MarkedOptions) => Provider;
/** Component which allows to convert `Markdown` into `HTML` */
export declare class KbqMarkdown {
    private readonly markdownService;
    private readonly cdr;
    private sanitizer;
    private readonly markedOptions?;
    private readonly contentWrapper;
    /** `Markdown` text. */
    get markdownText(): string | null;
    set markdownText(value: string | null);
    private _markdownText;
    protected resultHtml: SafeHtml;
    constructor(markdownService: KbqMarkdownService, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, markedOptions?: MarkedOptions | undefined);
    private getResultHTML;
    static ɵfac: i0.ɵɵFactoryDeclaration<KbqMarkdown, [null, null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<KbqMarkdown, "kbq-markdown", never, { "markdownText": { "alias": "markdownText"; "required": false; }; }, {}, never, ["*"], true, never>;
}
