export declare function lessonListCommand(): Promise; export declare function lessonAddCommand(text: string): Promise; /** * Archive a compiled rule by flipping its `status` to `'archived'`, setting * the `archivedReason`, stamping `archivedAt` on first transition, and * refreshing the compile manifest so `totem verify-manifest` passes on the * next push (mmnto-ai/totem#1587). * * Atomic surface matches `rulePromoteCommand` (rule.ts:300-394): preflight * the manifest read BEFORE mutating compiled-rules.json so a missing or * corrupt manifest fails loud without leaving the rules file half-written. * Tmp-file + rename on the rules write prevents torn writes if the process * crashes mid-save. * * Idempotent on rerun. First archive transition owns `archivedAt`; * subsequent invocations refresh `archivedReason` only. Matches the * canonical archive-script pattern standardized in mmnto-ai/totem#1625. * * Supersedes the hand-rolled `scripts/archive-bad-postmerge-*.cjs` pattern * for postmerge curation; the `/postmerge` skill calls this command * directly after Task 4 of mmnto-ai/totem#1587 ships. */ export declare function lessonArchiveCommand(id: string, opts: { reason?: string; }): Promise; //# sourceMappingURL=lesson.d.ts.map