import { type AssistedAgentLessonInput } from "./lesson-assist.js"; import type { AgentLesson, AgentLessonInput } from "./types.js"; export interface AssistedAgentLessonResult { lesson: AgentLesson; redacted: boolean; } export interface LessonGovernanceReport { lessonCount: number; activeLessonCount: number; archivedLessonCount: number; sensitiveLessonCount: number; staleLessonCount: number; pruneCandidateIds: string[]; recommendations: string[]; } export interface LessonPruneResult { dryRun: boolean; archived: AgentLesson[]; candidates: AgentLesson[]; } export declare function readAgentLessons(root?: string): Promise; export declare function readSourceOfTruth(root?: string): Promise; export declare function addAgentLesson(input: AgentLessonInput, root?: string): Promise; export declare function assistAgentLesson(input: AssistedAgentLessonInput, root?: string): Promise; export declare function listAgentLessons(root?: string, options?: { includeArchived?: boolean; }): Promise; export declare function deleteAgentLesson(id: string, root?: string): Promise<{ deleted: true; id: string; }>; export declare function archiveAgentLesson(id: string, root?: string, reason?: string): Promise; export declare function redactAgentLesson(id: string, root?: string): Promise<{ lesson: AgentLesson; redactedFields: string[]; }>; export declare function pruneAgentLessons({ maxAgeDays, maxActive, dryRun, root, }?: { maxAgeDays?: number; maxActive?: number; dryRun?: boolean; root?: string; }): Promise; export declare function getLessonGovernanceReport({ maxAgeDays, maxActive, root, }?: { maxAgeDays?: number; maxActive?: number; root?: string; }): Promise; export declare function promoteAgentLessons({ to, filter, taskId, sourceArtifact, root, }: { to: "skill" | "rule" | "doc"; filter?: string; taskId?: string; sourceArtifact?: string; root?: string; }): Promise<{ artifact: string; lessons: AgentLesson[]; }>; export declare function writeSourceOfTruth(entries: unknown[], root?: string): Promise;