import React, { ReactNode } from 'react'; import { InputProps as BaseInputProps } from 'antd/lib/input'; import { ControllerRenderProps } from 'react-hook-form'; export interface InputProps extends Pick { className?: string; errorMsg?: string; suffix?: ReactNode; prefix?: ReactNode; withCount?: boolean; name: string; label?: string; previewText?: string; defaultValue?: number | string; value?: number | string; render?: (field: ControllerRenderProps) => React.ReactElement; onChange: (e: React.ChangeEvent) => void; cy?: { wrapper?: string; input?: string; message?: string; }; } declare const Input: React.FC; export default Input;