import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit } from '@angular/core';
import { ControlValueAccessor, FormControl } from '@angular/forms';
import { StTextareaError } from './st-textarea.error.model';
export declare class StTextareaComponent implements ControlValueAccessor, OnChanges, OnInit, OnDestroy {
    private _cd;
    placeholder: string;
    name: string;
    label: string;
    errors: StTextareaError;
    qaTag: string;
    forceValidations: boolean;
    contextualHelp: string;
    maxLength: number;
    isFocused: boolean;
    cols: number;
    rows: number;
    wrap: string;
    vc: any;
    isDisabled: boolean;
    focus: boolean;
    internalControl: FormControl;
    errorMessage: string;
    private sub;
    private valueChangeSub;
    private internalTextareaModel;
    constructor(_cd: ChangeDetectorRef);
    onChange: (_: any) => void;
    onTouched: () => void;
    validate(control: FormControl): any;
    ngOnChanges(change: any): void;
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    writeValue(value: any): void;
    registerOnChange(fn: (_: any) => void): void;
    registerOnTouched(fn: () => void): void;
    setDisabledState(disable: boolean): void;
    showError(): boolean;
    getBarType(): string;
    onFocus(event: Event): void;
    onFocusOut(event: Event): void;
    private checkErrors(control);
    private getErrorMessage(errors);
}
