import { LinePrefixParser } from '../../../../parsers/linePrefix.cjs'; import { ReActAgentRunOptions, ReActAgentParserInput } from '../../types.cjs'; import { PromptTemplate } from '../../../../template.cjs'; import { AnyTool } from '../../../../tools/base.cjs'; import { DefaultRunner } from '../default/runner.cjs'; import { z } from 'zod'; import { R as ReActAgentInput, a as ReActAgent } from '../../../../agent-zfT__iq9.cjs'; import { GetRunContext } from '../../../../context.cjs'; import 'node_modules/remeda/dist/ToString-DKW-jYvM.js'; import '../../../../emitter-D4OcelZ9.cjs'; import '../../../../internals/types.cjs'; import '../../../../internals/helpers/guards.cjs'; import '../../../../internals/serializable.cjs'; import '../../../../parsers/field.cjs'; import '@streamparser/json'; import 'jsonrepair/stream'; import '../../../../parsers/errors.cjs'; import '../../../../errors.cjs'; import '../../../../memory/base.cjs'; import '../../../../backend/message.cjs'; import 'ai'; import '../../prompts.cjs'; import 'ajv'; import '../../../../chat-C20nYj46.cjs'; import 'promise-based-task'; import '../../../../cache/base.cjs'; import '../../../../backend/constants.cjs'; import '../../../../logger/logger.cjs'; import 'pino'; import '../../../../internals/helpers/promise.cjs'; import '../../../../internals/helpers/schema.cjs'; import 'zod-to-json-schema'; import '../../../../base-s3ioVIE9.cjs'; import '../../../../internals/helpers/counter.cjs'; declare class DeepThinkRunner extends DefaultRunner { get defaultTemplates(): { system: PromptTemplate; tools: z.ZodArray, z.objectInputType<{ name: z.ZodString; description: z.ZodString; schema: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; createdAt: z.ZodOptional>; }, "strip", z.ZodTypeAny, { instructions: string; tools: z.objectOutputType<{ name: z.ZodString; description: z.ZodString; schema: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; createdAt?: string | null | undefined; }, { tools: z.objectInputType<{ name: z.ZodString; description: z.ZodString; schema: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; instructions?: string | undefined; createdAt?: string | null | undefined; }>>; assistant: PromptTemplate>; toolName: z.ZodOptional>; toolInput: z.ZodOptional>; toolOutput: z.ZodOptional>; finalAnswer: z.ZodOptional>; }, "strip", z.ZodTypeAny, { thought?: string[] | undefined; toolName?: string[] | undefined; toolInput?: string[] | undefined; toolOutput?: string[] | undefined; finalAnswer?: string[] | undefined; }, { thought?: string[] | undefined; toolName?: string[] | undefined; toolInput?: string[] | undefined; toolOutput?: string[] | undefined; finalAnswer?: string[] | undefined; }>>; user: PromptTemplate; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ createdAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ createdAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodString; meta: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ createdAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ createdAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodString; meta: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ createdAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ createdAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; schemaError: PromptTemplate, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; toolNotFoundError: PromptTemplate, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tools: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tools: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; toolError: PromptTemplate, z.objectInputType<{ reason: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; toolInputError: PromptTemplate, z.objectInputType<{ reason: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; userEmpty: PromptTemplate, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; toolNoResultError: PromptTemplate>; }; constructor(input: ReActAgentInput, options: ReActAgentRunOptions, run: GetRunContext); protected createParser(tools: AnyTool[]): { readonly parser: LinePrefixParser; }; } export { DeepThinkRunner };