import BigNumber from "bignumber.js"; import { Instrument } from "../interfaces"; import { InstrumentAmount } from "./instrumentAmount"; import { AssetId } from "../interfaces"; export type UsdAmount = BigNumber; export type PicoUsdAmount = bigint; export type MiliUsdAmount = bigint; export declare const PICO_USD_EXPONENT = 12; export declare class UsdPrice { readonly price: BigNumber; constructor(price: BigNumber); static fromOraclePrice(priceExp: number, rawPrice: bigint): UsdPrice; toUSD(amount: InstrumentAmount): UsdAmount; toScaledPrice(instrument: Instrument): PicoUsdAmount; } export declare function fromBigIntAndExponent(value: bigint, exp: number): BigNumber; export declare function toUSDAmount(picoUsdAmount: PicoUsdAmount): UsdAmount; export declare function toBigIntAndExponent(usdAmount: UsdAmount): [bigint, number]; export type UsdPrices = Map; export declare const ZERO_PRICE: UsdPrice; //# sourceMappingURL=usdPrice.d.ts.map