import { BigNumber } from "bignumber.js"; import type { Unit } from "@ledgerhq/types-cryptoassets"; declare const defaultFormatOptions: { locale: string; showCode: boolean; alwaysShowSign: boolean; showAllDigits: boolean; disableRounding: boolean; useGrouping: boolean; subMagnitude: number; discreet: boolean; joinFragmentsSeparator: string; dynamicSignificantDigits: number; staticSignificantDigits: number; }; export type formatCurrencyUnitOptions = Partial; export type FormatterValue = { integerPart: string; decimalPart: string; decimalSeparator: "." | ","; currencyText: string; currencyPosition: "start" | "end"; }; export declare const formatCurrencyUnitFragment: (unit: Unit, value: BigNumber, options?: formatCurrencyUnitOptions) => FormatterValue; export declare const formatCurrencyUnit: (unit: Unit, value: BigNumber, options?: formatCurrencyUnitOptions) => string; export {}; //# sourceMappingURL=formatCurrencyUnit.d.ts.map