/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Integration layer for brocode CLI * This provides the enhanced tools functionality to the existing brocode agent */ export declare class BrocodeToolIntegration { private orchestrator; private config; constructor(workingDirectory?: string, debugMode?: boolean); /** * Execute a tool with brocode-compatible interface */ executeTool(toolName: string, args: Record): Promise; /** * List all available tools */ getAvailableTools(): Array<{ name: string; description: string; }>; /** * Check if a tool exists */ hasTool(toolName: string): boolean; /** * Get tool information */ getToolInfo(toolName: string): { description: string; schema: any; } | null; /** * Enhanced file operations that integrate with existing brocode functionality */ listFiles(dirPath?: string): Promise; readFile(filePath: string): Promise; writeFile(filePath: string, content: string): Promise; runShellCommand(command: string, description?: string, directory?: string): Promise; webFetch(prompt: string): Promise; webSearch(query: string): Promise; /** * Integration with existing brocode agent tool execution * This method can replace the existing tool execution in the agent */ executeToolForAgent(toolName: string, args: Record): Promise; } /** * Create a brocode tool integration instance */ export declare function createBrocodeToolIntegration(workingDirectory?: string, debugMode?: boolean): BrocodeToolIntegration; //# sourceMappingURL=brocode-integration.d.ts.map