import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, SimpleChanges } from "@angular/core";
import { BehaviorSubject } from "rxjs";
import { BackgroundProviderService } from "../../public-api";
import { DxcTextareaHelper } from "./dxc-textarea.helper";
import * as i0 from "@angular/core";
export declare class DxcTextareaComponent implements OnInit {
    private cdRef;
    private helper;
    bgProviderService?: BackgroundProviderService;
    className: any;
    hasError: boolean;
    label: string;
    name: string;
    value: string;
    id: string;
    helperText: string;
    get disabled(): boolean;
    set disabled(value: boolean);
    private _disabled;
    get optional(): boolean;
    set optional(value: boolean);
    private _optional;
    get rows(): number;
    set rows(value: number);
    private _rows;
    verticalGrow: string;
    error: any;
    placeholder: string;
    pattern: string;
    minLength: number;
    maxLength: number;
    margin: Object | string;
    tabIndex: number;
    size: string;
    autocomplete: string;
    private controlled;
    defaultInputs: BehaviorSubject<any>;
    onChange: EventEmitter<any>;
    onBlur: EventEmitter<any>;
    textareaRef: ElementRef;
    darkBackground: boolean;
    isDirty: boolean;
    validationError: string;
    textareaId: string;
    constructor(cdRef: ChangeDetectorRef, helper: DxcTextareaHelper, bgProviderService?: BackgroundProviderService);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnInit(): void;
    ngAfterViewInit(): void;
    handleOnChange(event: any): void;
    handleOnBlur(): void;
    handleOnFocus(): void;
    private validateValue;
    private handleValidationError;
    private patternMatch;
    private isRequired;
    private isLengthIncorrect;
    private checkHeight;
    static ɵfac: i0.ɵɵFactoryDeclaration<DxcTextareaComponent, [null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DxcTextareaComponent, "dxc-textarea", never, { "label": "label"; "name": "name"; "value": "value"; "id": "id"; "helperText": "helperText"; "disabled": "disabled"; "optional": "optional"; "rows": "rows"; "verticalGrow": "verticalGrow"; "error": "error"; "placeholder": "placeholder"; "pattern": "pattern"; "minLength": "minLength"; "maxLength": "maxLength"; "margin": "margin"; "tabIndex": "tabIndex"; "size": "size"; "autocomplete": "autocomplete"; }, { "onChange": "onChange"; "onBlur": "onBlur"; }, never, never>;
}
//# sourceMappingURL=dxc-textarea.component.d.ts.map