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; callId: string; toolErrorFormatter?: ToolErrorFormatter; }; export declare function resolveApprovalRejectionMessage({ runContext, toolType, toolName, callId, toolErrorFormatter, }: ApprovalRejectionMessageOptions): Promise; export {};