import { AugustBase, IAugustBase } from '../../core'; import { IAddress } from '../../types'; export declare class AugustSubAccounts extends AugustBase { private headers; constructor(baseConfig: IAugustBase); getSubaccountHealthFactor(subaccountAddress: IAddress): Promise<{ id: `0x${string}`; dateTime: string; healthFactor: number; totalCollateral: number; totalLoan: number; }>; getSubaccountLoans(subaccountAddress: IAddress, side: 'BOTH' | 'LENDER' | 'BORROWER', active: boolean): Promise; getSubaccountCefiPositions(subaccountAddress: IAddress): Promise; getSubaccountOtcPositions(subaccountAddress: IAddress): Promise; getSubaccountSummary(subaccountAddress: IAddress): Promise<{ address: `0x${string}`; name: string; type: "eoa" | "subaccount"; portfolio: { tokens: { value: number; balance: number; token: { type: string; name: string; address: string; chain: number; symbol: string; decimals: number; imgUrl: string; }; }[]; marginBalances: unknown[]; collateralBalances: unknown[]; cefiPositions: unknown[]; defiPositions: unknown[]; trsPositions: unknown[]; strategyContractPositions: unknown[]; legacyHedgerPositions: unknown[]; otcPositions: unknown[]; totalValue: number; discountedValue: number; }; loanbook: { loans: { subaccountAddress: `0x${string}`; book: { address: `0x${string}`; lender: `0x${string}`; borrower: `0x${string}`; state: string; totalRepaid: number; principalToken: { type: string; name: string; address: string; chain: number; symbol: string; decimals: number; imgUrl: string; tokenType: number; discountFactor: number; price: number; }; principalAmount: number; interestAmount: number; upcomingPayment: { amount: number; dueDate: string; }; apr: number; initialPrincipalAmount: number; deployedDate: string; paymentInterval: number; totalInterestPaymentFees: number; }; isBorrow: boolean; debtInfo: { interestOwed: number; principalDebtOwed: number; interestRepaid: number; }; creditInfo: { netInterestOwed: number; principalDebtOwed: number; netInterestRepaid: number; }; }[]; totalDebt: number; totalCredit: number; aggregatesByToken: unknown[]; }; chains: { name: string; chainId: number; }[]; tokens: { type: string; name: string; address: string; chain: number; symbol: string; decimals: number; imgUrl: string; price: number; rawBalance: number; balance: number; value: number; }[]; totalAccountValue: number; totalCollateralValue: number; totalLoanValue: number; healthFactor: number; netAccountValue: number; totalEquityValue: number; }>; }