import { BigNumber } from 'ethers'; import { Morpho } from './contracts'; import { MorphoInterface } from './contracts/Morpho'; import * as common from '@protocolink/common'; export declare class Service extends common.Web3Toolkit { VIRTUAL_SHARES: number; VIRTUAL_ASSETS: number; private _morpho?; get morpho(): Morpho; private _morphoIface?; get morphoIface(): MorphoInterface; getLoanToken(marketId: string): Promise; getCollateralToken(marketId: string): Promise; getSupplyBalance(marketId: string, account: string): Promise; getCollateralBalance(marketId: string, account: string): Promise; getBorrowBalance(marketId: string, account: string, loanToken?: common.Token): Promise; getBorrowShares(marketId: string, account: string): Promise; isAuthorized(owner: string, manager: string): Promise; buildAuthorizeTransactionRequest(manager: string, newIsAuthorized: boolean): common.TransactionRequest; toSharedDown(assets: BigNumber, totalAssets: BigNumber, totalShares: BigNumber): BigNumber; toAssetsDown(shares: BigNumber, totalAssets: BigNumber, totalShares: BigNumber): BigNumber; toAssetsUp(shares: BigNumber, totalAssets: BigNumber, totalShares: BigNumber): BigNumber; mulDivDown(x: BigNumber, y: BigNumber, d: BigNumber): BigNumber; mulDivUp(x: BigNumber, y: BigNumber, d: BigNumber): BigNumber; }