UNPKG

1.23 kBTypeScriptView Raw
1import { ModuleWithProviders, Provider, SecurityContext } from '@angular/core';
2import { MarkedExtension } from 'marked';
3import * as i0 from "@angular/core";
4import * as i1 from "@angular/common";
5import * as i2 from "./clipboard-button.component";
6import * as i3 from "./language.pipe";
7import * as i4 from "./markdown.component";
8import * as i5 from "./markdown.pipe";
9export interface MarkdownModuleConfig {
10 loader?: Provider;
11 clipboardOptions?: Provider;
12 markedOptions?: Provider;
13 markedExtensions?: MarkedExtension[];
14 sanitize?: SecurityContext;
15}
16export declare class MarkdownModule {
17 static forRoot(markdownModuleConfig?: MarkdownModuleConfig): ModuleWithProviders<MarkdownModule>;
18 static forChild(): ModuleWithProviders<MarkdownModule>;
19 static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownModule, never>;
20 static ɵmod: i0.ɵɵNgModuleDeclaration<MarkdownModule, never, [typeof i1.CommonModule, typeof i2.ClipboardButtonComponent, typeof i3.LanguagePipe, typeof i4.MarkdownComponent, typeof i5.MarkdownPipe], [typeof i2.ClipboardButtonComponent, typeof i3.LanguagePipe, typeof i4.MarkdownComponent, typeof i5.MarkdownPipe]>;
21 static ɵinj: i0.ɵɵInjectorDeclaration<MarkdownModule>;
22}