import { FormInstance } from 'rc-field-form'; import type { FieldProps } from 'rc-field-form/lib/Field'; import type { FC, MutableRefObject, ReactNode } from 'react'; import React from 'react'; import { NativeProps } from '../../utils/native-props'; import { ListItemProps } from '../list'; import type { FormLayout } from './index'; declare type RenderChildren = (form: FormInstance) => ReactNode; declare type ChildrenType = RenderChildren | ReactNode; declare type RcFieldProps = Omit; export declare type FormItemProps = Pick & Pick & { label?: ReactNode; help?: ReactNode; helpIcon?: ReactNode; hasFeedback?: boolean; required?: boolean; noStyle?: boolean; disabled?: boolean; hidden?: boolean; layout?: FormLayout; childElementPosition?: 'normal' | 'right'; children?: ChildrenType; onClick?: (e: React.MouseEvent, widgetRef: MutableRefObject) => void; } & NativeProps; export declare const FormItem: FC; export {};