import { Graph } from '../../Class/Graph';
import { UnitBundleSpec } from '../../types/UnitBundleSpec';
import { Moment } from './../Moment';
export interface GraphAddUnitMomentData {
    unitId: string;
    bundle: UnitBundleSpec;
    path: string[];
}
export interface GraphAddUnitMoment extends Moment<GraphAddUnitMomentData> {
}
export declare function watchGraphUnitEvent(event: 'add_unit' | 'remove_unit', graph: Graph, callback: (moment: GraphAddUnitMoment) => void): () => void;
export interface GraphSpecCloneUnitMomentData {
    unitId: string;
    newUnitId: string;
    path: string[];
}
export interface GraphSpecCloneUnitMoment extends Moment<GraphSpecCloneUnitMomentData> {
}
export declare function watchGraphUnitCloneEvent(event: 'clone_unit', graph: Graph, callback: (moment: GraphSpecCloneUnitMoment) => void): () => void;
