import { Graph } from '../../Class/Graph';
import { UnitBundleSpec } from '../../types/UnitBundleSpec';
import { Moment } from './../Moment';
export interface GraphAddUnitMomentData {
    unitId: string;
    bundle: UnitBundleSpec;
    path: string[];
    destroy?: boolean;
    parentId?: 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 GraphCloneUnitMomentData {
    unitId: string;
    newUnitId: string;
    path: string[];
}
export interface GraphCloneUnitMoment extends Moment<GraphCloneUnitMomentData> {
}
export declare function watchGraphCloneUnitEvent(event: 'clone_unit', graph: Graph, callback: (moment: GraphCloneUnitMoment) => void): () => void;
