import { LinePrefixParser } from '../../../parsers/linePrefix.js'; import { PromptTemplate } from '../../../../template.js'; import * as zod from 'zod'; import { AnyTool } from '../../../../tools/base.js'; import { DefaultRunner } from '../default/runner.js'; import { BaseMemory } from '../../../../memory/base.js'; import { BeeRunOptions, BeeRunInput, BeeParserInput } from '../../types.js'; import { B as BeeInput, a as BeeAgent } from '../../../../agent-8xqJejQe.js'; import { GetRunContext } from '../../../../context.js'; import '../../../../emitter-l0W9gC1A.js'; import '../../../../internals/types.js'; import '../../../../internals/helpers/guards.js'; import '../../../../internals/serializable.js'; import '../../../parsers/field.js'; import '@streamparser/json'; import 'jsonrepair/stream'; import '../../../parsers/errors.js'; import '../../../../errors.js'; import 'ajv'; import 'promise-based-task'; import '../../../../cache/base.js'; import '../../../../internals/helpers/schema.js'; import 'zod-to-json-schema'; import '../../../../internals/helpers/promise.js'; import '../../../../llms/primitives/message.js'; import '../../../../base-C4dBV_Z9.js'; import '../../../../llms/chat.js'; import '../../../../llms/base.js'; import '../../../../internals/helpers/counter.js'; import '../../prompts.js'; declare class GraniteRunner extends DefaultRunner { get defaultTemplates(): { system: PromptTemplate; tools: zod.ZodArray, zod.objectInputType<{ name: zod.ZodString; description: zod.ZodString; schema: zod.ZodString; }, zod.ZodTypeAny, "passthrough">>, "many">; createdAt: zod.ZodOptional>; }, "strip", zod.ZodTypeAny, { instructions: string; tools: zod.objectOutputType<{ name: zod.ZodString; description: zod.ZodString; schema: zod.ZodString; }, zod.ZodTypeAny, "passthrough">[]; createdAt?: string | null | undefined; }, { tools: zod.objectInputType<{ name: zod.ZodString; description: zod.ZodString; schema: zod.ZodString; }, zod.ZodTypeAny, "passthrough">[]; createdAt?: string | null | undefined; instructions?: string | undefined; }>>; assistant: PromptTemplate>; toolName: zod.ZodOptional>; toolInput: zod.ZodOptional>; toolOutput: zod.ZodOptional>; finalAnswer: zod.ZodOptional>; }, "strip", zod.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", zod.ZodTypeAny, zod.objectOutputType<{ createdAt: zod.ZodOptional; }, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{ createdAt: zod.ZodOptional; }, zod.ZodTypeAny, "passthrough">>>; }, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{ input: zod.ZodString; meta: zod.ZodOptional; }, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{ createdAt: zod.ZodOptional; }, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{ createdAt: zod.ZodOptional; }, zod.ZodTypeAny, "passthrough">>>; }, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{ input: zod.ZodString; meta: zod.ZodOptional; }, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{ createdAt: zod.ZodOptional; }, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{ createdAt: zod.ZodOptional; }, zod.ZodTypeAny, "passthrough">>>; }, zod.ZodTypeAny, "passthrough">>>; schemaError: PromptTemplate, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>; toolNotFoundError: PromptTemplate, zod.objectInputType<{ name: zod.ZodString; }, zod.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{ tools: zod.ZodArray, zod.objectInputType<{ name: zod.ZodString; }, zod.ZodTypeAny, "passthrough">>, "many">; }, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{ tools: zod.ZodArray, zod.objectInputType<{ name: zod.ZodString; }, zod.ZodTypeAny, "passthrough">>, "many">; }, zod.ZodTypeAny, "passthrough">>>; toolError: PromptTemplate, zod.objectInputType<{ reason: zod.ZodString; }, zod.ZodTypeAny, "passthrough">>>; toolInputError: PromptTemplate, zod.objectInputType<{ reason: zod.ZodString; }, zod.ZodTypeAny, "passthrough">>>; userEmpty: PromptTemplate, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>; toolNoResultError: PromptTemplate>; }; constructor(input: BeeInput, options: BeeRunOptions, run: GetRunContext); protected initMemory(input: BeeRunInput): Promise; protected createParser(tools: AnyTool[]): { parserRegex: RegExp; parser: LinePrefixParser; }; } export { GraniteRunner };