import type { LendingMode, LenderYields, BalanceData, AprData, LoopPostTradeMetrics } from '../types';
/**
 * Compute post-trade balance & APR metrics for closing a leveraged position.
 *
 * Withdraws `dollarIn` of collateral and repays `dollarOut` of debt.
 */
export declare function computeCloseTradeDeltas(dollarIn: number, dollarOut: number, targetMode: LendingMode, yieldParamsIn: LenderYields, yieldParamsOut: LenderYields, balance: BalanceData, apr: AprData, bfOut: number, ltvIn: number, collateralLtvIn: number): LoopPostTradeMetrics;
//# sourceMappingURL=computeCloseDeltas.d.ts.map