/** * Expression testers for JSONata and JSON Logic * * Provides functionality to test expressions with context */ import type { McpGraphApi } from '../api.js'; export interface ExpressionTestResult { result: unknown; error?: { message: string; details?: unknown; }; } export interface McpToolTestResult { output: unknown; evaluatedArgs?: Record; executionTime: number; error?: { message: string; details?: unknown; }; } /** * Test a JSONata expression with context */ export declare function testJSONata(expression: string, context: Record): Promise; /** * Test a JSON Logic expression with context */ export declare function testJSONLogic(expression: unknown, context: Record): Promise; /** * Test an MCP tool call directly. Evaluates JSONata expressions in args if context is provided. */ export declare function testMcpTool(api: McpGraphApi, serverName: string, toolName: string, args: Record, context?: Record): Promise; //# sourceMappingURL=expression-testers.d.ts.map