export declare const DEFAULT_CLASS = "hods-form__page";
interface FormPageProps {
classBlock?: string;
classModifiers?: string | string[];
className?: string;
hashLink?: boolean;
onAction: Function;
onWrapperChange?: Function;
onChange?: Function;
onTopLevelChange?: Function;
page: {
id: string;
title?: string;
titleSize?: string;
components: string | object[];
fieldset?: boolean;
hideOptionalSuffix?: boolean;
label?: string;
required?: boolean;
actions?: object | string[];
formData: object;
customValidation?: {
runWhen: {
onLoad?: boolean;
};
message: string;
}[];
};
pages?: object[];
submitting?: boolean;
pageId: string;
}
/** Renders a page on a form with COP React components,
on the basis of a JSON configuration */
declare const FormPage: ({ page, pages, onAction, onWrapperChange, onTopLevelChange, onChange, hashLink, classBlock, classModifiers, className, submitting, pageId }: FormPageProps) => import("react/jsx-runtime").JSX.Element;
export default FormPage;