import { providers, utils } from "ethers"; import { Bytes, Signer } from "ethers"; import { BaseAccountAPI } from "./base-api"; import type { ERC4337EthersProvider } from "./erc4337-provider"; import { HttpRpcClient } from "./http-rpc-client"; import { ProviderConfig, UserOpOptions } from "../types"; export declare class ERC4337EthersSigner extends Signer { config: ProviderConfig; originalSigner: Signer; erc4337provider: ERC4337EthersProvider; httpRpcClient: HttpRpcClient; smartAccountAPI: BaseAccountAPI; approving: boolean; constructor(config: ProviderConfig, originalSigner: Signer, erc4337provider: ERC4337EthersProvider, httpRpcClient: HttpRpcClient, smartAccountAPI: BaseAccountAPI); address?: string; sendTransaction(transaction: utils.Deferrable, options?: UserOpOptions): Promise; unwrapError(errorIn: any): Error; verifyAllNecessaryFields(transactionRequest: providers.TransactionRequest): Promise; connect(provider: providers.Provider): Signer; getAddress(): Promise; /** * Sign a message and return the signature */ signMessage(message: Bytes | string): Promise; signTransaction(transaction: utils.Deferrable, options?: UserOpOptions): Promise; } //# sourceMappingURL=erc4337-signer.d.ts.map