import { Address } from 'viem'; import { ChainId } from './vault-config.js'; import 'viem/chains'; import '../vaults/config.js'; interface GetErc20BalanceParams { chainId: ChainId; tokenAddress: Address; userAddress: Address; } declare const getErc20Balance: ({ chainId, tokenAddress, userAddress, }: GetErc20BalanceParams) => Promise; interface GetErc20DecimalsParams { chainId: ChainId; tokenAddress: Address; } declare const getErc20Decimals: ({ chainId, tokenAddress, }: GetErc20DecimalsParams) => Promise; interface GetErc20AllowanceParams { chainId: ChainId; tokenAddress: Address; userAddress: Address; spenderAddress: Address; } declare const getErc20Allowance: ({ chainId, tokenAddress, userAddress, spenderAddress, }: GetErc20AllowanceParams) => Promise; declare const getErc20AllowanceWithDecimals: ({ chainId, tokenAddress, userAddress, spenderAddress, }: GetErc20AllowanceParams) => Promise<[{ error: Error; result?: undefined; status: "failure"; } | { error?: undefined; result: bigint; status: "success"; }, { error?: undefined; result: number; status: "success"; } | { error: Error; result?: undefined; status: "failure"; }]>; export { getErc20Allowance, getErc20AllowanceWithDecimals, getErc20Balance, getErc20Decimals };