import * as React from 'react'; import type { FormInstance } from './interface'; import Field from './field'; import List from './List'; import ParentField from './ParentField'; import useForm from './useForm'; import type { FormProps } from './Form'; import { FormProvider } from './FormContext'; import FieldContext, { FieldContextDecorator } from './FieldContext'; import ListContext from './ListContext'; import useWatch from './useWatch'; export type { FormProviderProps } from './FormContext'; export type { FieldProps } from './field'; export type { Rule, RuleObject, RuleRender, StoreValue, Meta, ValidateErrorEntity, ValidatorRule, InternalNamePath, NamePath, Store, InternalFieldData, FieldData, ValidateMessages } from './interface'; declare const InternalForm: (props: FormProps & { ref?: React.Ref>; }) => React.ReactElement; type InternalFormType = typeof InternalForm; interface RefFormType extends InternalFormType { FormProvider: typeof FormProvider; Field: typeof Field; List: typeof List; ParentField: typeof ParentField; useForm: typeof useForm; useWatch: typeof useWatch; } declare const RefForm: RefFormType; export { Field, List, ParentField, useForm, FormProvider, FieldContext, FieldContextDecorator, ListContext, useWatch }; export type { FormProps, FormInstance }; export default RefForm;