import type { ToolProfile } from "../config.js"; import type { SafetyLevel } from "../security/guards.js"; export type ToolCategory = "instance" | "projects" | "repository" | "issues" | "merge-requests" | "pipelines" | "releases" | "groups" | "governance" | "intelligence"; interface ToolProfileMetadata { readonly name: string; readonly safety: SafetyLevel; readonly category?: ToolCategory; readonly profiles?: readonly ToolProfile[]; } export interface ToolRegistrationDecision { readonly register: boolean; readonly reason?: string; } export declare function shouldRegisterTool(metadata: ToolProfileMetadata, config: { readonly toolProfile: ToolProfile; readonly enabledTools: readonly string[]; readonly disabledTools: readonly string[]; readonly exposeDisabledWriteTools: boolean; readonly enableWriteTools: boolean; readonly enableDestructiveTools: boolean; }): ToolRegistrationDecision; export declare function inferToolCategory(toolName: string): ToolCategory; export {};