import { FileSnapshot } from "../types/reversion.js";
export declare class ReversionService {
    private historyBaseDir;
    private rootSessionId;
    constructor(rootSessionId: string);
    private getFilePathHash;
    private getNextVersion;
    private updateVersionsFile;
    /**
     * Saves a single snapshot to the file history directory.
     * Returns the snapshot path.
     */
    saveSnapshot(snapshot: FileSnapshot): Promise<string>;
    /**
     * Reads snapshot content from the given path.
     */
    readSnapshotContent(snapshotPath: string): Promise<string | null>;
    /**
     * Deletes all snapshots for this session.
     */
    deleteSessionHistory(): Promise<void>;
    private ensureDirectory;
}
//# sourceMappingURL=reversionService.d.ts.map