import type { LessonStatus } from './gate.js';
import type { WedgeLesson } from './store.js';
/** gate.rs MAX_APPLIED_SESSION_IDS — cap applied_session_ids growth. */
export declare const MAX_APPLIED_SESSION_IDS = 50;
/** Write `<sourceDir>/<status>/<id>.md` atomically (dir DERIVED from `lesson.status`). */
export declare function writeWedgeRecord(sourceDir: string, lesson: WedgeLesson): Promise<void>;
/** Remove `<sourceDir>/<status>/<id>.md` (the OLD status file on a move). Idempotent. */
export declare function deleteWedgeRecord(sourceDir: string, status: LessonStatus, id: string): Promise<void>;
/** Read every `<sourceDir>/<status>/*.md` back into `WedgeLesson[]` (RES-3d rebuild). */
export declare function readWedgeRecords(sourceDir: string): Promise<WedgeLesson[]>;
//# sourceMappingURL=source.d.ts.map