import type { DynamicContext, MementoOriginator } from 'ag-charts-core';
import type { AgActiveItemState, AgActiveState } from 'ag-charts-types';
import type { ChartRegistry } from '../../module/moduleContext';
import type { DatumIndexType, SeriesNodeDatum } from '../series/seriesTypes';
type ActiveItem = AgActiveItemState | undefined;
type DatumArg = Readonly<SeriesNodeDatum<DatumIndexType>> | undefined;
/**
 * This class implements the (de-)serialisation of `AgChartState['active']`.
 */
export declare class ActiveManager implements MementoOriginator<AgActiveState> {
    mementoOriginatorKey: string;
    private readonly ctx;
    private currentItem?;
    private updateable;
    private didLayout;
    private pendingMemento;
    constructor(ctx: DynamicContext<ChartRegistry>);
    private isFrozen;
    clear(): boolean;
    update(newItemState: ActiveItem, nodeDatum: DatumArg): boolean;
    private performUpdate;
    createMemento(): AgActiveState;
    private createMementoWithItem;
    guardMemento(blob: unknown, messages: string[]): blob is AgActiveState | undefined;
    restoreMemento(version: string, mementoVersion: string, memento: AgActiveState | undefined): void;
    private performRestoration;
}
export {};
