import type { RefObject, ForwardedRef, FocusEvent } from 'react'; import type { Options } from 'currency.js'; import type { CustomStyles } from '../components/interface'; export default function useInputCurrency(currencyOptions: Options, value?: number, onFocus?: (event: FocusEvent) => void, onChange?: (value?: number) => void, onBlur?: (event: FocusEvent) => void, ref?: ForwardedRef): { inputRef: RefObject; innerValue: string; innerType: string; handleOnFocus: (event: FocusEvent) => void; handleOnChange: (newValue?: string) => void; handleOnBlur: (event: FocusEvent) => void; generateStyleVariables: CustomStyles; generateSymbolStyleVariables: { color: string; }; };