import type { Config } from '../config/schema'; import type { EventBus } from '../events/bus'; import type { EmitContext } from '../events/emit'; import type { StateStore } from '../state/store'; export type ToolPolicy = { repoRoot: string; worktreePath?: string; dryRun: boolean; allowDestructive: boolean; allowDangerous: boolean; toolBudget?: { maxCalls?: number; maxDurationMs?: number; }; emitContext: EmitContext; bus?: EventBus; state?: StateStore; }; export type ToolContext = ToolPolicy & { config: Config; }; export declare function createToolRegistry(context: ToolContext): { armorer: import("armorer").Armorer; sdkServer: import("@anthropic-ai/claude-agent-sdk").McpSdkServerConfigWithInstance; toolNames: string[]; mutatingToolNames: string[]; dangerousToolNames: string[]; };