/// import { PortfolioElement } from '@sonarwatch/portfolio-core'; import { Obligation } from './structs'; import { ParsedAccount } from '../../utils/solana'; import { MarketInfo, ReserveInfo } from './types'; import { Cache } from '../../Cache'; export declare const upperFirst: (string: string) => string; export declare function getObligationSeed(marketAddress: string, accountId: number): string; export declare const parseDataflat: (dataFlat: Buffer, depositsLen: number, borrowsLen: number) => { deposits: import("./structs").ObligationCollateral[]; depositsMap: Map; borrows: import("./structs").ObligationLiquidity[]; borrowsMap: Map; }; export declare function getElementsFromObligations(obligations: ParsedAccount[], reserveByAddress: Map, marketByAddress: Map, owner: string, cache: Cache): Promise;