import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common"; export interface OwnerManagerInterface extends Interface { getFunction(nameOrSignature: "addOwnerWithThreshold" | "changeThreshold" | "getOwners" | "getThreshold" | "isOwner" | "removeOwner" | "swapOwner"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "AddedOwner" | "ChangedThreshold" | "RemovedOwner"): EventFragment; encodeFunctionData(functionFragment: "addOwnerWithThreshold", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "changeThreshold", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "getOwners", values?: undefined): string; encodeFunctionData(functionFragment: "getThreshold", values?: undefined): string; encodeFunctionData(functionFragment: "isOwner", values: [AddressLike]): string; encodeFunctionData(functionFragment: "removeOwner", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "swapOwner", values: [AddressLike, AddressLike, AddressLike]): string; decodeFunctionResult(functionFragment: "addOwnerWithThreshold", data: BytesLike): Result; decodeFunctionResult(functionFragment: "changeThreshold", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getOwners", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getThreshold", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "removeOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "swapOwner", data: BytesLike): Result; } export declare namespace AddedOwnerEvent { type InputTuple = [owner: AddressLike]; type OutputTuple = [owner: string]; interface OutputObject { owner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ChangedThresholdEvent { type InputTuple = [threshold: BigNumberish]; type OutputTuple = [threshold: bigint]; interface OutputObject { threshold: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RemovedOwnerEvent { type InputTuple = [owner: AddressLike]; type OutputTuple = [owner: string]; interface OutputObject { owner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface OwnerManager extends BaseContract { connect(runner?: ContractRunner | null): OwnerManager; waitForDeployment(): Promise; interface: OwnerManagerInterface; 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; addOwnerWithThreshold: TypedContractMethod<[ owner: AddressLike, _threshold: BigNumberish ], [ void ], "nonpayable">; changeThreshold: TypedContractMethod<[ _threshold: BigNumberish ], [ void ], "nonpayable">; getOwners: TypedContractMethod<[], [string[]], "view">; getThreshold: TypedContractMethod<[], [bigint], "view">; isOwner: TypedContractMethod<[owner: AddressLike], [boolean], "view">; removeOwner: TypedContractMethod<[ prevOwner: AddressLike, owner: AddressLike, _threshold: BigNumberish ], [ void ], "nonpayable">; swapOwner: TypedContractMethod<[ prevOwner: AddressLike, oldOwner: AddressLike, newOwner: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "addOwnerWithThreshold"): TypedContractMethod<[ owner: AddressLike, _threshold: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "changeThreshold"): TypedContractMethod<[_threshold: BigNumberish], [void], "nonpayable">; getFunction(nameOrSignature: "getOwners"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "getThreshold"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "isOwner"): TypedContractMethod<[owner: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "removeOwner"): TypedContractMethod<[ prevOwner: AddressLike, owner: AddressLike, _threshold: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "swapOwner"): TypedContractMethod<[ prevOwner: AddressLike, oldOwner: AddressLike, newOwner: AddressLike ], [ void ], "nonpayable">; getEvent(key: "AddedOwner"): TypedContractEvent; getEvent(key: "ChangedThreshold"): TypedContractEvent; getEvent(key: "RemovedOwner"): TypedContractEvent; filters: { "AddedOwner(address)": TypedContractEvent; AddedOwner: TypedContractEvent; "ChangedThreshold(uint256)": TypedContractEvent; ChangedThreshold: TypedContractEvent; "RemovedOwner(address)": TypedContractEvent; RemovedOwner: TypedContractEvent; }; }