import BigNumber from 'bignumber.js'; import { FormattedLendingPool } from './types'; import { ParsedAccount } from '../../utils/solana'; import { LendingPool, SolayerPool, MarginPool } from './structs'; export declare const getSupplyNoteRate: (marginPool: MarginPool) => BigNumber; export declare const getBorrowNoteRate: (marginPool: MarginPool) => BigNumber; export declare const formatLendingPool: (t: LendingPool, decimals: number) => FormattedLendingPool; export declare const getLendingAccounts: (lendingPools: ParsedAccount[], owner: string) => Promise<(ParsedAccount | null)[]>; export declare const getFragmetricLendingAccounts: (owner: string) => Promise[]>; export declare const getVSolPositionAccounts: (lendingPools: ParsedAccount[], owner: string) => Promise<(ParsedAccount | null)[]>; export declare const getSolayerUserAccounts: (solayerPools: ParsedAccount[], owner: string) => Promise<(ParsedAccount | null)[]>; export declare const getMarginAccount: (owner: string) => Promise | null>; export declare const getMarginPools: (mints: Set) => Promise<(ParsedAccount | null)[]>;