import type { CheckpointInfo, RewindResultExtended, SessionRewinder } from '../types/session-rewinder.js'; export interface SessionRewinderOptions { sessionsDir: string; /** The project root directory; used to validate rewind targets stay inside it. */ projectRoot: string; } /** * Rewind engine that reads session JSONL files and reverts file system * changes to any previous checkpoint. */ export declare class DefaultSessionRewinder implements SessionRewinder { private readonly sessionsDir; private readonly projectRoot; constructor(sessionsDir: string, projectRoot: string); private sessionFile; private readEvents; listCheckpoints(sessionId: string): Promise; rewindToCheckpoint(sessionId: string, checkpointIndex: number): Promise; rewindLastN(sessionId: string, n: number): Promise; rewindToStart(sessionId: string): Promise; } //# sourceMappingURL=session-rewinder.d.ts.map