/**
 * Tool Policy — Per-agent access control for tools
 *
 * Policy profiles are defined in YAML files under .proletariat/policies/.
 * Each profile specifies which MCP servers and CLI tools an agent can access.
 */
import type { ToolRegistry, ToolPolicy, McpServerConfig, CliToolConfig } from './types.js';
/**
 * Get path to the policies directory.
 */
export declare function getPoliciesDir(hqPath: string): string;
/**
 * Load a tool policy by name.
 * Looks in .proletariat/policies/{name}.yaml
 */
export declare function loadToolPolicy(hqPath: string, policyName: string): ToolPolicy | null;
/**
 * Save a tool policy.
 */
export declare function saveToolPolicy(hqPath: string, policyName: string, policy: ToolPolicy): void;
/**
 * List all available policy profiles.
 */
export declare function listPolicies(hqPath: string): string[];
/**
 * Filter registry by policy — returns only the tools the agent is allowed to use.
 * If no policy is provided, returns all registered tools.
 */
export declare function filterByPolicy(registry: ToolRegistry, policy: ToolPolicy | null): {
    mcpServers: McpServerConfig[];
    cliTools: CliToolConfig[];
};
