import { BigDecimal } from '@nadohq/utils'; import { SpotBalanceWithProduct, PerpBalanceWithProduct } from '../common/types/balanceTypes.js'; import '../common/types/healthTypes.js'; import '../common/types/productTypes.js'; /** * Calculates the quote value of a spot balance, in terms of quote units * * @param balanceWithProduct */ declare function calcSpotBalanceValue(balanceWithProduct: SpotBalanceWithProduct): BigDecimal; /** * Calculates the notional value of a perp balance, in terms of quote units * * @param balanceWithProduct */ declare function calcPerpBalanceNotionalValue(balanceWithProduct: PerpBalanceWithProduct): BigDecimal; /** * Calculates the true quote value of a perp balance, which is the same as its unrealized pnl / unsettled quote, in terms of quote units * * @param balanceWithProduct */ declare function calcPerpBalanceValue(balanceWithProduct: PerpBalanceWithProduct): BigDecimal; export { calcPerpBalanceNotionalValue, calcPerpBalanceValue, calcSpotBalanceValue };