import { type YesNoFieldComponent } from '@defra/forms-model';
import { SelectionControlField } from '../../../../server/plugins/engine/components/SelectionControlField.js';
import { type ErrorMessageTemplateList } from '../../../../server/plugins/engine/types.js';
/**
 * @description
 * YesNoField is a radiosField with predefined values.
 */
export declare class YesNoField extends SelectionControlField {
    options: YesNoFieldComponent['options'];
    constructor(def: YesNoFieldComponent, props: ConstructorParameters<typeof SelectionControlField>[1]);
    /**
     * 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;
}
