/** * Memory Optimization Service * SOLID Principles: Single Responsibility - Handle memory optimization, compression, and cleanup only */ import { IMemoryOptimizationService, IMemoryStorageService, InteractionMemory, RequestMemory, MemoryCompressionResult } from '../interfaces/index'; export declare class MemoryOptimizationService implements IMemoryOptimizationService { private storageService; private logger; constructor(storageService: IMemoryStorageService); compressAndSummarize(interactions: InteractionMemory[], outcome: RequestMemory['outcome']): Promise; extractKeyPatterns(interactions: InteractionMemory[]): string[]; extractImportantOutcomes(interactions: InteractionMemory[], outcome: RequestMemory['outcome']): string[]; extractCriticalLearnings(interactions: InteractionMemory[]): string[]; calculateInteractionEffectiveness(interaction: InteractionMemory, finalOutcome: RequestMemory['outcome']): number; extractInteractionPatterns(interaction: InteractionMemory): string[]; suggestInteractionImprovements(interaction: InteractionMemory): string[]; optimizeMemoryUsage(): Promise; cleanupExpiredSessions(): Promise; compressOldInteractions(threshold: Date): Promise; } //# sourceMappingURL=memory-optimization-service.d.ts.map