import { ChainId } from '../api/vault-config.js'; import { VaultKey } from '../vaults/config.js'; import 'viem/chains'; import 'viem'; interface GetDepositExchangeRateParams { vaultKey: VaultKey; sourceChainId: ChainId; depositTokenSymbol: string; minimumFractionDigits?: number; maximumFractionDigits?: number; } /** * Gets the deposit exchange rate for a vault (tokens per share) * @throws {Error} If the token address is not found or if there's an error fetching the rate * @returns Promise The exchange rate as a formatted string representing how many deposit tokens are worth 1 share */ declare const getDepositExchangeRate: ({ vaultKey, sourceChainId, depositTokenSymbol, minimumFractionDigits, maximumFractionDigits, }: GetDepositExchangeRateParams) => Promise; interface GetWithdrawExchangeRateParams { vaultKey: VaultKey; sourceChainId: ChainId; destinationChainId: ChainId; wantTokenSymbol: string; minimumFractionDigits?: number; maximumFractionDigits?: number; } /** * Gets the withdraw exchange rate for a vault (tokens per share) * @throws {Error} If the token address is not found or if there's an error fetching the rate * @returns Promise The exchange rate as a formatted string representing how many want tokens are worth 1 share */ declare const getWithdrawExchangeRate: ({ vaultKey, sourceChainId, destinationChainId, wantTokenSymbol, minimumFractionDigits, maximumFractionDigits, }: GetWithdrawExchangeRateParams) => Promise; export { getDepositExchangeRate, getWithdrawExchangeRate };