/** * Tool Policy Resolver - Enforces tool allow/deny policies */ import type { ToolPolicy } from "./types.js"; /** Tool definition */ export interface Tool { name: string; group?: string; description: string; } /** Tool policy resolver */ export declare class ToolPolicyResolver { private policy; constructor(policy?: ToolPolicy); /** * Check if tool is allowed */ isAllowed(tool: Tool): boolean; /** * Filter tools by policy */ filterTools(tools: Tool[]): Tool[]; /** * Get allowed tool names */ getAllowedTools(allTools: Tool[]): string[]; } //# sourceMappingURL=tools.d.ts.map