import type { MastraDBMessage, MessageList } from '@mastra/core/agent'; import type { MastraModelConfig } from '@mastra/core/llm'; import type { Processor } from '@mastra/core/processors'; /** * Summarizes tool calls and caches results to avoid re-summarizing identical calls */ export declare class ToolSummaryProcessor implements Processor { readonly id = "tool-summary-processor"; readonly name = "ToolSummaryProcessor"; private summaryAgent; private summaryCache; constructor({ summaryModel }: { summaryModel: MastraModelConfig; }); /** * Creates a cache key from tool call arguments */ createCacheKey(toolCall: any): string; /** * Clears the summary cache */ clearCache(): void; /** * Gets cache statistics */ getCacheStats(): { size: number; keys: string[]; }; processInput({ messages, messageList: _messageList, }: { messages: MastraDBMessage[]; messageList: MessageList; abort: (reason?: string) => never; }): Promise; } //# sourceMappingURL=tool-summary.d.ts.map