import { ChangeDetectorRef, EventEmitter, ElementRef } from '@angular/core'; import { FileListService } from '@schoolbelle/api/file'; import './froala/froala.save.extension'; import './froala/froala.fontsize.extension'; import { TextEditorService } from './text-editor.service'; import { FroalaEditorDirective } from 'angular-froala-wysiwyg'; import { TranslationService } from '@schoolbelle/common/translation'; import { TranslationEditorComponent } from '../translation-editor/translation-editor.component'; import { ToastrService } from 'ngx-toastr'; import { DatePipe } from '@angular/common'; import { BoardService } from '@schoolbelle/api/board'; export declare const TextEditorComponentValueAccessor: any; export declare class TextEditorComponent extends TranslationEditorComponent { private toastr; private translation; private textEditor; private datePipe; private board; lang: string; usedLangs: string[]; placeholder: string; froalaEditorDirective: FroalaEditorDirective; filelist: FileListService; arrParentElem: any; parentElemType: string; froalaOptions: any; defaultOptions: { events: { 'froalaEditor.initialized': (e: Event, editor: any) => void; 'froalaEditor.image.beforeUpload': (e: Event, editor: any, files: FileList) => boolean; 'froalaEditor.file.beforeUpload': (e: Event, editor: any, files: FileList) => boolean; 'froalaEditor.video.beforeUpload': (e: Event, editor: any, files: FileList) => boolean; 'froalaEditor.image.inserted': (e: any, editor: any, $img: any) => void; 'froalaEditor.file.inserted': (e: Event, editor: any, $a: any) => void; 'froalaEditor.video.inserted': (e: any, editor: any, $container: any) => void; 'froalaEditor.image.removed': (e: Event, editor: any, $el: any) => void; 'froalaEditor.file.unlink': (e: Event, editor: any, el: HTMLAnchorElement) => void; 'froalaEditor.video.removed': (e: Event, editor: any, $container: any) => void; 'froalaEditor.custom.save': (e: any, editor: any) => void; 'froalaEditor.custom.load': (e: any, editor: any) => void; 'froalaEditor.input': () => void; 'froalaEditor.copy': (ev: any) => any; 'froalaEditor.commands.after': (cmd: any, p1: any, p2: any) => void; }; key: string; zIndex: number; placeholderText: string; language: string; heightMin: string; imageUpload: boolean; imagePaste: boolean; imageOutputSize: boolean; videoInsertButtons: string[]; videoDefaultWidth: number; videoUpload: boolean; videoTextNear: boolean; videoEditButtons: string[]; fileUpload: boolean; linkEditButtons: string[]; linkAlwaysBlank: boolean; linkInsertButtons: string[]; imageEditButtons: string[]; tableEditButtons: string[]; colorsHEXInput: boolean; colorsText: string[]; colorsBackground: string[]; toolbarButtons: any; pluginsEnabled: string[]; pasteDeniedAttrs: string[]; pasteAllowedStyleProps: string[]; }; customFroalaOptions: any; clickSave: EventEmitter<{}>; clickLoad: EventEmitter<{}>; private froalaEditor; constructor(elementRef: ElementRef, cdRef: ChangeDetectorRef, toastr: ToastrService, locale_id: string, translation: TranslationService, textEditor: TextEditorService, datePipe: DatePipe, board: BoardService); ngOnInit(): void; insertIntoFilelist(url: string, file: File): void; deleteFromFilelist(url: any): void; insertClassNewsTitle(): void; ngAfterViewInit(): void; private updateButtonsText; detectMediaEditor(file: File): boolean; onCopy(ev: any): any; }