import { mn as IndexerSpotBalance, tn as IndexerPerpBalance } from "./clientTypes-Cu3A5QOU.js"; import BigNumber from "bignumber.js"; //#region src/utils/indexerBalanceValue.d.ts /** * Most of these calculations take oraclePrice as a separate parameter. This allows us to not rely on the Snapshot * interfaces to give clients the optionality to pass either the pre or post balance */ /** * Calculates the quote value of an indexer spot balance * * @param balance * @param oraclePrice */ declare function calcIndexerSpotBalanceValue(balance: IndexerSpotBalance, oraclePrice: BigNumber): BigNumber; /** * Calculates the notional value of an indexer perp balance * * @param balance * @param oraclePrice */ declare function calcIndexerPerpBalanceNotionalValue(balance: IndexerPerpBalance, oraclePrice: BigNumber): BigNumber; /** * Calculates the true quote value of a indexer perp balance, which is the same as its unrealized pnl / unsettled quote * * @param balance * @param oraclePrice */ declare function calcIndexerPerpBalanceValue(balance: IndexerPerpBalance, oraclePrice: BigNumber): BigNumber; //#endregion export { calcIndexerPerpBalanceValue as n, calcIndexerSpotBalanceValue as r, calcIndexerPerpBalanceNotionalValue as t }; //# sourceMappingURL=indexerBalanceValue-Za1caHGW.d.ts.map