import { Functional } from '../../../../../Class/Functional';
import { Done } from '../../../../../Class/Functional/Done';
import { System } from '../../../../../system';
import { GraphBundle } from '../../../../../types/GraphClass';
import { UnitBundleSpec } from '../../../../../types/UnitBundleSpec';
import { $G } from '../../../../../types/interface/async/$G';
export interface I<T> {
    id: string;
    unit: UnitBundleSpec;
    graph: $G;
}
export interface O<T> {
    graph: GraphBundle;
}
export default class AddUnit0<T> extends Functional<I<T>, O<T>> {
    constructor(system: System);
    f({ id, unit, graph }: I<T>, done: Done<O<T>>): void;
}
