/*! * React Native Globalize * * Copyright 2015-2020 Josh Swan * Released under the MIT license * https://github.com/joshswan/react-native-globalize/blob/master/LICENSE */ import { currencyFormatter } from 'globalize'; import { CurrencyFormatter, CurrencyFormatterOptions, Formatters, GlobalizeConfig } from '../types'; export declare function enhanceCurrencyFormatter(getCurrencyFormatter: typeof currencyFormatter, config: GlobalizeConfig): (currency: string, options?: CurrencyFormatterOptions) => CurrencyFormatter; export declare function formatCurrency(config: GlobalizeConfig, getCurrencyFormatter: Formatters['getCurrencyFormatter'], value: number, currencyCode?: string, options?: CurrencyFormatterOptions): string;