import type { MementoOriginator } from 'ag-charts-core';
import type { EventsHub } from '../../core/eventsHub';
export declare class HistoryManager {
    private history;
    private historyIndex;
    private readonly originators;
    private readonly clearState;
    private readonly maxHistoryLength;
    private readonly debug;
    private readonly cleanup;
    constructor(eventsHub: EventsHub);
    destroy(): void;
    addMementoOriginator(originator: MementoOriginator): void;
    clear(): void;
    record(label: string, ...originators: Array<MementoOriginator>): void;
    undo(): void;
    redo(): void;
    private findPreviousMemento;
    private restoreMemento;
    private debugEvent;
}
