import type { Subsystems } from '../../server.js'; export interface DispatchContext { subsystems: Subsystems; bindIsLoopback: boolean; } export interface DispatchResult { status: number; body: unknown; headers?: Record; } /** * Per-tool dispatch behind the full router check pipeline. Every tool returns * plain JSON tool output on success; StageResult failures + crawl/cache in-band * errors + search data.error map through errors.ts. */ export declare function dispatchTool(tool: string, input: unknown, ctx: DispatchContext): Promise; //# sourceMappingURL=dispatch.d.ts.map