import { ReactNode } from 'react'; import { DefaultValues } from 'react-hook-form'; import { PageFormSubmitHandler } from './PageForm'; import { ErrorAdapter } from './typesErrorAdapter'; export interface GenericFormProps { children?: ReactNode; onSubmit: PageFormSubmitHandler; onCancel?: () => void; defaultValue?: DefaultValues; isVertical?: boolean; autoComplete?: 'on' | 'off'; errorAdapter?: ErrorAdapter; } export declare function GenericForm(props: GenericFormProps): import("react/jsx-runtime").JSX.Element;