import type { McpErrorClass, McpMode, McpServerType } from '../types.js'; type McpToolEvent = { tool: string; mode: McpMode; serverType: McpServerType; durationMs: number; client?: string; clientVersion?: string; }; export declare function reportMcpToolCalled({ tool, mode, serverType, durationMs, outputLength, client, clientVersion, }: McpToolEvent & { outputLength: number; }): void; /** * Arguments and result identity for one MCP tool call. `tool` and `mode` repeat the * `mcpServer.toolCalled` telemetry event so a Grafana row joins onto this line; `args_sha256` * identifies the invocation. The result body itself is never recorded — a tool can return * credentials no pattern will recognise — so only its digest lands here. */ export declare function logMcpToolCallAudit({ tool, mode, serverType, args, result, errorClass, client, clientVersion, }: Omit & { args: unknown; result?: string; errorClass?: McpErrorClass; }): void; export declare function reportMcpToolError({ tool, mode, serverType, durationMs, message, stack, errorClass, client, clientVersion, }: McpToolEvent & { message: string; stack?: string; errorClass: McpErrorClass; }): void; export {}; //# sourceMappingURL=mcp-tool-telemetry.d.ts.map