import { LinePrefixParser } from '../../../parsers/linePrefix.cjs'; import { PromptTemplate } from '../../../../template.cjs'; import * as zod from 'zod'; import { AnyTool } from '../../../../tools/base.cjs'; import { DefaultRunner } from '../default/runner.cjs'; import { BaseMemory } from '../../../../memory/base.cjs'; import { BeeRunOptions, BeeRunInput, BeeParserInput } from '../../types.cjs'; import { B as BeeInput, a as BeeAgent } from '../../../../agent-Bt7a624i.cjs'; import { GetRunContext } from '../../../../context.cjs'; import '../../../../emitter-BWtGHYn0.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 'ajv'; import 'promise-based-task'; import '../../../../cache/base.cjs'; import '../../../../internals/helpers/schema.cjs'; import 'zod-to-json-schema'; import '../../../../internals/helpers/promise.cjs'; import '../../../../llms/primitives/message.cjs'; import '../../../../base-CMzON_2C.cjs'; import '../../../../llms/chat.cjs'; import '../../../../llms/base.cjs'; import '../../../../internals/helpers/counter.cjs'; import '../../prompts.cjs'; 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 };