import 'hardhat/types/hre';
import type { HardhatUpgrades, DefenderHardhatUpgrades } from './types.js';
import type { ContractFactory } from 'ethers';
export type * from '@nomicfoundation/hardhat-ethers';
export type { HardhatDefenderConfig, NamespacedCompileErrorsRule } from './type-extensions-config.js';
export type ContractTypeOfFactory<F extends ContractFactory> = ReturnType<F['attach']> & ReturnType<F['deploy']>;
declare module 'hardhat/types/hre' {
    interface HardhatRuntimeEnvironment {
        upgrades: HardhatUpgrades;
        defender: DefenderHardhatUpgrades;
        _upgrades?: HardhatUpgrades;
        _defender?: DefenderHardhatUpgrades;
    }
}
export {};
//# sourceMappingURL=type-extensions.d.ts.map