import { RecommendationWithCOT, TransactionLineRecommendationFieldTypes } from '@zeniai/client-epic-state';
import { ChainOfThoughtData } from '../components/common/tooltipVariants/types';
/**
 * Determines which recommendation source should be tracked for COT analytics
 * based on the COT data and selection state.
 *
 * Logic:
 * 1. If primary recommendation (index 0) has COT and alternative is not selected -> track primary
 * 2. If alternative recommendation (index 1) has COT -> track alternative
 * 3. Otherwise -> no tracking
 *
 * @param cotData - The COT data containing recommendations
 * @returns The recommendation source to track, or undefined if none should be tracked
 */
export declare const getCOTRecommendationSourceToTrack: (cotData?: ChainOfThoughtData | null) => string | undefined;
/**
 * Extracts the recommendation source from a recommendation object based on the field type.
 *
 * @param recommendation - The recommendation object containing vendor, account, or class data
 * @param type - The field type (vendor, category, class)
 * @returns The recommendation source string, or undefined if not found
 */
export declare const getRecommendationSourceFromType: (recommendation: RecommendationWithCOT, type: TransactionLineRecommendationFieldTypes) => string | undefined;
