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 { ReActAgentRunOptions, ReActAgentParserInput } from '../../types.cjs'; 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 '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 '../../../../backend/message.cjs'; import 'ai'; import '../../../../memory/base.cjs'; import '../../../../base-s3ioVIE9.cjs'; import '../../../../chat-C20nYj46.cjs'; import '../../../../backend/constants.cjs'; import '../../../../logger/logger.cjs'; import 'pino'; import '../../../../internals/helpers/counter.cjs'; import '../../prompts.cjs'; declare class GraniteRunner extends DefaultRunner { protected useNativeToolCalling: boolean; 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">[]; instructions?: string | undefined; createdAt?: string | null | 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: ReActAgentInput, options: ReActAgentRunOptions, run: GetRunContext); protected createParser(tools: AnyTool[]): { parser: LinePrefixParser; }; } export { GraniteRunner };