import type { MessageList, MastraDBMessage } from '../agent/message-list/index.js'; import type { ProcessInputStepArgs, Processor } from './index.js'; export interface ToolResultReminderOptions { reminderText?: string; maxTokens?: number; pathExists?: (path: string) => boolean; isDirectory?: (path: string) => boolean; readFile?: (path: string) => string; getIgnoredInstructionPaths?: (args: ProcessInputStepArgs) => string[]; } /** * Injects a persisted UI-visible reminder when the agent just interacted with * a path whose directory ancestry contains an instruction file such as AGENTS.md. */ export declare class AgentsMDInjector implements Processor<'agents-md-injector'> { id: "agents-md-injector"; name: string; description: string; processorIndex: number; private readonly reminderText?; private readonly maxTokens; private readonly pathExists; private readonly isDirectory; private readonly readFile; private readonly getIgnoredInstructionPaths?; constructor(options: ToolResultReminderOptions); processInputStep(args: ProcessInputStepArgs): Promise; private getReminderText; private isIgnoredInstructionPath; private findReferencedInstructionPath; private findInstructionPathInInvocation; private hasReminderAlready; } //# sourceMappingURL=tool-result-reminder.d.ts.map