import { HistorySnapshotAdapter, ParticipantHistorySnapshot } from './types.js';
export interface BatchHistoryRecord {
    /** Optional human-readable description (telemetry, not required). */
    label?: string;
    /** Invoked when the coordinator undoes this batch. Return false on failure. */
    undo: () => boolean | void;
    /** Invoked when the coordinator redoes this batch. Return false on failure. */
    redo: () => boolean | void;
}
export declare class BatchHistoryAdapter implements HistorySnapshotAdapter {
    #private;
    record(batch: BatchHistoryRecord): void;
    getSnapshot(): ParticipantHistorySnapshot;
    undo(): boolean;
    redo(): boolean;
    subscribe(onChange: () => void): () => void;
}
//# sourceMappingURL=batch-history-adapter.d.ts.map