import { ChangeEvent, FocusEvent, KeyboardEvent, MouseEvent, RefObject } from "react"; import { IInputBase } from "../InputBase/interfaces"; export declare type TInputMode = "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"; export interface IProps extends IInputBase { value?: string | Date; isMultiLine?: boolean; isAutoFill?: boolean; id?: string; isAutoFocus?: boolean; isAutoSelect?: boolean; name?: string; onChange: (event: ChangeEvent | MouseEvent, value: string, id?: string) => void; onBlur?: (event: FocusEvent, value: string) => void; onFocus?: (event: FocusEvent) => void; onKeyPress?: (event: KeyboardEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; getRefProp?: (ref: RefObject) => void; maxLength?: number; inputMode?: TInputMode; pattern?: string; testID?: string; isSuccess?: boolean; } export interface IShared { id?: string; maxLength?: number; disabled?: boolean; name?: string; autoFocus?: boolean; value: string; inputMode?: TInputMode; onChange: (event: ChangeEvent) => void; onBlur?: (event: FocusEvent) => void; onFocus?: (event: FocusEvent) => void; onKeyPress?: (event: KeyboardEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; pattern?: string; }