import { FC, ReactNode } from 'react'; import { AnyFunction, BaseProps } from '../base'; import { FormStore } from './createFormStore'; import { ValidateStatus, NamePath, NodeName } from './type'; import { Rule } from './Validator'; export interface FormFieldProps extends Omit { children?: ReactNode | ((params: { value: any; onChange: AnyFunction; disabled: boolean; readOnly: boolean; required: boolean; } & FormStore) => ReactNode); layout?: 'horizontal' | 'vertical'; label?: ReactNode; labelWidth?: number | string; labelAlign?: 'start' | 'center' | 'end'; labelValign?: 'start' | 'center' | 'end'; starPosition?: 'left' | 'right'; required?: boolean; hidden?: boolean; unstyled?: boolean; underline?: boolean; inlaid?: boolean; name?: NodeName; valuePropName?: string; trigger?: string; initialValue?: any; getValueFromEvent?: AnyFunction; disabled?: boolean; readOnly?: boolean; rules?: Rule[]; validateFirst?: boolean; validateTrigger?: string | string[]; validateStatus?: ValidateStatus; feedback?: ReactNode; extra?: ReactNode; watch?: NamePath[]; } export declare const FormField: FC; export default FormField;