import type { ContextRequest, ContextResponse, MemoryConfig, MemoryResult, MemoryType } from '../types/index.js'; export interface RememberOptions { type?: MemoryType; importance?: number; emotional_weight?: number; tags?: string[]; context?: Record; ttl?: Date; } export interface RecallOptions { type?: MemoryType; limit?: number; threshold?: number; include_context?: boolean; time_decay?: boolean; } export declare class MemoryEngine { private config; private embedding; private vectorStore; private isInitialized; constructor(config?: Partial); initialize(): Promise; /** * Natural language interface for agents: remember new information */ remember(content: string, tenantId: string, agentId?: string, options?: RememberOptions): Promise; /** * Natural language interface for agents: recall relevant memories */ recall(query: string, tenantId: string, agentId?: string, options?: RecallOptions): Promise; /** * Natural language interface for agents: forget specific memories */ forget(query: string, tenantId: string, agentId?: string, confirmThreshold?: number): Promise; /** * Natural language interface for agents: get contextual information */ context(request: ContextRequest): Promise; /** * Health check for the memory system */ healthCheck(): Promise<{ status: 'healthy' | 'unhealthy'; components: Record; memory_count?: number; }>; /** * Get system health status */ getHealth(): Promise<{ status: 'healthy' | 'degraded' | 'unhealthy'; initialized: boolean; checks?: Record; components?: Record; timestamp?: Date; }>; /** * Close connections and clean up resources */ close(): Promise; private ensureInitialized; private classifyMemoryType; private calculateImportance; private applyTimeDecay; private generateContextSummary; private generateContextText; private calculateContextConfidence; /** * Test tier functionality */ testTier(tier: string): Promise<{ success: boolean; message: string; }>; /** * Get comprehensive statistics */ getStatistics(): Promise<{ totalMemories: number; memoryTypes: Record; avgConfidence: number; recentActivity: number; vectorStoreHealth: string; }>; /** * Delete a specific memory by ID */ deleteMemory(memoryId: string): Promise; } //# sourceMappingURL=MemoryEngine.d.ts.map