/** * Multi-strategy FTS5 query builder. * Generates OR-mode, AND-mode, and entity-focused queries from natural language. */ /** Current active expansions (core + any injected extras). */ export declare const EXPANSIONS: Record; /** Merge additional expansions into the active set. Used by benchmarks to add domain-specific synonyms. */ export declare function mergeExpansions(extra: Record): void; /** * Resolve relative temporal references to absolute date keywords. * E.g., "10 days ago" with referenceDate → ["march", "29", "2026"] */ export declare function resolveTemporalKeywords(query: string, referenceDate?: Date): string[]; /** Extract meaningful keywords from a query, filtering stop words. */ export declare function extractKeywords(query: string): string[]; /** Extract entities: proper nouns, dates, numbers, specific terms. */ export declare function extractEntities(query: string): string[]; /** Build OR-joined FTS5 query with synonym expansion. Best for broad recall. */ export declare function buildORQuery(query: string): string | null; /** Build AND-joined FTS5 query. Best for precision when multiple terms matter. */ export declare function buildANDQuery(query: string): string | null; /** Build relaxed AND query — uses entity + top content words, less strict than full AND. */ export declare function buildRelaxedANDQuery(query: string): string | null; /** Build phrase query from consecutive keyword pairs. Finds exact multi-word matches. */ export declare function buildPhraseQuery(query: string): string | null; /** Build entity-focused FTS5 query. Searches for proper nouns and specific terms. */ export declare function buildEntityQuery(query: string): string | null; //# sourceMappingURL=query-builder.d.ts.map