import { CurrencyInputProps as ReactCurrencyInputFieldProps } from 'react-currency-input-field'; import { CurrencyCode } from '../../../helpers/currencies'; import { InputWrapperBaseProps } from '../../internals/InputWrapper'; export interface InputCurrencyProps extends InputWrapperBaseProps, Pick { /** * HTML input id */ id?: string; /** * Field name */ name?: string; /** * Input placeholder */ placeholder?: string; /** * Optional CSS class names used for the input element */ className?: string; /** * Valid 3-digit iso currency code (eg: EUR, USD, GBP) */ currencyCode: CurrencyCode; /** * Value in cents */ cents?: number | null; /** * onChange callback triggered when during typing */ onChange: (cents: number | null, formatted: string) => void; /** * Hide currency symbol but keep the currency formatting */ hideCurrencySymbol?: boolean; /** * It defines which are the available signs. * * By default only `+` sign is allowed, but you can set it to `-` if you want to use only negative numbers. * * The signs `+-` and `-+` can accept both positive and negative numbers (first sign is the default). * @default + */ sign?: "+" | "-" | "+-" | "-+"; /** * Show (X) button to clear the input */ isClearable?: boolean; } export declare const InputCurrency: import('react').ForwardRefExoticComponent>;