import { EventEmitter } from '../../stencil-public-runtime'; import { InputSize, InputStatus, TextareaResize } from './types'; export declare class BcmTextarea { el: HTMLElement; private textareaRef; isFocused: boolean; validationMessage: string; isValid: boolean; internalStatus: InputStatus; internalErrorMessage: string; internals: ElementInternals; /** Textarea value */ value: string; /** Textarea rows */ rows?: number; /** Textarea cols */ cols?: number; /** Minimum height in rows */ minRows?: number; /** Maximum height in rows */ maxRows?: number; /** Resize behavior */ resize: TextareaResize; /** Auto grow height based on content */ autoGrow: boolean; /** Input placeholder text */ placeholder?: string; /** Input name */ name?: string; /** Input id */ _id?: string; /** Controls the textarea size */ size: InputSize; /** Defines the textarea's status/state */ status: InputStatus; /** Full width textarea */ fullWidth: boolean; /** Whether the textarea is disabled */ disabled: boolean; /** Whether the textarea is readonly */ readonly: boolean; /** Whether the textarea is required */ required: boolean; /** Min length for text input */ minLength?: number; /** Max length for text input */ maxLength?: number; /** Show character counter */ showCounter: boolean; /** Textarea label for accessibility */ label?: string; /** Error message to display */ errorMessage?: string; /** Caption text to display below textarea */ captionText?: string; /** ID of associated label element */ labelledby?: string; /** ID of associated caption/error text element */ describedby?: string; /** Custom validation function */ validator?: (value: string) => string | undefined; bcmInput: EventEmitter; bcmChange: EventEmitter; bcmFocus: EventEmitter; bcmBlur: EventEmitter; bcmKeyDown: EventEmitter; bcmKeyUp: EventEmitter; handleValueChange(newValue: string): void; watchStatus(newValue: InputStatus): void; watchErrorMessage(newValue: string): void; componentWillLoad(): void; componentDidLoad(): void; disconnectedCallback(): void; setFocus(): Promise; setBlur(): Promise; select(): Promise; /** * When the parent
is reset, reset textarea state as well. */ formResetCallback(): void; private adjustHeight; private validateInput; private onChange; private onFocus; private onBlur; private onKeyDown; private onKeyUp; private styleClass; render(): any; }