import { ethers } from 'ethers'; type ProviderV5 = ethers.providers.Provider; type ProviderV6 = ethers.Provider; type JsonRpcProviderV5 = ethers.providers.JsonRpcProvider; type JsonRpcProviderV6 = ethers.JsonRpcProvider; export type Provider = ProviderV6 extends undefined ? ProviderV5 : ProviderV6; export type JsonRpcProvider = JsonRpcProviderV6 extends undefined ? JsonRpcProviderV5 : JsonRpcProviderV6; export declare const getJsonRpcProvider: (providerUrl?: string, chainId?: number) => JsonRpcProvider; export declare const namehash: (name: string) => string; export declare const getAddress: (address: string) => string; export {}; //# sourceMappingURL=ethersCompat.d.ts.map