import InternalForm, { useForm, FormInstance, FormProps } from './Form'; import Item, { FormItemProps } from './FormItem'; import ErrorList, { ErrorListProps } from './ErrorList'; import List, { FormListProps } from './FormList'; import { FormProvider } from './context'; import { Rule, RuleObject, RuleRender } from './rcFieldForm/interface'; import './style/index.less'; declare type InternalFormType = typeof InternalForm; interface FormInterface extends InternalFormType { useForm: typeof useForm; Item: typeof Item; List: typeof List; ErrorList: typeof ErrorList; Provider: typeof FormProvider; /** @deprecated Only for warning usage. Do not use. */ create: () => void; } declare const FormHook: FormInterface; export { FormInstance, FormProps, FormItemProps, ErrorListProps, Rule, RuleObject, RuleRender, FormListProps, }; export default FormHook;