import type { Agent } from '../agent'; import { RunContext } from '../runContext'; import type { ToolErrorFormatter, ToolErrorFormatterArgs } from '../run'; export declare const TOOL_APPROVAL_REJECTION_MESSAGE = "Tool execution was not approved."; type ApprovalRejectedToolType = ToolErrorFormatterArgs['toolType']; type ApprovalRejectionMessageOptions = { runContext: RunContext; toolType: ApprovalRejectedToolType; toolName: string; approvalToolNames?: readonly string[]; approvalAgent?: Agent; callId: string; toolErrorFormatter?: ToolErrorFormatter; }; export declare function resolveApprovalRejectionMessage({ runContext, toolType, toolName, approvalToolNames, approvalAgent, callId, toolErrorFormatter, }: ApprovalRejectionMessageOptions): Promise; export {};