import { type HiddenFieldComponent, type TextFieldComponent } from '@defra/forms-model';
import { type StringSchema } from 'joi';
import { FormComponent } from '../../../../server/plugins/engine/components/FormComponent.js';
import { type ErrorMessageTemplateList, type FormState, type FormStateValue, type FormSubmissionState } from '../../../../server/plugins/engine/types.js';
export declare class HiddenField extends FormComponent {
    formSchema: StringSchema;
    stateSchema: StringSchema;
    schema: TextFieldComponent['schema'];
    options: TextFieldComponent['options'];
    constructor(def: HiddenFieldComponent, props: ConstructorParameters<typeof FormComponent>[1]);
    getFormValueFromState(state: FormSubmissionState): NonNullable<FormStateValue> | undefined;
    isValue(value?: FormStateValue | FormState): value is string;
    /**
     * 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;
}
