import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { Signer } from 'ethers'; export interface WithSignerCommandParams { hre: HardhatRuntimeEnvironment; privateKey?: string; signerAddress?: string; signerPosition?: number; } export interface WithSignerConstructorParams { signer: Signer; address: string; privateKey?: string; } export default class WithSignerCommand { readonly signer: Signer; readonly address: string; readonly privateKey?: string; protected constructor({ signer, address, privateKey }: WithSignerConstructorParams); static newInstance(args: WithSignerCommandParams): Promise; }