import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common"; export declare namespace InitCode { type ConfigStruct = { safeModuleSetup: AddressLike; erc4337module: AddressLike; safeSingleton: AddressLike; proxyFactory: AddressLike; }; type ConfigStructOutput = [ safeModuleSetup: string, erc4337module: string, safeSingleton: string, proxyFactory: string ] & { safeModuleSetup: string; erc4337module: string; safeSingleton: string; proxyFactory: string; }; } export interface InitCodeInterface extends Interface { getFunction(nameOrSignature: "SAFE_4337_MODULE_ADDRESS" | "SAFE_MODULE_SETUP_ADDRESS" | "SAFE_PROXY_FACTORY_ADDRESS" | "SAFE_SINGLETON_ADDRESS" | "getInitCode"): FunctionFragment; encodeFunctionData(functionFragment: "SAFE_4337_MODULE_ADDRESS", values?: undefined): string; encodeFunctionData(functionFragment: "SAFE_MODULE_SETUP_ADDRESS", values?: undefined): string; encodeFunctionData(functionFragment: "SAFE_PROXY_FACTORY_ADDRESS", values?: undefined): string; encodeFunctionData(functionFragment: "SAFE_SINGLETON_ADDRESS", values?: undefined): string; encodeFunctionData(functionFragment: "getInitCode", values: [AddressLike[], BigNumberish, BigNumberish]): string; decodeFunctionResult(functionFragment: "SAFE_4337_MODULE_ADDRESS", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SAFE_MODULE_SETUP_ADDRESS", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SAFE_PROXY_FACTORY_ADDRESS", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SAFE_SINGLETON_ADDRESS", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getInitCode", data: BytesLike): Result; } export interface InitCode extends BaseContract { connect(runner?: ContractRunner | null): InitCode; waitForDeployment(): Promise; interface: InitCodeInterface; 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; SAFE_4337_MODULE_ADDRESS: TypedContractMethod<[], [string], "view">; SAFE_MODULE_SETUP_ADDRESS: TypedContractMethod<[], [string], "view">; SAFE_PROXY_FACTORY_ADDRESS: TypedContractMethod<[], [string], "view">; SAFE_SINGLETON_ADDRESS: TypedContractMethod<[], [string], "view">; getInitCode: TypedContractMethod<[ owners: AddressLike[], threshold: BigNumberish, saltNonce: BigNumberish ], [ string ], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "SAFE_4337_MODULE_ADDRESS"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SAFE_MODULE_SETUP_ADDRESS"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SAFE_PROXY_FACTORY_ADDRESS"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SAFE_SINGLETON_ADDRESS"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "getInitCode"): TypedContractMethod<[ owners: AddressLike[], threshold: BigNumberish, saltNonce: BigNumberish ], [ string ], "view">; filters: {}; }