import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common"; export interface DeployerInterface extends Interface { getFunction(nameOrSignature: "deploy" | "deployer"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Deployed"): EventFragment; encodeFunctionData(functionFragment: "deploy", values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "deployer", values?: undefined): string; decodeFunctionResult(functionFragment: "deploy", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deployer", data: BytesLike): Result; } export declare namespace DeployedEvent { type InputTuple = [sender: AddressLike, addr: AddressLike]; type OutputTuple = [sender: string, addr: string]; interface OutputObject { sender: string; addr: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface Deployer extends BaseContract { connect(runner?: ContractRunner | null): Deployer; waitForDeployment(): Promise; interface: DeployerInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; deploy: TypedContractMethod<[ _initCode: BytesLike, _salt: BytesLike ], [ void ], "nonpayable">; deployer: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "deploy"): TypedContractMethod<[ _initCode: BytesLike, _salt: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "deployer"): TypedContractMethod<[], [string], "view">; getEvent(key: "Deployed"): TypedContractEvent; filters: { "Deployed(address,address)": TypedContractEvent; Deployed: TypedContractEvent; }; }