/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { ToolResult, AnyDeclarativeTool } from './base/tools.js'; import type { SimpleConfig } from './base/config.js'; /** * Tool orchestrator for managing and executing tools in the brocode CLI */ export declare class ToolOrchestrator { private registry; private config; constructor(config?: SimpleConfig); /** * Initialize all available tools */ private initializeTools; /** * Execute a tool by name with parameters */ executeTool(toolName: string, parameters: Record, abortSignal?: AbortSignal): Promise; /** * Get all available tools */ getAvailableTools(): AnyDeclarativeTool[]; /** * Get tool names */ getToolNames(): string[]; /** * Get function declarations for LLM integration */ getFunctionDeclarations(): FunctionDeclaration[]; /** * Check if a tool exists */ hasTool(toolName: string): boolean; /** * Get tool information */ getToolInfo(toolName: string): { description: string; schema: any; } | null; /** * Map brocode-style tool names to gemini-style tool names */ mapBrocodeToolName(brocodeToolName: string): string; /** * Execute tool with brocode-compatible interface */ executeBrocodeTool(toolName: string, args: Record): Promise; } /** * Get the default tool orchestrator instance */ export declare function getToolOrchestrator(config?: SimpleConfig): ToolOrchestrator; /** * Reset the default orchestrator (useful for testing) */ export declare function resetToolOrchestrator(): void; //# sourceMappingURL=tool-orchestrator.d.ts.map