/** Tantivy BM25 catalog search via the Rust core. */ import type { JsonRecord } from "./types.js"; export interface Bm25ScoreCatalogOptions { pruneJsonThreshold?: number | null; pruneMdThreshold?: number | null; pruneEnums?: boolean; } export interface Bm25FrontmatterGateResult { excluded: Array<{ entry_dir: string; doc_id: string; }>; trace: JsonRecord; } export interface Bm25SearchSkillChunksResult { matches: JsonRecord[]; trace: JsonRecord; } export declare function configureBm25Defaults(options?: { indexDir?: string; stemLanguage?: string; stopwords?: string; useStopwords?: boolean; k1?: number; b?: number; mmap?: boolean; }): void; export declare function bm25CatalogFingerprint(data: JsonRecord): string; export declare function bm25ScoreCatalog(data: JsonRecord, query: string, options?: Bm25ScoreCatalogOptions): JsonRecord; export declare function bm25FrontmatterGate(entries: JsonRecord[], query: string, upperLimit?: number): Bm25FrontmatterGateResult; export declare function bm25SearchSkillChunks(entries: JsonRecord[], query: string, threshold?: number, excluded?: Array<{ entry_dir: string; doc_id: string; }>): Bm25SearchSkillChunksResult; export declare function expSimilarity(raw: number): number; export declare function batchReconstructSkillMatches(groups: JsonRecord[]): JsonRecord[]; export declare function greedySelectSkillItems(survivors: JsonRecord[], itemKind?: string, maxTokens?: number): JsonRecord; //# sourceMappingURL=bm25Search.d.ts.map