/**
 * Tool Registry — Load, save, and manage tools.yaml config
 *
 * The tools.yaml file lives at .proletariat/tools.yaml in the HQ root.
 * It registers MCP servers and CLI tools that agents can use.
 */
import type { ToolRegistry, McpServerConfig, CliToolConfig } from './types.js';
/**
 * Get the path to the tools.yaml file for a given HQ root.
 */
export declare function getToolsConfigPath(hqPath: string): string;
/**
 * Load the tool registry from .proletariat/tools.yaml.
 * Returns an empty registry if the file doesn't exist.
 */
export declare function loadToolRegistry(hqPath: string): ToolRegistry;
/**
 * Save the tool registry to .proletariat/tools.yaml.
 */
export declare function saveToolRegistry(hqPath: string, registry: ToolRegistry): void;
/**
 * Get all MCP servers from the registry, hydrated with their names.
 */
export declare function getMcpServers(registry: ToolRegistry): McpServerConfig[];
/**
 * Get all CLI tools from the registry, hydrated with their names.
 * Always includes the built-in prlt tool.
 */
export declare function getCliTools(registry: ToolRegistry): CliToolConfig[];
/**
 * Add an MCP server to the registry.
 */
export declare function addMcpServer(hqPath: string, name: string, config: Omit<McpServerConfig, 'name'>): void;
/**
 * Add a CLI tool to the registry.
 */
export declare function addCliTool(hqPath: string, name: string, config: Omit<CliToolConfig, 'name'>): void;
/**
 * Remove a tool (MCP or CLI) from the registry.
 * Returns true if the tool was found and removed.
 */
export declare function removeTool(hqPath: string, name: string): boolean;
