export type McpToolRisk = "read" | "write" | "delete" | "deploy"; export interface McpToolInvocationRequest { integrationId: string; toolName: string; argumentsJson: string; risk: McpToolRisk; taskId?: string; dryRun?: boolean; timeoutMs?: number; retries?: number; } export interface McpToolInvocationResponse { integrationId: string; toolName: string; dryRun: boolean; allowed: boolean; attempts: number; redactedError?: string; } export declare function invokeMcpTool(root: string, request: McpToolInvocationRequest): Promise; export declare function redactedMcpError(error: unknown): string;