/** * One-shot runner for the ten MCP tools. Initializes the DB + fetch router the * same way the interactive shell does, but is searxng-free BY CONSTRUCTION: it * never calls `resolveSearchBackend` and never constructs a sidecar process. * The `search`/`fetch` tools route through the core provider (its own direct * adapters), but the research/agent/find_similar pipelines search the passed * engine instances directly — so we seed the same keyless direct engines the * MCP server uses (DuckDuckGo + Bing, no sidecar). Without these, one-shot * research/agent/find_similar would find zero web sources. * * Contract: RESULT → stdout, ALL logs → stderr. `--json` emits the tool's * MCP-shape JSON on stdout (exit 0), a failure exits 1, and under `--json` a * failure prints a JSON error object on stdout. */ export declare function runTool(command: string, rawArgs: string[]): Promise; //# sourceMappingURL=tool-run.d.ts.map