import type * as ethers from "ethers"; import type { SignerWithAddress } from "../signers"; import { Artifact } from "hardhat/types"; export interface Libraries { [libraryName: string]: string; } export interface FactoryOptions { signer?: ethers.Signer; libraries?: Libraries; } export declare function getContractFactory( name: string, signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; export declare function getContractFactory( abi: any[], bytecode: ethers.utils.BytesLike, signer?: ethers.Signer ): Promise; export declare function deployContract( name: string, signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; export declare function deployContract( name: string, args: any[], signerOrOptions?: ethers.Signer | FactoryOptions ): Promise; export interface HardhatEthersHelpers { provider: ethers.providers.JsonRpcProvider; getContractFactory: typeof getContractFactory; getContractFactoryFromArtifact: ( artifact: Artifact, signerOrOptions?: ethers.Signer | FactoryOptions ) => Promise; getContractAt: ( nameOrAbi: string | any[], address: string, signer?: ethers.Signer ) => Promise; getContractAtFromArtifact: ( artifact: Artifact, address: string, signer?: ethers.Signer ) => Promise; getSigner: (address: string) => Promise; getSigners: () => Promise; getImpersonatedSigner: (address: string) => Promise; deployContract: typeof deployContract; }