import type { McpToolDefinition } from './surface.js'; import { type ToolCallContext, type ToolCallResult } from './tool-core.js'; /** * `peaks_status`: run every argv the caller supplied enough for, and return each * CLI envelope verbatim under the id of the whitelist entry that produced it. */ export declare function callStatusTool(tool: McpToolDefinition, args: Readonly>, context: ToolCallContext): Promise; type ToolHandler = (tool: McpToolDefinition, args: Readonly>, context: ToolCallContext) => Promise; /** Tools the surface declares that no handler can serve. Non-empty = refuse to start. */ export declare function missingHandlers(tools: readonly McpToolDefinition[]): readonly string[]; /** Route a `tools/call` to its handler, or `undefined` for a tool nobody serves. */ export declare function handlerFor(name: string): ToolHandler | undefined; export {};