/**
 * Living Docs Chunked Execution for Auto Mode
 *
 * Enables living docs to run in auto mode with:
 * - Time-boxed chunks (2 hours max per iteration)
 * - Checkpoint/resume across iterations
 * - Stop hook integration
 * - Phase-by-phase progress tracking
 */
export interface LivingDocsCheckpoint {
    currentPhase: Phase;
    completedPhases: Phase[];
    phaseProgress: Record<string, any>;
    startTime: string;
    lastUpdate: string;
    totalPhases: number;
}
export type Phase = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H';
export interface ChunkedExecutionOptions {
    maxDuration: number;
    checkpoint?: LivingDocsCheckpoint;
    stopOnPhaseComplete: boolean;
    projectPath: string;
}
export interface ChunkResult {
    status: 'phase_complete' | 'time_limit' | 'all_complete';
    currentPhase?: Phase;
    nextPhase?: Phase;
    progress?: Record<string, any>;
}
/**
 * Load checkpoint from filesystem
 */
export declare function loadLivingDocsCheckpoint(projectPath: string): LivingDocsCheckpoint | null;
/**
 * Save checkpoint to filesystem
 */
export declare function saveLivingDocsCheckpoint(projectPath: string, checkpoint: LivingDocsCheckpoint): void;
/**
 * Get next phase in sequence
 */
export declare function getNextPhase(currentPhase: Phase): Phase | null;
/**
 * Get phase name for display
 */
export declare function getPhaseName(phase: Phase): string;
/**
 * Initialize checkpoint for new execution
 */
export declare function initializeCheckpoint(): LivingDocsCheckpoint;
/**
 * Execute living docs in chunked mode for auto mode integration
 *
 * This breaks the living docs update into time-boxed chunks that can be
 * controlled by the auto mode stop hook.
 */
export declare function executeLivingDocsChunk(options: ChunkedExecutionOptions): Promise<ChunkResult>;
/**
 * Clean up checkpoint after completion
 */
export declare function cleanupCheckpoint(projectPath: string): void;
/**
 * Get current progress summary
 */
export declare function getProgressSummary(checkpoint: LivingDocsCheckpoint): string;
//# sourceMappingURL=living-docs-executor.d.ts.map