export interface LessonInput { operation: string; success: boolean; taskId: string; assignedAgent: string; sessionId: string; /** * Signals the finished task already named. When set, text matching is not used. * An empty list with a lesson still stores that lesson under a name taken from the task. */ signals?: string[]; /** Approaches, solutions, or the wrong turn from the sessions that named the law. */ lesson?: string; } /** * A finished task names the signals its text actually matched and says * whether the outcome was good. That is the one-tenth step. * A lesson with no matched signal is stored under a hyphenated name from the * task, so the same task text recalls it. No lesson and no match, no write. */ export declare function recordLesson(input: LessonInput): string[];