import { providers, ContractFactory, Signer, Wallet, Contract } from 'ethers'; import { ContractJSON } from './ContractJSON'; declare type Newable = { new (...args: any): T; }; declare type ContractFactoryOrJSON = Newable | ContractJSON; declare type ContractTypeOf = T extends Newable ? (U extends ContractFactory ? ReturnType : never) : Contract; declare type DeployArgumentsOf = T extends Newable ? (U extends ContractFactory ? Parameters : never) : any[]; export declare function deployContract(wallet: Wallet | Signer, factoryOrContractJson: T, args?: DeployArgumentsOf, overrideOptions?: providers.TransactionRequest): Promise>; export {}; //# sourceMappingURL=deployContract.d.ts.map