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