/** Field-aware BM25 retrieval over immutable tool documents. @module dsh-tool-retriever/retrieval/bm25f */ import type { ResolvedConfig } from '../config.ts'; import type { ToolDocument, ToolSearchHit } from './types.ts'; /** * Rank one live catalog with strict canonical-name matching followed by BM25F. * @param query - Raw model-supplied query. * @param documents - Deterministic projections of currently visible tools. * @param config - Resolved scoring and result-count configuration. * @returns Stable candidates ordered by exact match, BM25F score, then name. */ export declare function retrieveTools(query: string, documents: readonly ToolDocument[], config: ResolvedConfig): ToolSearchHit[]; //# sourceMappingURL=bm25f.d.ts.map