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 NativeMetaTransactionInterface extends Interface { getFunction(nameOrSignature: "ERC712_VERSION" | "executeMetaTransaction" | "getChainId" | "getNonce" | "name"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "MetaTransactionExecuted" | "Unpaused"): EventFragment; encodeFunctionData(functionFragment: "ERC712_VERSION", values?: undefined): string; encodeFunctionData(functionFragment: "executeMetaTransaction", values: [AddressLike, BytesLike, BytesLike, BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "getChainId", values?: undefined): string; encodeFunctionData(functionFragment: "getNonce", values: [AddressLike]): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; decodeFunctionResult(functionFragment: "ERC712_VERSION", data: BytesLike): Result; decodeFunctionResult(functionFragment: "executeMetaTransaction", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getChainId", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getNonce", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; } export declare namespace MetaTransactionExecutedEvent { type InputTuple = [ userAddress: AddressLike, relayerAddress: AddressLike, functionSignature: BytesLike ]; type OutputTuple = [ userAddress: string, relayerAddress: string, functionSignature: string ]; interface OutputObject { userAddress: string; relayerAddress: string; functionSignature: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UnpausedEvent { type InputTuple = [account: AddressLike]; type OutputTuple = [account: string]; interface OutputObject { account: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface NativeMetaTransaction extends BaseContract { connect(runner?: ContractRunner | null): NativeMetaTransaction; waitForDeployment(): Promise; interface: NativeMetaTransactionInterface; 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; ERC712_VERSION: TypedContractMethod<[], [string], "view">; executeMetaTransaction: TypedContractMethod<[ userAddress: AddressLike, functionSignature: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish ], [ string ], "payable">; getChainId: TypedContractMethod<[], [bigint], "view">; getNonce: TypedContractMethod<[user: AddressLike], [bigint], "view">; name: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "ERC712_VERSION"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "executeMetaTransaction"): TypedContractMethod<[ userAddress: AddressLike, functionSignature: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish ], [ string ], "payable">; getFunction(nameOrSignature: "getChainId"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getNonce"): TypedContractMethod<[user: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">; getEvent(key: "MetaTransactionExecuted"): TypedContractEvent; getEvent(key: "Unpaused"): TypedContractEvent; filters: { "MetaTransactionExecuted(address,address,bytes)": TypedContractEvent; MetaTransactionExecuted: TypedContractEvent; "Unpaused(address)": TypedContractEvent; Unpaused: TypedContractEvent; }; } //# sourceMappingURL=NativeMetaTransaction.d.ts.map