import type { CallbackManagerForToolRun } from "@langchain/core/callbacks/manager"; import type { ToolRunnableConfig, ToolSchemaBase } from "@langchain/core/tools"; import type { JSONSchema } from "@langchain/core/utils/json_schema"; import type z from "zod"; import type { IServerManager } from "../types.js"; import { StructuredTool } from "@langchain/core/tools"; type ToolOutputT = any; export type SchemaOutputT = T extends z.ZodSchema ? z.output : T extends JSONSchema ? unknown : never; export declare class MCPServerTool extends StructuredTool> { /** Default tool name. Subclasses replace this value. */ name: string; /** Default tool description. Subclasses replace this value. */ description: string; /** Input schema supplied by the concrete management tool. */ schema: SchemaT; private readonly _manager; /** * @param manager - Server manager operated by this tool. */ constructor(manager: IServerManager); protected _call(_arg: SchemaOutputT, _runManager?: CallbackManagerForToolRun, _parentConfig?: ToolRunnableConfig): Promise; /** @returns The server manager operated by this tool. */ get manager(): IServerManager; } export {}; //# sourceMappingURL=base.d.ts.map