export interface SessionRecord { id: string; timestamp: string; project_root: string; summary: string; decisions: string[]; next_steps: string[]; tags: string[]; mode?: string; persona?: string; } export interface SessionMemorySettings { enabled: boolean; path: string; maxEntries: number; } export interface SaveSessionOptions { codexHome?: string; projectRoot: string; summary: string; decisions: string[]; nextSteps: string[]; tags: string[]; mode?: string; persona?: string; now?: Date; } export interface SaveSessionResult { settings: SessionMemorySettings; record: SessionRecord | null; saved: boolean; } export interface LoadSessionOptions { codexHome?: string; projectRoot?: string; recent?: number; } export interface LoadSessionResult { settings: SessionMemorySettings; records: SessionRecord[]; totalRecords: number; } export interface ReflectSessionOptions { codexHome?: string; projectRoot?: string; recent?: number; } export interface SessionReflection { latest: SessionRecord; decisions: string[]; pending_next_steps: string[]; recommended_command: string; covered_checkpoints: number; } export interface ReflectSessionResult { settings: SessionMemorySettings; reflection: SessionReflection | null; totalRecords: number; } export declare function getSessionMemorySettings(codexHome?: string): Promise; export declare function saveSessionCheckpoint(options: SaveSessionOptions): Promise; export declare function loadSessionCheckpoints(options?: LoadSessionOptions): Promise; export declare function reflectSession(options?: ReflectSessionOptions): Promise;