import { FormTypes } from '../../models';
export interface FormRendererProps {
classBlock?: string;
classModifiers?: string | string[];
className?: string;
components: object[];
cya?: {
actions?: (object | string)[];
disableTaskSwitch?: boolean;
};
data?: {
formStatus?: {
page?: object;
};
};
hashLink?: boolean;
hide_title?: boolean;
hooks?: object;
hub?: {
nonSequential?: boolean;
sections?: object[];
};
newPageId?: string;
noChangeAction?: boolean;
pages: object[];
summaryListClassModifiers?: string | string[];
title?: string;
titleSize?: string;
cleanseHiddenData?: boolean;
/** See FormTypes. */
type: typeof FormTypes[keyof typeof FormTypes];
viewOnly?: boolean;
hideBlankRows?: boolean;
}
/** Renders a form with COP React components,
on the basis of a JSON that describes which elements are required. */
declare const FormRenderer: ({ title, titleSize, type, cleanseHiddenData, components, pages, hub, cya, data, hashLink, hooks, classBlock, classModifiers, className, hide_title: hideTitle, summaryListClassModifiers, noChangeAction, newPageId, viewOnly, hideBlankRows }: FormRendererProps) => import("react/jsx-runtime").JSX.Element;
export declare const DEFAULT_CLASS = "hods-form";
export default FormRenderer;