import type { DatabaseHandle } from './db.js'; import type { SearchResult } from '../types.js'; /** * FTS5 search across node titles + content. * * Uses an explicit bm25() with column weights 5.0 (title) and 1.0 (content) * so literal-token matches in the title rank above equally-literal matches * in the body — the common case when a user types a note name. We negate * bm25's output (lower-is-better) so SearchResult.score stays * higher-is-better, matching the semantic-search convention. */ export declare function searchFullText(db: DatabaseHandle, query: string, limit?: number): SearchResult[];