/** * Real handler for `find_by_intent` — the claims-ranked MCP tool. * * Input parsing is strict (unknown types reject with McpError; * missing `query` rejects). Ranking and result shaping live in * `src/queries/find-by-intent.ts` per ADR-09. Compact rendering * reuses the formatters family so the output vocabulary matches * `get_symbol_context`. * * Per ADR-02 and reaffirmed in ADR-09: this handler makes no * Anthropic API calls and must never start. All ranking is local * SQL + FTS5 BM25. */ import { type CallToolRequest, type CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import type { DatabaseInstance } from "../../storage/db.js"; export interface FindByIntentDeps { db: DatabaseInstance; } export declare function createFindByIntentHandler(deps: FindByIntentDeps): (request: CallToolRequest) => Promise; //# sourceMappingURL=find-by-intent.d.ts.map