/** * Experience Learning System * * Automatically extracts and reuses problem-solving patterns. */ export interface SolutionPattern { id: string; problemType: string; context: string; solution: string; outcome: 'success' | 'failure'; tokensUsed: number; timeSpent: number; tags: string[]; createdAt: string; reuseCount: number; } export interface LearningContext { skill: string; task: string; currentPhase: string; previousAttempts: number; } export declare function extractPatterns(skill: string, cwd: string): Promise; export declare function findRelevantPatterns(context: LearningContext, cwd: string): Promise; export declare function applyPatterns(patterns: SolutionPattern[], task: string): string; export declare function trackCompletion(skill: string, cwd: string, success: boolean): Promise; export declare function getLearningStats(cwd: string): { patternsLearned: number; patternsReused: number; successRate: number; }; export declare function extractLessonsLearned(skill: string, cwd: string): Promise; //# sourceMappingURL=extractor.d.ts.map