import { AnnotationMetadata } from '../types/annotations.js'; import { EnhancedHistoryEntry, HistoryEntry } from '../types/history.js'; interface HistorySaveOptions { templatePath: string; templateContent: string; variables: Map; finalPrompt: string; title?: string; summary?: string; timestamp?: Date; outputFile?: string; outputSize?: number; executionTime?: number; exitCode?: number | null; filenameComponents?: { dateStr: string; timeStr: string; randomSuffix: string; }; rerunFrom?: string; } export declare class HistoryManager { private historyDir; private annotationDir?; constructor(historyDir: string, annotationDir?: string | undefined); savePrompt(options: HistorySaveOptions): Promise; listHistory(limit?: number, filterOptions?: { gitDir?: string; workingDir?: string; includeLegacy?: boolean; }): Promise; getTotalCount(filterOptions?: { gitDir?: string; workingDir?: string; includeLegacy?: boolean; }): Promise; getHistoryEntry(index: number): Promise; getAnnotationsForHistoryEntry(historyEntry: HistoryEntry): Promise; private maskSensitiveVariables; saveAnnotation(historyEntry: HistoryEntry | EnhancedHistoryEntry, metadata: AnnotationMetadata, notes?: string): Promise; } export {}; //# sourceMappingURL=history-manager.d.ts.map