/**
 * RIE — RAG Knowledge Base Client
 *
 * Queries the Advanced Sports RAG service (24K+ chunks of sports analytics books)
 * for relevant statistical theory and domain knowledge per matchup.
 *
 * Endpoint: POST http://127.0.0.1:5001/search
 * Auth: X-API-Key: eventheodds-flask-api-key-2025
 */
import { RagInsight } from './types';
/**
 * Query the RAG knowledge base with multiple queries in parallel.
 * Results are cached per matchup + query for 6 hours.
 */
export declare function queryRag(params: {
    queries: string[];
    league: string;
    homeShort: string;
    awayShort: string;
    k?: number;
}): Promise<RagInsight[]>;
/**
 * Compute a RAG relevance score (0-1) from insights.
 * Higher scores mean the knowledge base has strong, relevant theory for this matchup.
 */
export declare function computeRagRelevanceScore(insights: RagInsight[]): number;
/**
 * Evict expired cache entries. Call periodically.
 */
export declare function evictExpiredCache(): number;
/**
 * Get cache stats for monitoring.
 */
export declare function getRagCacheStats(): {
    size: number;
    oldestAge: number;
};
//# sourceMappingURL=rag-client.d.ts.map