/** * @license * Copyright 2025 Vybestack LLC * SPDX-License-Identifier: Apache-2.0 * * Portions of this code are derived from opencode (https://github.com/sst/opencode) * Copyright (c) 2025 opencode * Licensed under the MIT License. */ import { BaseDeclarativeTool, type ToolInvocation, type ToolResult } from './tools.js'; import { Config } from '../config/config.js'; export interface CodeSearchToolParams { query: string; tokensNum?: number; } export declare class CodeSearchTool extends BaseDeclarativeTool { private readonly config; static readonly Name = "codesearch"; constructor(config: Config); protected createInvocation(params: CodeSearchToolParams): ToolInvocation; }