import { CCIPDataAdapterAbi } from "../constants/abi/ccip-data-adapter-abi.js"; import { ERC20Abi } from "../constants/abi/erc-20-abi.js"; import { USDtEthereumAbi } from "../constants/abi/usdt-eth-abi.js"; import { WormholeDataAdapterAbi } from "../constants/abi/wormhole-data-adapter-abi.js"; import { WormholeExecutorDataAdapterAbi } from "../constants/abi/wormhole-executor-data-adapter-abi.js"; import { IWormholeRelayerAbi } from "../constants/abi/wormhole-relayer-abi.js"; import type { EvmAddress, GenericAddress } from "../../../../common/types/address.js"; import type { GetReadContractReturnType } from "../types/contract.js"; import type { Client, GetContractReturnType, Hex, WalletClient } from "viem"; export declare function getERC20Contract(provider: Client, genericAddress: GenericAddress, signer: WalletClient): GetContractReturnType; export declare function sendERC20Approve(provider: Client, address: GenericAddress, signer: WalletClient, spender: EvmAddress, amount: bigint): Promise; export declare function getWormholeRelayerContract(provider: Client, address: GenericAddress): GetReadContractReturnType; export declare function getWormholeRelayerContract(provider: Client, address: GenericAddress, signer: WalletClient): GetContractReturnType; export declare function getWormholeDataAdapterContract(provider: Client, address: GenericAddress): GetReadContractReturnType; export declare function getCCIPDataAdapterContract(provider: Client, address: GenericAddress): GetReadContractReturnType; export declare function getWormholeExecutorDataAdapterContract(provider: Client, address: GenericAddress): GetReadContractReturnType; export declare function getWormholeExecutorDataAdapterContract(provider: Client, address: GenericAddress, signer: WalletClient): GetContractReturnType; export declare function extractRevertErrorName(err: unknown): string | undefined; export declare function encodeErc20AccountData(data: { isFrozen: boolean; amount: bigint; }): `0x${string}`; export declare function getBalanceOfSlotHash(address: EvmAddress, slot: bigint): `0x${string}`; export declare function getAllowanceSlotHash(owner: EvmAddress, spender: EvmAddress, slot: bigint): `0x${string}`; export declare function getWormholeGuardianSetIndexSlotHash(slot?: bigint): `0x${string}`; export declare function getWormholeGuardianSetSlotHash(guardiansSetIndex: bigint, slot?: bigint): `0x${string}`; export declare function getWormholeGuardiansLenSlotHash(guardiansSetIndex: bigint, slot?: bigint): `0x${string}`; export declare function getWormholeGuardianAddressSlotHash(guardianIndex: bigint, guardiansSetIndex: bigint, slot?: bigint): `0x${string}`;