import { providers } from "ethers"; import { UserOperationStruct } from "@account-abstraction/contracts"; import { EstimateUserOpGasResult, ZkTransactionInput } from "../types"; export declare const DEBUG = false; export declare class HttpRpcClient { private readonly userOpJsonRpcProvider; initializing: Promise; bundlerUrl: string; entryPointAddress: string; chainId: number; constructor(bundlerUrl: string, entryPointAddress: string, chainId: number, clientId?: string, secretKey?: string); validateChainId(): Promise; /** * send a UserOperation to the bundler * @param userOp1 - The UserOperation to send * @returns userOpHash the id of this operation, for getUserOperationTransaction */ sendUserOpToBundler(userOp1: UserOperationStruct): Promise; estimateUserOpGas(userOp: Partial): Promise; getUserOperationGasPrice(): Promise<{ maxFeePerGas: string; maxPriorityFeePerGas: string; }>; getUserOperationReceipt(userOpHash: string): Promise; zkPaymasterData(transactionInput: providers.TransactionRequest): Promise; zkBroadcastTransaction(transactionInput: ZkTransactionInput): Promise; private printUserOperation; } //# sourceMappingURL=http-rpc-client.d.ts.map