import type Database from 'better-sqlite3'; import { type FtsResult, type LabelFilter } from './fts-store-search.js'; /** Content words of a query: lowercased, stopwords and 1–2 letter tokens dropped. */ export declare function contentWords(query: string): string[]; /** * Stemmed BM25 over `node_summaries_fts`. Terms are OR-ed — a natural-language * question rarely repeats every word a symbol is described with — and BM25 * rewards the symbols that match the most of them. Returns `[]` for queries * with fewer than `minWords` (default two) content words (a bare identifier is the lexical path's * job) or when the table is missing/empty (index built before summaries). */ export declare function summarySearch(db: Database.Database, query: string, limit: number, label?: LabelFilter, minWords?: number): FtsResult[]; //# sourceMappingURL=summary-search.d.ts.map