import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TxtViewerComponent implements OnChanges {
    private eleRef;
    /** txt文件地址 */
    ncUrl: string;
    constructor(eleRef: ElementRef);
    ngOnChanges(changes: SimpleChanges): void;
    renderTextDocument(): Promise<void>;
    private escapeHtml;
    static ɵfac: i0.ɵɵFactoryDeclaration<TxtViewerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TxtViewerComponent, "nc-txt-viewer", never, { "ncUrl": "ncUrl"; }, {}, never, never>;
}
