import { ElementRef, EventEmitter, AfterViewInit, OnChanges, SimpleChanges, OnInit } from "@angular/core"; import { FormItem } from "../../shared/classes/formitem.class"; import { CfDialog } from "../../shared/classes"; import { ReadonlyDirective } from "../../shared"; import * as i0 from "@angular/core"; export interface EditorMenuItemActionParams { editor: EditorComponent; } export interface EditorMenuItem { title: string; icon: string | null; tag: string; action: ((params: EditorMenuItemActionParams) => void) | null; } export declare class EditorLinkComponent extends CfDialog { href: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class EditorComponent extends FormItem implements OnInit, AfterViewInit, OnChanges, FormItem { readonlyDirective: ReadonlyDirective | null; private dialogService; value: string; height: string; onChanged: EventEmitter; iframe: ElementRef | undefined; hiddenInput: HTMLInputElement | undefined; fontSizes: number[]; inited: boolean; mode: 'editor' | 'html'; html: string; menu: EditorMenuItem[]; enterAsTabType: string; get iframeDocument(): Document | null; get content(): string | null; toggleMode(): void; execCommand(command: 'delete'): any; execCommand(command: 'italic'): any; execCommand(command: 'strikeThrough'): any; execCommand(command: 'underline'): any; execCommand(command: 'bold'): any; execCommand(command: 'undo'): any; execCommand(command: 'redo'): any; execCommand(command: 'backColor', color: string): any; execCommand(command: 'foreColor', color: string): any; execCommand(command: 'fontName', fontName: string): any; execCommand(command: 'justifyCenter'): any; execCommand(command: 'justifyLeft'): any; execCommand(command: 'justifyRight'): any; execCommand(command: 'justifyFull'): any; execCommand(command: 'fontSize', size: 1 | 2 | 3 | 4 | 5 | 6 | 7): any; execCommand(command: 'formatBlock', size: 'H1' | 'H2' | 'H3' | 'H4' | 'H5' | 'H6'): any; execCommand(command: 'createLink', href: string): any; execCommand(command: 'unlink'): any; execCommand(command: 'ul'): any; execCommand(command: 'ol'): any; menuItemClicked(menuItem: EditorMenuItem): void; writeValue(value: string): void; changed(): void; init(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }