import { Amount, CountryWithCurrency } from '@zeniai/client-epic-state'; import { DisableMode } from '../common/common'; import { CountryCodeSupportedByProvider } from '../countrySelectField/countryHelper'; /** * Component & its Props */ export interface CountryWithCurrencyOption { countryCode: CountryCodeSupportedByProvider; label: string; value: string; } export interface CurrencyAmountFormData { allOptions: CountryWithCurrencyOption[]; selectedOption?: string; } export interface CurrencyAmountFieldProps { allCurrencies: CountryWithCurrency[]; /** * Unique name to be registered with react-hook-form */ name: string; defaultValue?: Amount; isDisabled?: DisableMode; placeHolder?: { amount: string; name: string; }; showAmountCurrencyError?: boolean; style?: React.CSSProperties; } export declare function CurrencyAmountField({ name, placeHolder, defaultValue, isDisabled, showAmountCurrencyError, style, allCurrencies, }: CurrencyAmountFieldProps): import("react/jsx-runtime").JSX.Element;