import { SemanticLayerCompiler } from '../compiler.js'; import { SecurityContext } from '../types/index.js'; import { AgentSSEEvent } from './types.js'; import { ToolDefinition } from './providers/types.js'; /** * Result of executing a tool call */ export interface ToolExecutionResult { /** String content to return as tool_result */ result: string; /** Whether the tool call errored */ isError?: boolean; /** Optional SSE event to emit as a side effect (add_portlet, add_markdown) */ sideEffect?: AgentSSEEvent; } /** * Returns the array of tool definitions for the Anthropic Messages API. * Plain JSON schema — no Zod dependency. */ export declare function getToolDefinitions(): ToolDefinition[]; /** * Create a tool executor map that closes over the semantic layer and security context. * Returns a Map where each handler takes parsed input and returns a result. */ export declare function createToolExecutor(options: { semanticLayer: SemanticLayerCompiler; securityContext: SecurityContext; }): Map) => Promise>;