import type { Chain } from '../chains.js'; import type { Address, ChainContract } from '../types.js'; /** * Retrieves the contract associated with a given address from the specified chain. * * @param chain - The chain from which to retrieve the contract. * @param address - The address of the contract to retrieve. * @returns The contract associated with the given address. * @throws {@link ChainDoesNotSupportContract} If the chain does not support the contract. * * @example * ```typescript * getChainContractByAddress(ETH_SEPOLIA, '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238') * // => { address: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238' } * ``` */ export declare function getChainContractByAddress(chain: Chain, address: Address): ChainContract;