import type { LTMcpToolManifest } from '../../../types';
/**
 * Dispatch a tool call directly to a built-in server's handler,
 * bypassing MCP Client/Transport entirely. Returns null if the server
 * or tool is not a built-in — caller should fall through to MCP transport.
 *
 * Each built-in server is lazily instantiated once and cached. Tool handlers
 * are called via server._registeredTools[toolName].handler(args). This
 * eliminates the InMemoryTransport bottleneck under concurrent load.
 */
export declare function dispatchBuiltinTool(serverId: string, toolName: string, args: Record<string, any>): Promise<{
    dispatched: true;
    result: any;
} | null>;
/**
 * List tools from a connected server.
 */
export declare function listServerTools(serverId: string): Promise<LTMcpToolManifest[]>;
