/** * Reciprocal Rank Fusion -- merges multiple ranked lists into a single * score map. Each list maps URL -> rank (1-based). The fused score for * a URL is the sum of 1/(k + rank) across all lists it appears in. */ export declare function reciprocalRankFusion(lists: Map[], k?: number): Map; /** * Convert a fused score map into a sorted array of [url, score] pairs, * descending by score. */ export declare function sortByRRFScore(scores: Map): Array<[string, number]>; /** * Build a rank map from an ordered array of URLs. * First URL gets rank 1, second gets rank 2, etc. */ export declare function buildRankMap(urls: string[]): Map; //# sourceMappingURL=rrf.d.ts.map