/**
 * MCP bridge — creates a Unix domain socket server that the MCP tool server
 * connects to for executing tools. Also generates the temporary MCP config
 * and tool definition files needed by the Claude CLI.
 *
 * Usage:
 *   const bridge = await createMcpBridge(tools, executor, onToolEvent);
 *   // pass bridge.configPath to --mcp-config
 *   // ...run CLI...
 *   bridge.cleanup();
 */
import type { ToolDefinition, ToolExecutor, ToolEvent, McpBridge, Logger } from './types.js';
/**
 * Create an MCP bridge that the Claude CLI can connect to for tool execution.
 *
 * @param tools       Tool definitions to advertise to the CLI
 * @param executor    Function that executes a tool call
 * @param onToolEvent Optional callback for relaying tool events
 * @param logger      Optional logger
 */
export declare function createMcpBridge(tools: ToolDefinition[], executor: ToolExecutor, onToolEvent?: (event: ToolEvent) => void, logger?: Logger): Promise<McpBridge>;
//# sourceMappingURL=mcp-bridge.d.ts.map