import React from 'react'; import { Currency as CurrencyEnum } from '../lib/graphql/types/v2/graphql'; import { TextProps } from './Text'; type CurrencyProps = TextProps & { /** The amount to display, in cents */ value: number; /** The currency (eg. `USD`, `EUR`...etc) */ currency: CurrencyEnum; /** Format the currency value to display with separators such as 100,000 instead of 100000 */ formatWithSeparators?: boolean; /** How many numbers should we display after the comma. When `auto` is given, decimals are only displayed if necessary. */ precision?: number | 'auto'; }; /** * Shows a money amount with the currency. * * ⚠️ Abbreviated mode is only for English at the moment. Abbreviated amount will not be internationalized. */ declare const Currency: ({ value, currency, formatWithSeparators, precision, ...props }: CurrencyProps) => React.JSX.Element; export default Currency;