/** * @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 DirectWebFetchToolParams { url: string; format: 'text' | 'markdown' | 'html'; timeout?: number; } export declare class DirectWebFetchTool extends BaseDeclarativeTool { private readonly config; static readonly Name = "direct_web_fetch"; constructor(config: Config); protected createInvocation(params: DirectWebFetchToolParams): ToolInvocation; }