import { providers, Signer } from "ethers"; import { EntryPoint, UserOperationStruct } from "@account-abstraction/contracts"; import { BaseAccountAPI } from "./base-api"; import { ERC4337EthersSigner } from "./erc4337-signer"; import { HttpRpcClient } from "./http-rpc-client"; import { ProviderConfig } from "../types"; export declare class ERC4337EthersProvider extends providers.BaseProvider { readonly chainId: number; readonly config: ProviderConfig; readonly originalSigner: Signer; readonly originalProvider: providers.BaseProvider; readonly httpRpcClient: HttpRpcClient; readonly entryPoint: EntryPoint; readonly smartAccountAPI: BaseAccountAPI; readonly signer: ERC4337EthersSigner; constructor(chainId: number, config: ProviderConfig, originalSigner: Signer, originalProvider: providers.BaseProvider, httpRpcClient: HttpRpcClient, entryPoint: EntryPoint, smartAccountAPI: BaseAccountAPI); getSigner(): ERC4337EthersSigner; perform(method: string, params: any): Promise; getTransaction(transactionHash: string | Promise): Promise; getTransactionReceipt(transactionHash: string | Promise): Promise; getSenderAccountAddress(): Promise; waitForTransaction(transactionHash: string, confirmations?: number, timeout?: number): Promise; constructUserOpTransactionResponse(userOp1: UserOperationStruct): Promise; detectNetwork(): Promise; } //# sourceMappingURL=erc4337-provider.d.ts.map