import type { FormInstance } from 'rc-field-form'; import type { FieldProps } from 'rc-field-form/lib/Field'; import React from 'react'; import type { ValidateStatus } from '../types'; declare type RenderChildren = (form: FormInstance) => React.ReactNode; declare type RcFieldProps = Omit, 'children'>; declare type ChildrenType = RenderChildren | React.ReactNode; export declare type KpItemProps = RcFieldProps & { label?: React.ReactNode; htmlFor?: string; required?: boolean; noStyle?: boolean; children?: ChildrenType; validateStatus?: ValidateStatus; hidden?: boolean; /** Auto passed by List render props. User should not use this. */ fieldKey?: React.Key | React.Key[]; } & Record; declare function KpFormItem(props: KpItemProps): React.ReactElement; export default KpFormItem;