import { HardhatRuntimeEnvironment } from "hardhat/types/hre";
import type { HardhatEthers } from "@nomicfoundation/hardhat-ethers/types";
import { NetworkConnection } from "hardhat/types/network";
import type { MigrateConfig } from "../../../types/index.js";
export declare let ethersProvider: HardhatEthers | null;
export declare let connection: NetworkConnection<"generic"> | null;
export declare let migratorConfig: MigrateConfig | null;
export declare function createEthersProvider(hre: HardhatRuntimeEnvironment): Promise<void>;
/**
 * Used only in test environments to ensure test atomicity
 */
export declare function resetEthersProvider(): void;
//# sourceMappingURL=EthersProvider.d.ts.map