import { BigNumberValue } from '../../bignumber'; import { UserIncentiveDict } from '../incentive'; import { ReservesIncentiveDataHumanized, UserReservesIncentivesDataHumanized } from '../incentive/types'; import { FormatReserveUSDResponse } from '../reserve'; export interface UserReserveData { underlyingAsset: string; collaterizedBalance: string; scaledXTokenBalance: string; usageAsCollateralEnabledOnUser: boolean; stableBorrowRate: string; scaledVariableDebt: string; principalStableDebt: string; stableBorrowLastUpdateTimestamp: number; } export interface CombinedReserveData extends UserReserveData { reserve: T; } export interface ComputedUserReserve extends CombinedReserveData { underlyingBalance: string; underlyingBalanceMarketReferenceCurrency: string; underlyingBalanceUSD: string; variableBorrows: string; variableBorrowsMarketReferenceCurrency: string; variableBorrowsUSD: string; stableBorrows: string; stableBorrowsMarketReferenceCurrency: string; stableBorrowsUSD: string; totalBorrows: string; totalBorrowsMarketReferenceCurrency: string; totalBorrowsUSD: string; stableBorrowAPY: string; stableBorrowAPR: string; } export interface FormatUserSummaryRequest { userReserves: UserReserveData[]; formattedReserves: T[]; marketReferencePriceInUsd: BigNumberValue; marketReferenceCurrencyDecimals: number; currentTimestamp: number; userEmodeCategoryId: number; } export interface FormatUserSummaryResponse { userReservesData: Array>; totalLiquidityMarketReferenceCurrency: string; totalLiquidityUSD: string; totalCollateralMarketReferenceCurrency: string; totalCollateralUSD: string; totalBorrowsMarketReferenceCurrency: string; totalBorrowsUSD: string; netWorthUSD: string; availableBorrowsMarketReferenceCurrency: string; availableBorrowsUSD: string; currentLoanToValue: string; currentLiquidationThreshold: string; healthFactor: string; isInIsolationMode: boolean; isolatedReserve?: FormatReserveUSDResponse; } export interface FormatUserSummaryAndIncentivesRequest extends FormatUserSummaryRequest { reserveIncentives: ReservesIncentiveDataHumanized[]; userIncentives: UserReservesIncentivesDataHumanized[]; } export interface FormatUserSummaryAndIncentivesResponse extends FormatUserSummaryResponse { calculatedUserIncentives: UserIncentiveDict; } export declare function formatUserSummary({ currentTimestamp, marketReferencePriceInUsd, marketReferenceCurrencyDecimals, userReserves, formattedReserves, userEmodeCategoryId, }: FormatUserSummaryRequest): FormatUserSummaryResponse; export declare function formatUserSummaryAndIncentives({ currentTimestamp, marketReferencePriceInUsd, marketReferenceCurrencyDecimals, userReserves, formattedReserves, userEmodeCategoryId, reserveIncentives, userIncentives, }: FormatUserSummaryAndIncentivesRequest): FormatUserSummaryAndIncentivesResponse; //# sourceMappingURL=index.d.ts.map