import { Client } from 'viem'; import * as morphoVaultsOptions from './options'; import { EthAddress, EthereumProvider, NetworkNumber, MorphoVault, MorphoVaultType, SavingsVaultData } from '../../types'; export { morphoVaultsOptions, }; /** * Fetches liquidity for all given vaults, one API request per vault version (chunked if over the page cap), * returned as a map keyed by lowercased vault address. A vault missing from the API response is * absent from the map. */ export declare const fetchMorphoVaultsLiquidity: (network: NetworkNumber, vaults: MorphoVault[]) => Promise>; /** * Fetches data for all given vaults with a single Morpho API request for their liquidity, * instead of one request per vault. The on-chain reads run in parallel with the API request. * A vault whose on-chain reads fail or that is missing from the API response is left out of * the result; a failed API request rejects, leaving all vaults out. */ export declare const _getMorphoVaultsData: (provider: Client, network: NetworkNumber, vaults: MorphoVault[], accounts: EthAddress[]) => Promise>>; export declare function getMorphoVaultsData(provider: EthereumProvider, network: NetworkNumber, vaults: MorphoVault[], accounts: EthAddress[]): Promise>>; export declare function getMorphoVaultData(provider: EthereumProvider, network: NetworkNumber, morphoVault: MorphoVault, accounts: EthAddress[]): Promise;