import type { GetMorphoPositionsArgs } from "./schemas.js"; import type { SupportedChain, TokenAmount } from "../../types/index.js"; /** * A Morpho Blue position in a single (loanToken, collateralToken, oracle, irm, lltv) market. * Shares are converted to assets using the market's live totalSupplyAssets / totalSupplyShares ratio * (and likewise for borrow), which is an accurate snapshot at block-time. */ export interface MorphoPosition { protocol: "morpho-blue"; chain: SupportedChain; marketId: `0x${string}`; loanToken: `0x${string}`; collateralToken: `0x${string}`; lltv: string; supplied: TokenAmount | null; borrowed: TokenAmount | null; collateral: TokenAmount | null; totalCollateralUsd: number; totalDebtUsd: number; totalSuppliedUsd: number; netValueUsd: number; } export declare function getMorphoPositions(args: GetMorphoPositionsArgs): Promise<{ wallet: `0x${string}`; positions: MorphoPosition[]; }>;