import { AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { EditorConfig } from 'ngx-simple-text-editor'; import { FieldConfig } from '../../models/field-config.model'; import { FormUtilityService } from '../../services/form-utility.service'; import * as i0 from "@angular/core"; export declare class RichTextEditorComponent implements OnInit, AfterViewInit { private elementRef; private renderer; private formUtilityService; richTextEditorTexts: any; group: FormGroup; config: FieldConfig; contentElementClassName: string; rtEditor: ElementRef; private editorContentValue; set value(value: string); get value(): string; editorLabel: any; formControlName: string; isEditorLabelNeeded: boolean; private editorConfigInfo; /** * Sets the editor config info. * @param {EditorConfig} editorConfig * @memberof RichTextEditorComponent */ set editorConfig(editorConfig: EditorConfig); /** * Returns the editor config info. * @returns {EditorConfig} * @memberof RichTextEditorComponent */ get editorConfig(): EditorConfig; richTextEditorContentChange: EventEmitter; colorPickerInput: HTMLInputElement; colorPickerButton: HTMLElement; operatingSystemName: string; constructor(elementRef: ElementRef, renderer: Renderer2, formUtilityService: FormUtilityService); /** * Initializes the form group and config details. * @memberof RichTextEditorComponent */ ngOnInit(): void; /** * Sets RTE toolbar buttons button type to button. * @returns {void} * @memberof RichTextEditorComponent */ ngAfterViewInit(): void; /** * Sets the height and width of the input field color to open the color picker in Safari. * @memberof RichTextEditorComponent * @returns {void} */ setColorPickerInputStyle(): void; /** * Sets RTE toolbar buttons button type to button to prevent form submit event when the toolbar buttons clicked. */ setToolbarButtonType(): void; /** * Emits the typed editor content to consuming components. * @returns {void} * @memberof RichTextEditorComponent */ onRichTextEditorContentChange(): void; /** * Gets the operating system name of the client machine. * @memberof RichTextEditorComponent * @returns {string} */ getOperatingSystemName(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }