import { type GetEntryPointFromAccount, type SendTransactionsParameters, type UserOperationContext } from "@alchemy/aa-core"; import { type UseMutateAsyncFunction, type UseMutateFunction } from "@tanstack/react-query"; import { type Chain, type Hash, type Hex, type Transport } from "viem"; import type { SupportedAccounts } from "../../config/types.js"; import type { BaseHookMutationArgs } from "../types.js"; import { type UseSmartAccountClientResult } from "./useSmartAccountClient.js"; export type UseSendTransactionsMutationArgs = BaseHookMutationArgs>; export type UseSendTransactionsArgs = { client: UseSmartAccountClientResult["client"] | undefined; } & UseSendTransactionsMutationArgs; export type UseSendTransactionsResult = GetEntryPointFromAccount> = { sendTransactions: UseMutateFunction, unknown>; sendTransactionsAsync: UseMutateAsyncFunction, unknown>; sendTransactionsResult: Hex | undefined; isSendingTransactions: boolean; error: Error | null; }; export declare function useSendTransactions = GetEntryPointFromAccount>(params: UseSendTransactionsArgs): UseSendTransactionsResult;