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

export declare function useBatchingTransaction({ approvalData, txData, chainId, isApprovalRequired, needsPermit2Approval, }: {
    txData: TxData;
    chainId: number;
    isApprovalRequired: boolean;
    approvalData?: ApprovalData;
    needsPermit2Approval?: boolean;
}): {
    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;
};
