import { ApprovalData, TxData } from '../../../hooks/apis/common/quote/types';

export declare function useBatchingTransaction({ approvalData, txData, chainId, isApprovalRequired, }: {
    txData: TxData;
    chainId: number;
    isApprovalRequired: boolean;
    approvalData?: ApprovalData;
}): {
    trigger: () => void;
    triggerAsync: () => Promise<{
        capabilities?: {
            [x: string]: any;
        } | undefined;
        id: string;
    }>;
    isSuccess: boolean;
    isError: boolean;
    txData: {
        capabilities?: {
            [x: string]: any;
        } | undefined;
        id: string;
    } | undefined;
    error: import('@wagmi/core').SendCallsErrorType | null;
};
