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 { ReActAgentRunOptions, ReActAgentParserInput } from '../../types.js'; import { R as ReActAgentInput, a as ReActAgent } from '../../../../agent-s3uhvAba.js'; import { GetRunContext } from '../../../../context.js'; import 'node_modules/remeda/dist/ToString-DKW-jYvM.js'; import '../../../../emitter-kHxkUxco.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 '../../../../backend/message.js'; import 'ai'; import '../../../../memory/base.js'; import '../../../../base-BjzyQ8k6.js'; import '../../../../chat-CfTNfR60.js'; import '../../../../backend/constants.js'; import '../../../../logger/logger.js'; import 'pino'; import '../../../../internals/helpers/counter.js'; import '../../prompts.js'; 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 };