/**
 * NodeAdd — adds a node to the graph with a causal dot.
 */
import { Dot } from '../../crdt/Dot.ts';
import Op from './Op.ts';
import type WarpState from '../../services/state/WarpState.ts';
import type OpOutcomeResult from './OpOutcomeResult.ts';
import type { MutablePatchDiff } from '../PatchDiff.ts';
import type { SnapshotBeforeOp } from './SnapshotBeforeOp.ts';
export default class NodeAdd extends Op<'NodeAdd'> {
    readonly receiptName: "NodeAdd";
    readonly node: string;
    readonly dot: Dot;
    constructor(node: string, dot: Dot);
    validate(): void;
    mutate(state: WarpState): void;
    outcome(state: WarpState): OpOutcomeResult;
    snapshot(state: WarpState): SnapshotBeforeOp;
    accumulate(diff: MutablePatchDiff, state: WarpState, before: SnapshotBeforeOp): void;
}
