import React from 'react'; import { InputProps } from '../Input'; import { defaultIntlConfig } from './utils'; export declare const InputCurrencyComponent: ({ value, defaultValue, config, currency, max, autoFocus, autoSelect, autoReset, onChange, onBlur, onFocus, onKeyPress, ...otherProps }: InputCurrencyProps, ref: React.ForwardedRef) => JSX.Element; export declare const InputCurrency: React.ForwardRefExoticComponent>; export interface InputCurrencyProps extends Omit { /** Currency to format value to * @default 'BRL' * */ currency?: keyof typeof defaultIntlConfig; /** Max value allowed * @default 1000000000000000 * */ max?: number; /** Custom Intl config * @deprecated Don't use, component already has its default config * */ config?: any; /** Should auto focus * @default false * */ autoFocus?: boolean; /** Should auto select * @default false * */ autoSelect?: boolean; /** Should auto reset * @default false * */ autoReset?: boolean; /** * onChange with additional params: (event, value, maskedValue) * */ onChange?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void; /** * onBlur with additional params: (event, value, maskedValue) * */ onBlur?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void; /** * onFocus with additional params: (event, value, maskedValue) * */ onFocus?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void; /** * onKeyPress with additional params: (event, key, keyCode) * */ onKeyPress?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void; }