import { default as React, ReactNode } from 'react'; import { Control } from 'react-hook-form'; interface IController { control: Control; name: string; label?: string; placeholder?: string; description?: string; /** Onchange callback function */ handleChange?: any; /** Custom click handler */ handleClick?: React.MouseEventHandler; /** Field Disable */ disabled?: boolean; /** Field type */ type?: "date" | "hidden" | "datetime-local" | "email" | "month" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | "week"; inputMode?: "email" | "tel" | "search" | "text" | "url" | "none" | "numeric" | "decimal" | undefined; /** Handles MaxLength of the field , works only with strings */ maxlength?: number; /** Field is required or optional */ readonly?: boolean; /** Prefix Icon */ prefix?: ReactNode; /** Prefix Icon */ suffix?: ReactNode; required?: boolean; onFocus?: React.FocusEventHandler; onBlur?: React.FocusEventHandler; autoComplete?: React.HTMLInputAutoCompleteAttribute; className?: string; containerStyle?: string; } declare const InputController: (props: IController) => import("react/jsx-runtime").JSX.Element; export default InputController;