import '@sebgroup/green-core/components/icon/icons/triangle-exclamation.js'; import { ChangeDetectorRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { TranslocoScope } from '@jsverse/transloco'; import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor'; import * as i0 from "@angular/core"; /** Textarea fields allow users to add and edit longer or multiple line text. */ export declare class NggvTextareaComponent extends NggvBaseControlValueAccessorComponent { ngControl: NgControl; protected translocoScope: TranslocoScope; protected cdr: ChangeDetectorRef; /** Special property used for selecting DOM elements during automated UI testing. */ thook: string | null | undefined; /** * Sets the small class based on the size input. */ get isSmall(): boolean; /** * Sets the large class based on the size input. */ get isLarge(): boolean; /** Text shown before input has a written value. */ placeholder?: string; /** If set to true, the value will not be editable. */ readonly: boolean; /** Minimum length (number of characters) of value. */ set minLength(length: number); get minlength(): number; /** * Minimum length (number of characters) of value. * @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead. */ set minlength(length: number); /** Maximum length (number of characters) of value. */ set maxLength(length: number); get maxlength(): number; /** * Maximum length (number of characters) of value. * @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead. */ set maxlength(length: number); /** Returns if maxlength is used */ get hasMaxLength(): boolean; private _maxlength; private _minlength; /** Sets the height of the textarea and disables resize. A scrollbar will appear if necessary. */ rows?: number; /** * Sets the displayed size of the textarea. */ size: 'small' | 'large'; constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef); /** @internal */ onInput(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }