/** * archive_learning Tool * * Archives a learning (scar/win/pattern) by setting is_active=false * and recording archived_at timestamp. Archived learnings are excluded * from recall and search results but preserved for audit trail. * * Also triggers a local cache flush so the archived scar is immediately * removed from in-memory search results. */ export interface ArchiveLearningParams { /** UUID or short ID prefix of the learning to archive */ id: string; /** Optional reason for archiving */ reason?: string; } export interface ArchiveLearningResult { success: boolean; id: string; archived_at?: string; reason?: string; cache_flushed: boolean; display?: string; error?: string; performance_ms: number; } export declare function archiveLearning(params: ArchiveLearningParams): Promise; //# sourceMappingURL=archive-learning.d.ts.map