import { PromptTemplate } from '../../../../template.js'; import { b as BaseRunner, c as BeeRunnerLLMInput, d as BeeRunnerToolInput } from '../../../../agent-8xqJejQe.js'; import { BeeAgentRunIteration, BeeRunInput, BeeParserInput } from '../../types.js'; import { AnyTool } from '../../../../tools/base.js'; import { LinePrefixParser } from '../../../parsers/linePrefix.js'; import { z } from 'zod'; import { BaseMessage } from '../../../../llms/primitives/message.js'; import { BaseMemory } from '../../../../memory/base.js'; import '../../../../errors.js'; import '../../../../internals/types.js'; import '../../../../internals/helpers/guards.js'; import '../../../../internals/serializable.js'; import 'ajv'; import '../../../../context.js'; import '../../../../emitter-l0W9gC1A.js'; import '../../../../internals/helpers/promise.js'; import '../../../../base-C4dBV_Z9.js'; import '../../../../llms/chat.js'; import '../../../../llms/base.js'; import '../../../../cache/base.js'; import 'promise-based-task'; import '../../../../internals/helpers/counter.js'; import '../../prompts.js'; import '../../../parsers/field.js'; import '@streamparser/json'; import 'jsonrepair/stream'; import '../../../../internals/helpers/schema.js'; import 'zod-to-json-schema'; import '../../../parsers/errors.js'; declare class DefaultRunner extends BaseRunner { 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">[]; createdAt?: string | null | undefined; instructions?: string | 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>; }; llm({ signal, meta, emitter }: BeeRunnerLLMInput): Promise; tool({ state, signal, meta, emitter }: BeeRunnerToolInput): Promise<{ output: any; success: boolean; }>; protected get renderers(): { user: { message: ({ prompt }: BeeRunInput) => BaseMessage | undefined; }; system: { variables: { tools: () => Promise<{ name: string; description: string; schema: string; }[]>; }; message: () => Promise; }; }; protected initMemory({ prompt }: BeeRunInput): Promise; protected createParser(tools: AnyTool[]): { readonly parser: LinePrefixParser; readonly parserRegex: RegExp; }; } export { DefaultRunner };