/** * Checkpoint Service * * Manages task checkpoints for resumable work sessions. * Allows developers to pause and resume tasks without losing context. */ import type { Checkpoint, CheckpointIndex } from "../types/checkpoint.js"; /** * Service for managing task checkpoints and resumable work sessions. * * Allows saving, resuming, and managing checkpoints that preserve * task context across development sessions. */ export declare class CheckpointService { private projectRoot; private checkpointsPath; private indexPath; /** * @param projectRoot - Root directory of the project */ constructor(projectRoot: string); /** * Initialize checkpoints directory */ initialize(): Promise; /** * Save a checkpoint */ saveCheckpoint(checkpoint: Partial): Promise; /** * Load a checkpoint by ID */ loadCheckpoint(checkpointId: string): Promise; /** * Get the latest checkpoint */ getLatestCheckpoint(): Promise; /** * List all checkpoints */ listCheckpoints(limit?: number): Promise; /** * Clear a checkpoint */ clearCheckpoint(checkpointId: string): Promise; /** * Clear all checkpoints */ clearAllCheckpoints(): Promise; /** * Mark checkpoint as active/inactive */ setCheckpointActive(checkpointId: string, isActive: boolean): Promise; /** * Update index with new checkpoint */ private updateIndex; /** * Format checkpoint as resume context */ formatCheckpointAsContext(checkpoint: Checkpoint): string; } //# sourceMappingURL=checkpoint-service.d.ts.map