import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common"; export interface TestStorageInterface extends Interface { getFunction(nameOrSignature: "balances" | "getValueAndBalance" | "multipleOperations" | "readAndWrite" | "setBalance" | "setValue" | "value"): FunctionFragment; encodeFunctionData(functionFragment: "balances", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getValueAndBalance", values: [AddressLike]): string; encodeFunctionData(functionFragment: "multipleOperations", values?: undefined): string; encodeFunctionData(functionFragment: "readAndWrite", values?: undefined): string; encodeFunctionData(functionFragment: "setBalance", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "setValue", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "value", values?: undefined): string; decodeFunctionResult(functionFragment: "balances", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getValueAndBalance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "multipleOperations", data: BytesLike): Result; decodeFunctionResult(functionFragment: "readAndWrite", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setBalance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setValue", data: BytesLike): Result; decodeFunctionResult(functionFragment: "value", data: BytesLike): Result; } export interface TestStorage extends BaseContract { connect(runner?: ContractRunner | null): TestStorage; waitForDeployment(): Promise; interface: TestStorageInterface; 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; balances: TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getValueAndBalance: TypedContractMethod<[ user: AddressLike ], [ [bigint, bigint] ], "view">; multipleOperations: TypedContractMethod<[], [void], "nonpayable">; readAndWrite: TypedContractMethod<[], [void], "nonpayable">; setBalance: TypedContractMethod<[ user: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; setValue: TypedContractMethod<[_value: BigNumberish], [void], "nonpayable">; value: TypedContractMethod<[], [bigint], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "balances"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getValueAndBalance"): TypedContractMethod<[user: AddressLike], [[bigint, bigint]], "view">; getFunction(nameOrSignature: "multipleOperations"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "readAndWrite"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setBalance"): TypedContractMethod<[ user: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setValue"): TypedContractMethod<[_value: BigNumberish], [void], "nonpayable">; getFunction(nameOrSignature: "value"): TypedContractMethod<[], [bigint], "view">; filters: {}; } //# sourceMappingURL=TestStorage.d.ts.map