1 | import { ElementRef, NgZone, PipeTransform, ViewContainerRef } from '@angular/core';
|
2 | import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
3 | import { MarkdownService, ParseOptions, RenderOptions } from './markdown.service';
|
4 | import * as i0 from "@angular/core";
|
5 | export type MarkdownPipeOptions = ParseOptions & RenderOptions;
|
6 | export declare class MarkdownPipe implements PipeTransform {
|
7 | private domSanitizer;
|
8 | private elementRef;
|
9 | private markdownService;
|
10 | private viewContainerRef;
|
11 | private zone;
|
12 | constructor(domSanitizer: DomSanitizer, elementRef: ElementRef<HTMLElement>, markdownService: MarkdownService, viewContainerRef: ViewContainerRef, zone: NgZone);
|
13 | transform(value: string, options?: MarkdownPipeOptions): Promise<SafeHtml>;
|
14 | static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownPipe, never>;
|
15 | static ɵpipe: i0.ɵɵPipeDeclaration<MarkdownPipe, "markdown", true>;
|
16 | }
|