import { Chain } from 'viem/chains'; import { ChainId, VaultConfigResponse } from '../api/vault-config.js'; import '../vaults/config.js'; import 'viem'; /** * Gets a chain object from the vault config response * @param chainId The chain ID to look up * @param config Optional config object. If not provided, will fetch from API * @returns Promise */ declare function getChainFromConfig(chainId: ChainId, config?: VaultConfigResponse): Promise; /** * Clears the chains cache */ declare function clearChainsCache(): void; export { clearChainsCache, getChainFromConfig };