import { type MultilineTextFieldComponent } from '@defra/forms-model'; import { type StringSchema } from 'joi'; import { type ComponentBase } from '~/src/server/plugins/engine/components/ComponentBase.js'; import { FormComponent } from '~/src/server/plugins/engine/components/FormComponent.js'; import { type ErrorMessageTemplateList, type FormPayload, type FormSubmissionError } from '~/src/server/plugins/engine/types.js'; export declare class MultilineTextField extends FormComponent { options: MultilineTextFieldComponent['options']; schema: MultilineTextFieldComponent['schema']; formSchema: StringSchema; stateSchema: StringSchema; isCharacterOrWordCount: boolean; constructor(def: MultilineTextFieldComponent, props: ConstructorParameters[1]); getViewModel(payload: FormPayload, errors?: FormSubmissionError[]): { isCharacterOrWordCount: boolean; maxlength: number | undefined; maxwords: number | undefined; rows: number | undefined; label: { text: string; }; id: string; name: string; value: import("~/src/server/plugins/engine/types.js").FormValue; type?: string; hint?: { id?: string; text: string; }; prefix?: import("./types.js").ComponentText; suffix?: import("./types.js").ComponentText; classes?: string; condition?: string; errors?: FormSubmissionError[]; errorMessage?: { text: string; }; summaryHtml?: string; html?: string; attributes: { autocomplete?: string; maxlength?: number; multiple?: string; accept?: string; inputmode?: string; }; content?: import("./types.js").Content | import("./types.js").Content[] | string; items?: import("./types.js").ListItem[] | import("./types.js").DateInputItem[]; fieldset?: { attributes?: string | Record; legend?: import("./types.js").Label; }; formGroup?: { classes?: string; attributes?: string | Record; }; showFieldsetError?: boolean; components?: import("./types.js").ComponentViewModel[]; upload?: { count: number; summaryList: import("~/src/server/plugins/engine/types.js").SummaryList; }; }; buildMinMaxText(min?: number, max?: number): string; /** * For error preview page that shows all possible errors on a component */ getAllPossibleErrors(): ErrorMessageTemplateList; /** * Static version of getAllPossibleErrors that doesn't require a component instance. */ static getAllPossibleErrors(): ErrorMessageTemplateList; }