import 'quill/dist/quill.snow.css'; export type RichEditorPicker = 'header' | 'color' | 'background' | 'font' | 'align'; export declare class DdaTextarea { /** Placeholder text of the textarea or the rich text editor. */ placeholder: string; /** Visible label text, linked to the field through `input_id` (or a generated id). */ label: string; /** Value of the textarea. Updates as the user types; in rich text mode it holds the editor HTML. */ value: string; /** Error text shown below the field with the character count. When set, the field gets `aria-invalid="true"`. */ error_message: string; /** Validation style. `error` shows the error colors. */ validation_type?: string; /** Status style. `disabled` shows the disabled styling only; it does not set the native `disabled` attribute. */ input_status?: string; /** Helper text shown below the field with the character count, linked with `aria-describedby`. */ helper_text?: string; /** Extra CSS classes added to the field container. */ custom_class?: string; /** Replaces the textarea with a Quill rich text editor and toolbar. */ enable_rich_editor?: boolean; /** Accessible names of the rich editor's toolbar dropdowns, as a JSON object or an object. Keys: `header`, `color`, `background`, `font`, `align`. A key that is not set keeps its English default. */ toolbar_labels?: string | Partial>; /** Maximum number of characters (`maxlength` of the textarea), shown in the character count. */ max_characters: number; /** Theme override class for the field, e.g. `light-mode`. */ component_mode?: string; /** `id` of the textarea or editor. Also used for the label and the helper and error text ids. Optional: an id is generated when it is not set. */ input_id: string; /** Accessible name of the textarea. Use it when there is no visible label. */ aria_label?: string; /** `name` of the textarea, submitted with its form. */ textarea_name: string; el: HTMLElement; characterCount: number; private quill; private readonly fallbackId; private get inputId(); private get labelId(); private get helperId(); private get errorId(); private get describedBy(); private syncRichEditorA11y; private labelToolbarPickers; componentDidLoad(): void; componentDidUpdate(): void; handleInput(event: any): void; render(): any; }