import React from 'react'; import type { UseFormType } from './useForm'; import type { UseListType } from '../useFormList/useList'; export type FormContextType = UseFormType & { isFieldDisable: Function; showStarRequired?: boolean; } | null; export declare const FormContext: React.Context & { isFieldDisable: Function; showStarRequired?: boolean; }>; interface Props extends React.FormHTMLAttributes { children: React.ReactNode; handleSubmit: ((values: ValuesType & { [K: string]: ValuesListType[]; }, next: Function, end: Function) => void) | ((values: any & { [K: string]: ValuesListType[]; }, next: Function, end: Function) => void)[]; /** @deprecated Please use handleSubmit instead. */ handlerSubmit?: ((values: ValuesType & { [K: string]: ValuesListType[]; }, next: Function, end: Function) => void) | ((values: any & { [K: string]: ValuesListType[]; }, next: Function, end: Function) => void)[]; form: UseFormType; onSubmitError?: Function; preventEnter?: boolean; showStarRequired?: boolean; mode?: 'list'; listCtl?: UseListType; listName?: string; } declare const Form: (props: Props) => import("react/jsx-runtime").JSX.Element; export default Form;