import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { Clipboard } from '@angular/cdk/clipboard'; import { ModalService } from '../../services/modal.service'; import { FileBase64Data } from '../base/base.component'; import { FileService } from '../../services/file.service'; import { FileSaveData } from '../../services/fileInterface'; import * as i0 from "@angular/core"; export interface TxtOptionsData { encoding?: string; maxHeight?: string; height?: string; useRoot?: string; } export declare class TxtfileeditorComponent implements OnInit, OnDestroy, OnChanges { private httpClient; private clipboard; private modalSrv; fileService: FileService; options: TxtOptionsData; url: string; urlChange: EventEmitter; fileName: string; eventSave: EventEmitter; readonly control: FormControl; constructor(httpClient: HttpClient, clipboard: Clipboard, modalSrv: ModalService, fileService: FileService); ngOnInit(): void; ngOnDestroy(): void; ngOnChanges(changes: any): void; getStyles(): { [klass: string]: any; }; htmlToText(html: string): string; saveFile(options: FileSaveData, suffix?: string): Promise; guardar(): Promise; download(): Promise; share(): Promise; getValue(): string | null; setValueAndSave(texto: string): Promise; processFile(textInput: any): void; leer(url: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }