import { MonetaryAmount } from "@interlay/monetary-js";
import Big from "big.js";
import { CurrencyExt } from "./currency";
interface LoanPosition {
    currency: CurrencyExt;
    amount: MonetaryAmount<CurrencyExt>;
    earnedReward: MonetaryAmount<CurrencyExt> | null;
}
interface LendPosition extends LoanPosition {
    isCollateral: boolean;
    earnedInterest: MonetaryAmount<CurrencyExt>;
}
interface BorrowPosition extends LoanPosition {
    accumulatedDebt: MonetaryAmount<CurrencyExt>;
}
interface LoanAsset {
    currency: CurrencyExt;
    lendApy: Big;
    borrowApy: Big;
    lendReward: MonetaryAmount<CurrencyExt> | null;
    borrowReward: MonetaryAmount<CurrencyExt> | null;
    totalLiquidity: MonetaryAmount<CurrencyExt>;
    availableCapacity: MonetaryAmount<CurrencyExt>;
    liquidationThreshold: Big;
    collateralThreshold: Big;
    isActive: boolean;
}
declare type TickerToData<T> = {
    [ticker: string]: T;
};
interface LoanMarket {
    lendTokenId: number;
}
export type { LoanPosition, LendPosition, BorrowPosition, LoanAsset, TickerToData, LoanMarket };
