import { z } from 'zod/v4'; import type { MastraBase } from '../../../base.js'; import type { MastraLLMVNext } from '../../../llm/model/model.loop.js'; import type { Mastra } from '../../../mastra/index.js'; import type { ErrorProcessorOrWorkflow, InputProcessorOrWorkflow, OutputProcessorOrWorkflow, ProcessorState } from '../../../processors/index.js'; import type { RequestContext } from '../../../request-context/index.js'; import type { Agent } from '../../agent.js'; import { MessageList } from '../../message-list/index.js'; import type { AgentExecuteOnFinishOptions } from '../../types.js'; export type AgentCapabilities = { agentName: string; logger: MastraBase['logger']; getMemory: Agent['getMemory']; getModel: Agent['getModel']; generateMessageId: Mastra['generateId']; mastra?: Mastra; _agentNetworkAppend?: boolean; saveStepMessages: Agent['saveStepMessages']; convertTools: Agent['convertTools']; runInputProcessors: Agent['__runInputProcessors']; executeOnFinish: (args: AgentExecuteOnFinishOptions) => Promise; outputProcessors?: OutputProcessorOrWorkflow[] | ((args: { requestContext: RequestContext; overrides?: OutputProcessorOrWorkflow[]; }) => Promise | OutputProcessorOrWorkflow[]); inputProcessors?: InputProcessorOrWorkflow[] | ((args: { requestContext: RequestContext; overrides?: InputProcessorOrWorkflow[]; }) => Promise | InputProcessorOrWorkflow[]); errorProcessors?: ErrorProcessorOrWorkflow[] | ((args: { requestContext: RequestContext; overrides?: ErrorProcessorOrWorkflow[]; }) => Promise | ErrorProcessorOrWorkflow[]); llm: MastraLLMVNext; }; export type CoreTool = { parameters: any; id?: string | undefined; description?: string | undefined; outputSchema?: any; execute?: (inputData: any, context: any) => any; toModelOutput?: (output: any) => any; type?: 'function' | 'provider-defined' | undefined; args?: Record | undefined; }; export declare const storageThreadSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodOptional; resourceId: z.ZodString; createdAt: z.ZodDate; updatedAt: z.ZodDate; metadata: z.ZodOptional>; }, z.core.$strip>; export declare const prepareToolsStepOutputSchema: z.ZodObject<{ convertedTools: z.ZodRecord; }, z.core.$strip>; export declare const prepareMemoryStepOutputSchema: z.ZodObject<{ threadExists: z.ZodBoolean; thread: z.ZodOptional; resourceId: z.ZodString; createdAt: z.ZodDate; updatedAt: z.ZodDate; metadata: z.ZodOptional>; }, z.core.$strip>>; messageList: z.ZodCustom; processorStates: z.ZodCustom>, Map>>; tripwire: z.ZodOptional; metadata: z.ZodOptional; processorId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type PrepareMemoryStepOutput = z.infer; export type PrepareToolsStepOutput = z.infer; //# sourceMappingURL=schema.d.ts.map