import { InputHTMLAttributes, ReactNode, Ref } from 'react'; import { FieldError, FieldPath, FieldValues, UseFormRegister } from 'react-hook-form'; import { ComponentColor, IComponentBaseProps, Size } from '../types'; export declare const INPUT = "input"; export declare const COLOR_MAP: { primary: string; secondary: string; error: string; info: string; success: string; warning: string; accent: string; ghost: string; }; export declare const SIZE_MAP: Record; export declare const TEXT_MAP: { primary: string; secondary: string; error: string; info: string; success: string; warning: string; accent: string; ghost: string; xs: string; sm: string; md: string; lg: string; xl: string; }; export interface InputProps extends Omit, "size" | "color" | "id" | "prefix">, IComponentBaseProps { ref?: Ref; size?: Size; placeholder?: string; name: FieldPath; color?: Exclude; register?: UseFormRegister; label?: ReactNode; prefix?: ReactNode; subfix?: ReactNode; labelFloating?: boolean; classes?: { input?: string; label?: string; labelText?: string; helper?: string; helperText?: string; }; error?: FieldError; helper?: string; }