import { EventEmitter, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FieldConfig } from '../../models/field-config.model'; import { FormField } from '../../models/form-field.model'; import { LinkEventEmitType } from '../../models/event-emit-type.model'; import * as i0 from "@angular/core"; export declare class TextAreaComponent implements OnInit, FormField { config: FieldConfig; group: FormGroup; remainingCharsLeftMessage: string; /** * Tracks whether the field is currently in edit mode. Only relevant when * `config.isEditToggle` is true (pencil edit-toggle pattern). */ isEditing: boolean; constants: any; leftCharCount: number; supportTextLinkClick: EventEmitter; inputValueChange: EventEmitter; editStarted: EventEmitter; /** * Initializes the leftCharCount and remainingCharsLeftMessage * @memberof TextAreaComponent */ ngOnInit(): void; /** * Whether the bound control currently holds a value. * @return {boolean} * @memberof TextAreaComponent */ hasValue(): boolean; /** * The display text for the read-only state. * @return {string} * @memberof TextAreaComponent */ getDisplayValue(): string; /** * Switches the field from read-only display into edit mode (pencil click). * @memberof TextAreaComponent */ enableEdit(): void; /** * Calculates the remaining characters count on change of form control value and sets the remaining count. * @memberof TextAreaComponent */ onChange(event: Event): void; /** * Emits supportTextLinkClick event on click of form support text link * @param {LinkEventEmitType} event * @memberof TextAreaComponent */ onSupportTextLinkClick(event: LinkEventEmitType): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }