import { Provider, Contract as Contract$1, ContractFactory as ContractFactory$1 } from 'ethersV6'; import { providers, Contract, ContractFactory } from 'ethers'; type ProviderV5 = providers.Provider; declare const isV6EthersProvider: (provider: any) => boolean; declare const getEthersContractFromProvider: (provider: ProviderV5 | Provider) => typeof Contract | typeof Contract$1; declare const getEthersContractFactoryFromProvider: (provider: ProviderV5 | Provider) => typeof ContractFactory | typeof ContractFactory$1; export { getEthersContractFactoryFromProvider, getEthersContractFromProvider, isV6EthersProvider };