import '@nomicfoundation/hardhat-ethers'; import './type-extensions'; import { type silenceWarnings } from '@openzeppelin/upgrades-core'; import type { DeployFunction } from './deploy-proxy'; import type { PrepareUpgradeFunction } from './prepare-upgrade'; import type { UpgradeFunction } from './upgrade-proxy'; import type { DeployBeaconFunction } from './deploy-beacon'; import type { DeployBeaconProxyFunction } from './deploy-beacon-proxy'; import type { UpgradeBeaconFunction } from './upgrade-beacon'; import type { ForceImportFunction } from './force-import'; import type { ChangeAdminFunction, TransferProxyAdminOwnershipFunction } from './admin'; import type { ValidateImplementationFunction } from './validate-implementation'; import type { ValidateUpgradeFunction } from './validate-upgrade'; import type { DeployImplementationFunction } from './deploy-implementation'; import type { DeployContractFunction } from './deploy-contract'; import type { ProposeUpgradeWithApprovalFunction } from './defender/propose-upgrade-with-approval'; import type { GetDeployApprovalProcessFunction, GetUpgradeApprovalProcessFunction } from './defender/get-approval-process'; export interface HardhatUpgrades { deployProxy: DeployFunction; upgradeProxy: UpgradeFunction; validateImplementation: ValidateImplementationFunction; validateUpgrade: ValidateUpgradeFunction; deployImplementation: DeployImplementationFunction; prepareUpgrade: PrepareUpgradeFunction; deployBeacon: DeployBeaconFunction; deployBeaconProxy: DeployBeaconProxyFunction; upgradeBeacon: UpgradeBeaconFunction; forceImport: ForceImportFunction; silenceWarnings: typeof silenceWarnings; admin: { changeProxyAdmin: ChangeAdminFunction; transferProxyAdminOwnership: TransferProxyAdminOwnershipFunction; }; erc1967: { getAdminAddress: (proxyAdress: string) => Promise; getImplementationAddress: (proxyAdress: string) => Promise; getBeaconAddress: (proxyAdress: string) => Promise; }; beacon: { getImplementationAddress: (beaconAddress: string) => Promise; }; } export interface DefenderHardhatUpgrades extends HardhatUpgrades { deployContract: DeployContractFunction; proposeUpgradeWithApproval: ProposeUpgradeWithApprovalFunction; getDeployApprovalProcess: GetDeployApprovalProcessFunction; getUpgradeApprovalProcess: GetUpgradeApprovalProcessFunction; /** * @deprecated Use `getUpgradeApprovalProcess` instead. */ getDefaultApprovalProcess: GetUpgradeApprovalProcessFunction; } export { UpgradeOptions } from './utils/options'; //# sourceMappingURL=index.d.ts.map