import type { LenderConfigData, LenderConfigMap } from '../../../types/lenderTypes';
import type { BalanceData, AprData } from '../../user-data/fetch-balances/types';
export type { BalanceData, AprData, LenderConfigData, LenderConfigMap };
export interface PostTradeMetrics {
    pre: {
        healthFactor: number;
        borrowCapacity: number;
    };
    post: {
        healthFactor: number;
        borrowCapacity: number;
        balanceData: BalanceData;
        aprData?: AprData;
    };
}
export declare const EMPTY_BALANCE: BalanceData;
export declare function getHealthFactor(collateral: number, adjustedDebt: number): number;
export declare function getBorrowCapacity(bd: BalanceData): number;
export declare function getAssetConfig(config: LenderConfigMap, modeId: string): LenderConfigData;
export declare function computePostTradeMetrics(balanceData: BalanceData, postTrade: BalanceData): PostTradeMetrics;
//# sourceMappingURL=utils.d.ts.map