interface SearchResult { /** Unique identifier for the result. */ id: string; /** Rank position in the result list (0-indexed). */ rank: number; /** Optional score from the search system. */ score?: number; } interface RankedResult extends SearchResult { /** The content or document associated with this result. */ content: string; /** File path of the source. */ filePath: string; /** Start line in the source file. */ startLine: number; /** End line in the source file. */ endLine: number; } interface FusedResult { /** Unique identifier for the result. */ id: string; /** Fused RRF score across all result sets. */ fusedScore: number; /** Which result sets contributed to this result. */ sources: string[]; } interface ScoredChunk { id: string; content: string; filePath: string; startLine: number; endLine: number; language: string; score: number; symbolName?: string; chunkType?: string; } export type { FusedResult as F, RankedResult as R, ScoredChunk as S, SearchResult as a };