import type { RankedSource, ScoredMemory, Memory } from '../types/index.js'; import type { SQLiteStore } from '../storage/sqlite.js'; /** * Merge results from semantic search, graph traversal, and recent memories. * Deduplicates by memory ID, applies scope boosting, and truncates to token budget. */ export declare function mergeAndRank(semanticResults: ScoredMemory[], graphMemories: Array<{ id: string; content: string; score: number; }>, recentMemories: Memory[], currentProject: string | null, relatedProjects?: string[], maxTokens?: number, sqlite?: SQLiteStore): { ranked: RankedSource[]; truncated: boolean; }; /** * Format ranked results into a coherent context block. */ export declare function formatContext(ranked: RankedSource[]): string; //# sourceMappingURL=ranker.d.ts.map