import type { ScannedFile, KeywordMatch, FileWordRef } from '../orient.types.js'; /** * @purpose Search files by keyword with three-level scoring: exact (+10), prefix (+5), fuzzy (+3). * @invariant AND semantics across tokens; scoring: exact (+10) > prefix (+5) > fuzzy (+3). * @param files All scanned project files. * @param index Inverted word index built by buildIndex. * @param query Lowercased keyword query. * @returns Scored keyword matches sorted by relevance descending. */ export declare function queryKeyword(files: ScannedFile[], index: Map>, query: string): KeywordMatch[];