import { type Item, type List as ListType, type ListComponent } from '@defra/forms-model'; import { ComponentBase } from '~/src/server/plugins/engine/components/ComponentBase.js'; import { type ListItem } from '~/src/server/plugins/engine/components/types.js'; export declare class List extends ComponentBase { options: ListComponent['options']; hint: ListComponent['hint']; list?: ListType; get items(): Item[]; constructor(def: ListComponent, props: ConstructorParameters[1]); getViewModel(): { type: string | undefined; classes: string | undefined; content: import("~/src/server/plugins/engine/components/types.js").Content; items: ListItem[]; label?: import("~/src/server/plugins/engine/components/types.js").Label; id?: string; name?: string; value?: import("../types.js").FormValue; hint?: { id?: string; text: string; }; prefix?: import("~/src/server/plugins/engine/components/types.js").ComponentText; suffix?: import("~/src/server/plugins/engine/components/types.js").ComponentText; condition?: string; errors?: import("../types.js").FormSubmissionError[]; errorMessage?: { text: string; }; summaryHtml?: string; html?: string; attributes: { autocomplete?: string; maxlength?: number; multiple?: string; accept?: string; inputmode?: string; }; maxlength?: number; maxwords?: number; rows?: number; fieldset?: { attributes?: string | Record; legend?: import("~/src/server/plugins/engine/components/types.js").Label; }; formGroup?: { classes?: string; attributes?: string | Record; }; showFieldsetError?: boolean; components?: import("~/src/server/plugins/engine/components/types.js").ComponentViewModel[]; upload?: { count: number; summaryList: import("../types.js").SummaryList; }; }; }