import React, { AllHTMLAttributes } from 'react'; import { IconType } from '../Icon'; export interface IInputProps extends IValidityStates, AllHTMLAttributes { readonly defaultValue?: string | number | readonly string[]; readonly required?: boolean; readonly icon?: IconType; readonly name?: string; readonly label?: string; readonly type?: 'tel' | 'number' | 'text' | 'url' | 'email' | 'password' | 'date' | 'datetime-local' | string; readonly onChange?: any; readonly value?: string | readonly string[] | number; readonly lines?: number; readonly hasRightIcon?: boolean; readonly pattern?: string; readonly minLength?: number; readonly maxLength?: number; readonly forceHideCheckmark?: boolean; readonly onInputRef?: any; readonly readOnly?: boolean; readonly disabled?: boolean; readonly forwardedRef?: any; } interface IValidityStates { readonly badInput?: string; readonly customError?: string; readonly patternMismatch?: string; readonly rangeOverflow?: string; readonly rangeUnderflow?: string; readonly stepMismatch?: string; readonly tooLong?: string; readonly tooShort?: string; readonly typeMismatch?: string; readonly valueMissing?: string; } declare const _default: React.ForwardRefExoticComponent>; export default _default;