import type { CandidateLesson, MemoryScope } from "../shared/types.js"; export interface ReflectionInput { sessionId: string; scope: MemoryScope; verified: boolean; verificationCommand?: string; verificationOutput?: string; taskDescription?: string; error?: string; rootCause?: string; fix?: string; home?: string; } export interface ReflectionResult { sessionId: string; verified: boolean; usefulTools: string[]; wastefulTools: string[]; successfulSequence: string[]; avoidPaths: string[]; candidates: CandidateLesson[]; } export declare function reflectOnSession(input: ReflectionInput): Promise;