import { type AutocompleteFieldComponent, type SelectFieldComponent } from '@defra/forms-model'; import { ListFormComponent } from '~/src/server/plugins/engine/components/ListFormComponent.js'; import { type FormPayload, type FormSubmissionError } from '~/src/server/plugins/engine/types.js'; export declare class SelectField extends ListFormComponent { options: SelectFieldComponent['options'] | AutocompleteFieldComponent['options']; constructor(def: SelectFieldComponent | AutocompleteFieldComponent, props: ConstructorParameters[1]); getViewModel(payload: FormPayload, errors?: FormSubmissionError[]): { items: import("./types.js").ListItem[]; 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; maxlength?: number; maxwords?: number; rows?: number; 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; }; }; }