import React from 'react'; import { RegisterOptions } from 'react-hook-form/dist/types/validator'; import { ErrorStyle } from '../Input/data'; import { FieldErrors } from 'react-hook-form/dist/types/errors'; import { Control, FieldValues } from 'react-hook-form'; interface IItemProps extends Omit, 'prefix'> { name?: string; label?: React.ReactNode; rules?: RegisterOptions; error?: FieldErrors; errorStyle?: ErrorStyle | false; prefix?: React.ReactNode; suffix?: React.ReactNode; emptyLabel?: boolean; asterisk?: boolean; itemClassName?: string; isFormItem?: boolean; visible?: boolean; control?: Control; option?: string; type?: string; description?: string; icon?: string; button?: boolean; } declare const Item: React.ForwardRefExoticComponent & React.RefAttributes>; export default Item;