/** * ContextManager - Manages user context operations (no versioning needed) */ import type { UserContext, RecentDecision, CurrentProject, UserPreferences } from '../types/knowledge.js'; import type { StorageProvider } from '../types/storage.js'; /** * Manages user context storage and retrieval * Context is temporary and does not require versioning */ export declare class ContextManager { private readonly storage; constructor(storage: StorageProvider); /** * Get the storage key for a user's context */ private getKey; /** * Get a user's context */ get(userId: string): Promise; /** * Update a user's context (partial update supported) */ update(userId: string, update: Partial): Promise; /** * Set the current project */ setCurrentProject(userId: string, project: CurrentProject | undefined): Promise; /** * Add a recent decision */ addRecentDecision(userId: string, decision: Omit): Promise; /** * Update active goals */ setActiveGoals(userId: string, goals: string[]): Promise; /** * Add an active goal */ addActiveGoal(userId: string, goal: string): Promise; /** * Remove an active goal */ removeActiveGoal(userId: string, goal: string): Promise; /** * Update preferences */ updatePreferences(userId: string, preferences: Partial): Promise; /** * Clear context (reset to defaults) */ clear(userId: string): Promise; } //# sourceMappingURL=ContextManager.d.ts.map