import { BigNumber } from "bignumber.js"; import type { Unit } from "@ledgerhq/types-cryptoassets"; import { type FormatterValue } from "./formatCurrencyUnit"; /** Format a fiat price expressed in the unit's smallest atom. */ export declare function formatPrice(unit: Unit, value: BigNumber, opts?: { showCode?: boolean; locale?: string; discreet?: boolean; }): string; /** Fragment formatter for AmountDisplay (splits integer / decimal / code parts). */ export declare function formatPriceFragment(unit: Unit, fiatAmount: number, locale: string): FormatterValue; /** Signed fiat variation with a `<` threshold marker for sub-resolution amounts. */ export declare function formatSignedFiatVariation(fiatAmount: number, unit: Unit, locale: string): string; /** Pre-round a numeric fiat price using the shared digit rule. */ export declare function roundFiatPrice(price: number): number; //# sourceMappingURL=priceFormat.d.ts.map