import type { Agent } from '../agent'; import type { ToolAllowedCaller } from '../tool'; import type * as protocol from '../types/protocol'; export declare function ensureToolCallerAllowed(toolCall: protocol.ToolCallItem, allowedCallers: readonly ToolAllowedCaller[] | undefined, toolName: string, agent: Agent): void;