import type { Agent } from '@deepseek-ai/dsh-agent'; import type { Context } from '@deepseek-ai/cordis'; import type { ToolRuntime } from '@deepseek-ai/dsh-tools'; /** Adapt legacy allowlists while retaining operation-level and parent-scope limits. */ export declare function operationToolAccess(requested: readonly string[], visible: readonly string[]): { allowed: string[]; denial(name: string, input: unknown): string | undefined; }; /** Model visibility and execution use one policy, including scope-local MCP tools. */ export declare function restrictExecutionTools(ctx: Context & { tools: ToolRuntime; }, agent: Agent, requested: readonly string[]): void; //# sourceMappingURL=operation-tool-access.d.ts.map