import { type AutocompleteFieldComponent, type SelectFieldComponent } from '@defra/forms-model';
import { ListFormComponent } from '../../../../server/plugins/engine/components/ListFormComponent.js';
import { type FormPayload, type FormSubmissionError } from '../../../../server/plugins/engine/types.js';
export declare class SelectField extends ListFormComponent {
    options: SelectFieldComponent['options'] | AutocompleteFieldComponent['options'];
    constructor(def: SelectFieldComponent | AutocompleteFieldComponent, props: ConstructorParameters<typeof ListFormComponent>[1]);
    getViewModel(payload: FormPayload, errors?: FormSubmissionError[]): {
        items: import("./types.js").ListItem[];
        label: {
            text: string;
        };
        id: string;
        name: string;
        value: import("../../../../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<string, string>;
            legend?: import("./types.js").Label;
        };
        formGroup?: {
            classes?: string;
            attributes?: string | Record<string, string>;
        };
        showFieldsetError?: boolean;
        components?: import("./types.js").ComponentViewModel[];
        upload?: {
            count: number;
            summaryList: import("../../../../server/plugins/engine/types.js").SummaryList;
        };
    };
}
