import type { PropertyValues, TemplateResult, CSSResultArray } from 'lit'; import { FormElement } from '../base/form-element'; export type TextAreaResize = 'none' | 'vertical' | 'horizontal' | 'both'; export type TextAreaWrap = 'soft' | 'hard'; declare const PharosTextarea_base: typeof FormElement; /** * Pharos text input component. * * @tag pharos-textarea * * @slot label - Contains the label content. * @slot message - Contains message content to show below the input. * * @fires input - Fires when the value has changed * @fires change - Fires when the element loses focus, after the content has changed * * @cssprop {Length} --pharos-textarea-size-text-base - Text input font size. */ export declare class PharosTextarea extends PharosTextarea_base { /** * Indicates textarea value. * @attr value */ value: string; /** * Indicates width of text area. * @attr cols */ cols: number; /** * Sends the direction the text is read with the name. * @attr dirname */ dirname: string; /** * Defines the maximum number of characters the user can enter * @attr maxlength */ maxlength?: number; /** * Defines the minimum number of characters the user can enter * @attr minlength */ minlength?: number; /** * Display text when textarea is empty * @attr placeholder */ placeholder: string; /** * Indicates if textarea is readonly. * @attr readonly */ readonly: boolean; /** * Indicates how many rows should the textarea be. * @attr rows */ rows: number; /** * Makes the text area resizeable * @attr resize */ resize: TextAreaResize; /** * Indicate whether the sumbitted value should be wrapped (Include new lines) * @attr wrap */ wrap: TextAreaWrap; /** * Pattern to validate the textarea against * @attr pattern */ pattern?: string; private _textarea; static get styles(): CSSResultArray; protected firstUpdated(): void; protected update(changedProperties: PropertyValues): void; onChange(): void; onInput(): void; _handleFormdata(event: CustomEvent): void; _handleFormReset(): void; protected render(): TemplateResult; } export {}; //# sourceMappingURL=pharos-textarea.d.ts.map