import type { Message } from '../core/types'; import type { LLMProvider } from '../providers'; export interface LearnedSkill { name: string; description: string; trigger: string; instructions: string; examples: string[]; createdAt: Date; usageCount: number; lastUsed?: Date; version: number; } export declare class SkillLearner { private skillsDir; private skills; private loaded; constructor(skillsDir: string); analyzeForSkillCreation(conversation: Message[], provider: LLMProvider): Promise<{ skill: LearnedSkill; confidence: number; } | null>; checkDuplicate(newSkill: LearnedSkill, existingSkills: LearnedSkill[]): boolean; saveSkill(skill: LearnedSkill): Promise; loadLearnedSkills(): Promise; matchSkill(message: string): LearnedSkill | null; improveSkill(skill: LearnedSkill, conversation: Message[], provider: LLMProvider): Promise; getSkills(): LearnedSkill[]; } export declare function skillToMarkdown(skill: LearnedSkill): string; export declare function parseSkillMarkdown(content: string): LearnedSkill | null; //# sourceMappingURL=auto-learn.d.ts.map