import { Tool, StringToolOutput, BaseToolOptions, ToolEmitter, ToolInput, BaseToolRunOptions } from './base.js'; import { z } from 'zod'; import { GetRunContext } from '../context.js'; import { PromptTemplate } from '../template.js'; import { a as ChatModel } from '../chat-CfTNfR60.js'; import 'ajv'; import '../errors.js'; import '../internals/types.js'; import '../internals/helpers/guards.js'; import '../internals/serializable.js'; import 'promise-based-task'; import '../cache/base.js'; import '../internals/helpers/schema.js'; import 'zod-to-json-schema'; import '../emitter-kHxkUxco.js'; import '../internals/helpers/promise.js'; import '../backend/message.js'; import 'ai'; import '../backend/constants.js'; import '../logger/logger.js'; import 'pino'; /** * Copyright 2025 © BeeAI a Series of LF Projects, LLC * SPDX-License-Identifier: Apache-2.0 */ interface LLMToolInput extends BaseToolOptions { llm: ChatModel; name?: string; description?: string; template?: typeof LLMTool.template; } declare class LLMTool extends Tool { protected readonly input: LLMToolInput; name: string; description: string; readonly emitter: ToolEmitter, StringToolOutput>; constructor(input: LLMToolInput); inputSchema(): z.ZodObject<{ task: z.ZodString; }, "strip", z.ZodTypeAny, { task: string; }, { task: string; }>; static readonly template: PromptTemplate>; protected _run(input: ToolInput, _options: Partial, run: GetRunContext): Promise; } export { LLMTool, type LLMToolInput };