/**
 * execute_tool - Meta-tool for executing MCP tools
 *
 * This is one of the 2 tools exposed by the router (the other being discover_tools).
 * Routes tool calls to the appropriate MCP server.
 */
import type { ExecuteToolArgs, OutputCompressionStats } from '../types.js';
import type { ToolSearchIndex } from '../search/fuzzy.js';
import type { McpClientPool } from '../executor/client.js';
export declare const EXECUTE_TOOL_DEFINITION: {
    name: string;
    description: string;
    inputSchema: {
        type: "object";
        properties: {
            path: {
                type: string;
                description: string;
            };
            args: {
                type: string;
                description: string;
                additionalProperties: boolean;
            };
            intent: {
                type: string;
                description: string;
            };
        };
        required: string[];
    };
};
export interface ExecuteResult {
    success: boolean;
    result?: unknown;
    error?: string;
    toolPath: string;
    executionTimeMs: number;
    compressionStats?: OutputCompressionStats;
}
export declare function handleExecuteTool(args: ExecuteToolArgs, searchIndex: ToolSearchIndex, clientPool: McpClientPool): Promise<ExecuteResult>;
export declare function estimateExecuteToolTokens(): number;
//# sourceMappingURL=execute.d.ts.map