import { type ValidatorOptions } from '../validator'; interface InputBase extends React.HTMLAttributes { style?: React.CSSProperties; label?: string; type?: string; placeholder?: string; inputRef?: React.RefObject; labelColor?: React.CSSProperties['color']; inputColorBorder?: React.CSSProperties['color']; inputColor?: React.CSSProperties['color']; defaultValue?: string; disabled?: boolean; validatorOptions?: ValidatorOptions; onBlur?: (e: React.FocusEvent) => void; onChange?: (e: React.ChangeEvent) => void; value?: string; autoComplete?: string; step?: number | 'any'; /** Props forwarded to the underlying (not the wrapper div). */ inputProps?: React.InputHTMLAttributes; } type InputKindProps = InputBase & { kind?: 'input'; name: string; minHeight?: never; maxHeight?: never; }; type TextareaProps = InputBase & { kind: 'textarea'; name: string; minHeight?: React.CSSProperties['minHeight']; maxHeight?: React.CSSProperties['maxHeight']; }; type CalendarProps = InputBase & { kind: 'calendar'; name: string; minHeight?: never; maxHeight?: never; }; export type InputProps = InputKindProps | TextareaProps | CalendarProps; export type SelectProps = InputBase & { kind: 'select'; name?: never; id: string; minHeight?: never; maxHeight?: never; }; export declare const Input: React.FC; export {};