import { z, ZodSchema } from 'zod'; import { Tool, StringToolOutput, BaseToolOptions, BaseToolRunOptions } from './base.js'; import { RunContext } from '../context.js'; import { E as Emitter } from '../emitter-kHxkUxco.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 '../internals/helpers/promise.js'; /** * Copyright 2025 © BeeAI a Series of LF Projects, LLC * SPDX-License-Identifier: Apache-2.0 */ declare const ThinkSchema: z.ZodObject<{ thoughts: z.ZodString; }, "strip", z.ZodTypeAny, { thoughts: string; }, { thoughts: string; }>; type ThinkInput = z.infer; interface ThinkToolOptions extends BaseToolOptions { extraInstructions?: string; toolOutput?: string | ((input: ThinkInput) => string); schema?: ZodSchema; } declare class ThinkTool extends Tool { name: string; description: string; readonly emitter: Emitter; protected _inputSchema: ZodSchema; protected _toolOutput: string | ((input: ThinkInput) => string); protected _extraInstructions: string; constructor(options?: ThinkToolOptions); inputSchema(): ZodSchema; _run(input: ThinkInput, _options: BaseToolRunOptions, _context: RunContext): Promise; protected createEmitter(): Emitter; } export { ThinkTool, type ThinkToolOptions };