import { ConversationMessage, UserGoal, DomainContext, InteractionFlow } from './types'; import { WorkingMemory } from '../memory/modules/working/WorkingMemory'; import { NLPService } from '../memory/modules/semantic/nlp/NLPService'; /** * Enhanced context manager with smart history management for conversations */ export declare class ConversationContextManager { private historyManager; private workingMemory; private context; private activeGoals; private domainContexts; private currentDomain?; private nlpService; private goalConceptCache; constructor(workingMemory: WorkingMemory, nlpService: NLPService); addMessage(message: ConversationMessage): Promise; getContext(): Promise>; getContextValue(key: string): any; setContext(key: string, value: any): void; clearContext(): void; addUserGoal(goal: Partial): string; updateUserGoal(id: string, updates: Partial): void; getActiveGoals(): UserGoal[]; findRelevantGoals(content: string): Promise; setDomainContext(domain: DomainContext): void; getCurrentDomain(): DomainContext | undefined; addInteractionFlow(flow: InteractionFlow): void; optimize(): Promise; private getContentConcepts; }