import { EventEmitter, ChangeDetectorRef } from '@angular/core';
import { AbstractControl, FormGroup } from '@angular/forms';
import { IpiControlErrors } from '@ipi-soft/ng-components/input';
import * as i0 from "@angular/core";
export interface IpiTextAreaOptions {
    label: string;
    icon?: string;
    placeholder?: string;
    formGroup?: FormGroup;
    formControlName?: string;
    errors?: IpiControlErrors;
}
export declare class IpiTextAreaComponent {
    private changeDetectorRef;
    constructor(changeDetectorRef: ChangeDetectorRef);
    options: IpiTextAreaOptions;
    textAreaChange: EventEmitter<string>;
    controlError: string;
    controlInvalid: boolean;
    control: AbstractControl;
    private controlSubscription;
    ngOnInit(): void;
    ngOnDestroy(): void;
    onInput(event: Event): void;
    private setControl;
    private setControlInvalid;
    private getErrors;
    static ɵfac: i0.ɵɵFactoryDeclaration<IpiTextAreaComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<IpiTextAreaComponent, "ipi-textarea", never, { "options": { "alias": "options"; "required": false; }; }, { "textAreaChange": "textAreaChange"; }, never, never, true, never>;
}
