/** * Memory Module * * Manages long-term knowledge storage and retrieval */ import type { Experience, MemorySearchResult } from "../../types/memory.js"; /** * MemoryService - Facade class for backward compatibility * * Maintains the same public API as the original MemoryService class * while delegating to specialized sub-modules. */ /** * Service for managing AI learning and experience memory. * * Stores patterns, decisions, solutions, and lessons learned from * development sessions to improve future recommendations. */ export declare class MemoryService { private projectRoot; private storage; private extractor; /** * @param projectRoot - Root directory of the project */ constructor(projectRoot: string); /** * Initialize memory directory structure */ initialize(): Promise; /** * Record a new experience to memory */ recordExperience(exp: Partial): Promise; /** * Search experiences by query with relevance scoring */ searchExperiences(query: string, limit?: number): Promise; /** * Enhance context by retrieving relevant experiences */ enhanceContext(currentTask: string): Promise; /** * Extract learnings from workflow execution */ extractLearnings(workflowId: string): Promise; } //# sourceMappingURL=index.d.ts.map