import { type Chain, type Transport } from "viem"; import type { BaseSmartAccountClient } from "../../client/smartAccountClient"; import type { SmartContractAccount } from "../../account/smartContractAccount.js"; import type { UserOperationRequest } from "../../types.js"; import type { EntryPointDef } from "../../index.js"; /** * Retrieves the error message from an entrypoint for a User Operation. * * @param {Client} client the smart account client to use for RPC requests * @param {UserOperationRequest} request the uo request to get the error for * @param {EntryPointDef} entryPoint the entrypoint instance to send the uo to * @returns {string} the error message from the entrypoint */ export declare function getUserOperationError(client: BaseSmartAccountClient, request: UserOperationRequest, entryPoint: EntryPointDef): Promise;