/** * Revert orchestrator: truncates conversation history, cleans derived data * (embeddings, summaries), and optionally restores git state. */ import type { HistoryStore } from './history.js'; import { type GitSnapshot, type RestoreResult } from './snapshots.js'; export interface RevertResult { success: boolean; removedCount: number; removedIds: string[]; gitResult?: RestoreResult; error?: string; } export interface RevertOptions { restoreGit?: boolean; gitSnapshot?: GitSnapshot; } /** * Execute a full revert: truncate history, clean embeddings/summaries, * and optionally restore git state. */ export declare function executeRevert(historyStore: HistoryStore, targetMessageId: string, options?: RevertOptions): Promise; //# sourceMappingURL=revert.d.ts.map