export interface TraderPayoutResult { /** The total payout of the trader */ payout: bigint; /** The profit of the trader */ profit: bigint; /** The amount of collateral lost by the trader */ collateralLost: bigint; } /** * Calculates the trader's payout for a leveraged position. * @param entryPrice The entry price of the position. * @param currentPrice The current token price. * @param eCollateral The effective collateral of the position. * @param positionSize The effective size of the trader (position size - position fee). * @param eLeverage The effective leverage of the position in 6 decimals precision. * @returns Object containing payout, profit, and collateralLost */ export declare function calculateTraderPayout(entryPrice: bigint, currentPrice: bigint, eCollateral: bigint, positionSize: bigint, eLeverage: bigint): TraderPayoutResult;