import { Address } from 'viem'; import { ChainId } from './vault-config.js'; import 'viem/chains'; import '../vaults/config.js'; interface WithdrawAssetsResponse { [chainId: string]: { [vaultAddress: string]: { [tokenAddress: string]: number; }; }; } /** * Interface for optional parameters when fetching withdraw assets */ interface FetchWithdrawAssetsParams { chainId?: ChainId; vaultAddress?: Address; } /** * Fetches withdraw assets configuration from the API * @param params Optional parameters for chainId and vaultAddress * @returns Promise */ declare function fetchWithdrawAssets(params?: FetchWithdrawAssetsParams): Promise; /** * Fetches withdraw assets for a specific chain * @param chainId The chain ID to fetch assets for * @returns Promise */ declare function fetchChainWithdrawAssets(chainId: ChainId): Promise; /** * Fetches withdraw assets for a specific vault on a chain * @param chainId The chain ID * @param vaultAddress The vault address * @returns Promise */ declare function fetchVaultWithdrawAssets(chainId: ChainId, vaultAddress: Address): Promise; /** * Clears the assets cache */ declare function clearAssetsCache(): void; export { type FetchWithdrawAssetsParams, type WithdrawAssetsResponse, clearAssetsCache, fetchChainWithdrawAssets, fetchVaultWithdrawAssets, fetchWithdrawAssets };