import { type IFetchAugustOptions } from '../../core'; import type { IAddress, ILoanBookInfo, IOTCPosition, ISubaccountDebank, ISubaccountTransaction, IWSSubaccountCefi, IWSSubAccountHealthFactor, IWSSubaccountListItem, IWSSubaccountLoan, IWSSubaccountSummary } from '../../types'; /** * Fetch one page of the subaccount directory (admin-only backend endpoint) */ export declare const fetchAllSubaccounts: (pagination: { offset?: number; limit?: number; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch a subaccount's transaction history (authenticated `GET * /transactions/v2`), optionally windowed by ISO-8601 start/end datetimes. */ export declare const fetchSubaccountTransactions: (payload: { address: IAddress; startTime?: string; endTime?: string; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch a single loan's loan-book detail by loan address + chain * (admin-only `GET /subaccount/loans/{loan_address}`). */ export declare const fetchSubaccountLoanByAddress: (loanAddress: string, chainId: number, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch cross-chain DeBank positions for a subaccount (`GET * /subaccount/{subaccount_address}/debank`). Slow endpoint (300-second * server-side cache) — it fans out across every supported chain. */ export declare const fetchSubaccountDebank: (address: IAddress, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch subaccount health factor for a given subaccount address */ export declare const fetchSubaccountHeathFactor: (address: IAddress, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch subaccount loans details */ export declare const fetchSubaccountLoans: (payload: { address: IAddress; side?: "BOTH" | "BORROWER" | "LENDER"; active?: boolean; }, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch the subaccount CeFi positions */ export declare const fetchSubaccountCefiPositions: (address: IAddress, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch the subaccount OTC positions */ export declare const fetchSubaccountOtcPositions: (address: IAddress, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise; /** * Fetch the subaccount summary view */ export declare const fetchSubaccountSummary: (address: IAddress, augustKey: string, headers?: IFetchAugustOptions["headers"]) => Promise;