import { ReactNode, FocusEvent, ReactElement, InputHTMLAttributes } from 'react'; import { IValidationTargetProps } from "../../types"; import { IInputComponentProps } from "./InputComponent"; declare const sizeInput: { small: string; medium: string; }; declare type TSize = keyof typeof sizeInput; declare type TOmittedBaseProps = 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'onFocus' | 'disabled' | 'size'; declare type TBaseInputProps = Omit, TOmittedBaseProps>; export interface IInputProps extends IValidationTargetProps, Pick, TBaseInputProps { options?: string[]; onOptionSelect?: (value: string) => void; startAdornment?: ReactNode; endAdornment?: ReactNode; shrinkLabel?: boolean; hideLabel?: boolean; label?: ReactNode | string; inputClassName?: string; size?: TSize; helperAdornment?: ReactNode; onChange?: (value: string) => void; onBlur?: (value: string) => void; onFocus?: (event: FocusEvent) => void; } declare const Input: ({ error, label, value, defaultValue, type, size, helperAdornment, shrinkLabel, isDisabled, startAdornment, endAdornment, onChange, onFocus, onBlur, required, className, inputClassName, innerRef, onOptionSelect, options, hideLabel, ...rest }: IInputProps) => ReactElement; export default Input;