import { SetState } from '@smart-react-components/core/types'; import { ChangeEvent, FocusEvent } from 'react'; interface Props { isDisabled: boolean; isReadOnly: boolean; onBlur?: (e: FocusEvent) => void; onChange?: (e: ChangeEvent) => void; onFocus?: (e: FocusEvent) => void; setValue?: SetState; } interface Return { handleOnBlur?: (e: FocusEvent) => void; handleOnChange?: (e: ChangeEvent) => void; handleOnFocus?: (e: FocusEvent) => void; isFocused: boolean; } export default function useInputMethods({ isDisabled, isReadOnly, onBlur, onChange, onFocus, setValue }: Props): Return; export {};