import { Component } from '../../../../../client/component';
import { Context } from '../../../../../client/context';
import { Element } from '../../../../../client/element';
import { LayoutNode } from '../../../../../client/LayoutNode';
import { SimLink, SimNode } from '../../../../../client/simulation';
import { Point, Position, Shape, Size } from '../../../../../client/util/geometry';
import { Zoom } from '../../../../../client/zoom';
import { Moment } from '../../../../../debug/Moment';
import { TreeNode } from '../../../../../spec/parser';
import { System } from '../../../../../system';
import { Tree } from '../../../../../Tree';
import { Classes, GraphMergeSpec, GraphMergesSpec, GraphPinSpec, GraphPlugOuterSpec, GraphSpec, GraphSubComponentSpec, GraphSubPinSpec, GraphUnitPinOuterSpec, GraphUnitSpec, GraphUnitsSpec, Spec, Specs } from '../../../../../types';
import { BundleSpec } from '../../../../../types/BundleSpec';
import { Callback } from '../../../../../types/Callback';
import { Dict } from '../../../../../types/Dict';
import { IHTMLDivElement } from '../../../../../types/global/dom';
import { $Component } from '../../../../../types/interface/async/$Component';
import { $Graph } from '../../../../../types/interface/async/$Graph';
import { IO } from '../../../../../types/IO';
import { IOOf, _IOOf } from '../../../../../types/IOOf';
import Div from '../../Div/Component';
import Frame from '../../Frame/Component';
import SVGPath from '../../svg/Path/Component';
import Transcend from '../Transcend/Component';
export declare const UNIT_NAME_MAX_SIZE: number;
export declare const NEAR = 36;
export declare const getLeafId: (leafPath: string[]) => string;
export declare const OPPOSITE_MOMENT_EVENT: {
    data: string;
    drop: string;
};
export declare const getOppositeMoment: (moment: any) => any;
export declare const SUBGRAPH_MAX_D: number;
export declare const NOT_SUBGRAPH_MAX_D: number;
export declare const describeArrowSemicircle: (r: number) => string;
export declare const describeArrowShape: (shape: Shape, r: number) => string;
export declare const animateSimulateTick: (n: Dict<number>, _n: Dict<number>, ff: [string, number][], tick: (n: Dict<number>) => void) => boolean;
export declare const animateSimulate: (system: System, n0: Dict<number>, n1: () => Dict<number>, ff: [string, number][], tf: (n: Dict<number>) => void, callback: () => void | boolean) => Callback;
export declare const ARROW_NONE = "";
export declare const ARROW_MEMORY = "M-6,4 L0,1 L-6,-2";
export declare const ARROW_NORMAL = "M-0.25,2.25 L2,1 L-0.25,-0.25";
export declare const ARROW_FLAT = "M0,8 L0,-5.5";
export declare const ARROW_SEMICIRCLE: string;
export declare const ID_ARROW_MEMORY = "id-arrow-memory";
export declare const ID_ARROW_NORMAL = "id-arrow-normal";
export declare const ID_ARROW_SEMICIRCLE = "id-arrow-semicircle";
export declare const LAYOUT_HORIZONTAL_PADDING = 45;
export declare const LAYOUT_VERTICAL_PADDING = 80;
export declare const ANIMATION_DELTA_TRESHOLD = 0.1;
export declare const KEYBOARD_POINTER_ID = -1;
export interface LinkProps {
    style?: Dict<string>;
    className?: string;
    hidden?: boolean;
    stroke?: string;
    opacity?: number;
    strokeWidth?: number;
    strokeDasharray?: number;
    text?: string;
    textHidden?: boolean;
    textDy?: number;
    textOpacity?: number;
    showStart?: boolean;
    showEnd?: boolean;
    startMarker?: SVGPath | null;
    startMarkerX?: number;
    endMarker?: SVGPath | null;
    endMarkerX?: number;
}
export interface LinkArrowOpt {
    fill?: string;
}
export interface LinkMarkerOpt {
    component?: Element | null;
    x?: number;
}
export declare type UnitPinPosition = IOOf<Dict<Position>>;
export interface ExposedPosition {
    internal: Position;
    external: Position;
}
export interface SelectionOpt {
    className?: string;
    style?: object;
    width: number;
    height: number;
    paddingX?: number;
    paddingY?: number;
    shape: Shape;
    strokeWidth?: number;
    strokeDasharray?: string;
    stroke?: string;
}
export interface AreaOpt {
    className?: string;
    width: number;
    height: number;
    style?: Dict<string>;
}
export interface _Props {
    className?: string;
    style?: Dict<string>;
    disabled?: boolean;
    fullwindow?: boolean;
    parent?: _Editor;
    pod: $Graph;
    component: Component;
    frame?: Component<HTMLElement>;
    frameOut?: boolean;
    zoomable?: boolean;
    minZoom?: number;
    maxZoom?: number;
    zoom?: Zoom;
    zoomTranslate?: boolean;
    zoomDraggable?: boolean;
    animate?: boolean;
    specs: Specs;
    getSpec: (id: string) => Spec;
    addSpec: (spec: GraphSpec) => string;
    setSpec: (id: string, spec: GraphSpec) => void;
    forkSpec: (spec: GraphSpec) => [string, GraphSpec];
}
export interface DefaultProps {
    style: Dict<string>;
    zoomable: boolean;
    minZoom: number;
    maxZoom: number;
    zoomTranslate: boolean;
    zoomDraggable: boolean;
    animate: boolean;
}
export declare type ReconnectUnitPlugsOpt = IOOf<Dict<{
    pinId: string;
    subPinId: string;
}>>;
export declare type ReconnectUnitMergesOpt = GraphMergesSpec;
export declare type ReconnectUnitDataOpt = IOOf<Dict<TreeNode>>;
export declare type ReconnectUnitOpt = {
    merges: ReconnectUnitMergesOpt;
    plugs: ReconnectUnitPlugsOpt;
    data: ReconnectUnitDataOpt;
};
export declare type ReconnectUnitMeta = {
    position?: {
        merges: Dict<Position>;
        data: Dict<Position>;
    };
    selected: {
        links: IOOf<Set<string>>;
        merges: string[];
    };
};
export declare type ReconnectMergeOpt = _IOOf<{
    mergeId: string;
    merge: GraphMergeSpec;
    data: string | null;
}>;
export declare type ReconnectMergePlugOpt = IOOf<{
    pinId: string;
    subPinId: string;
} | {
    pinId: null;
    subPinId: null;
}>;
export declare type ReconnectMergeMeta = {
    position?: Position;
    selected: {
        pins: {
            unitId: string;
            type: IO;
            pinId: string;
        }[];
    };
};
export declare type InjectSubComponentOpt = {
    children: string[];
    spec: GraphSubComponentSpec;
    parent_id: string | null;
    index: number;
    width: number;
    height: number;
};
export declare type UnitPlugs = IOOf<Dict<{
    pinId: string;
    subPinId: string;
}>>;
export declare const ZOOM_INTENSITY = 0.05;
export declare const NOT_SELECTED_AREA: {
    x0: number;
    y0: number;
    x1: number;
    y1: number;
};
export declare const NODE_PADDING: number;
export declare const MODE_TO_KEY: Dict<string>;
export declare const hasPinId: (spec: Spec, type: IO, pinId: string) => boolean;
export declare const newSpecPinId: (spec: GraphSpec, type: IO, start: string, blacklist?: Set<string>) => string;
export declare const newSpecPinIdStart: (spec: GraphSpec, type: IO) => string;
export declare const newSubPinId: (pinSpec: GraphPinSpec) => string;
export declare const LAYER_NONE = 0;
export declare const LAYER_NORMAL = 1;
export declare const LAYER_COLLAPSE = 2;
export declare const LAYER_SEARCH = 3;
export declare const LAYER_IGNORED = 4;
export declare const LAYER_EXPOSED = 5;
export declare const LAYER_DATA_LINKED = 6;
export declare const LAYER_DATA = 7;
export declare const LAYER_ERR = 8;
export declare const LAYER_TYPE = 9;
export declare const NODE_MASS_RELATIVE: number[][];
export declare const LINK_MASS_RELATIVE: number[][];
export declare const SUBGRAPH_RELATIVE_MAX_L: number[][];
export declare const NOT_SUBGRAPH_RELATIVE_MAX_D: number[][];
export declare type GraphSimLink = SimLink<{
    type: string;
    head: number;
}>;
export declare type GraphSimLinks = Dict<GraphSimLink>;
export declare type GraphSimNode = SimNode<{
    layer: number;
}>;
export declare type GraphSimNodes = Dict<GraphSimNode>;
export declare const _getTree: (value: string) => TreeNode;
export declare const _getValueTree: (value: string) => TreeNode;
export declare const _evaluate: (value: string, specs: Specs, classes: Classes) => any;
export interface Props {
    className?: string;
    style?: Dict<string>;
    disabled?: boolean;
    graph?: $Graph;
    editor?: _Editor;
    fullwindow?: boolean;
    component?: Component;
    frame?: $Component;
    fallback?: Component<HTMLElement>;
    background?: Div;
    transcend?: Transcend;
    root?: Frame;
    zoom?: Zoom;
    animate?: boolean;
}
export declare const EDITOR_SPEC_ID = "e80c912e-7508-11ea-966b-436805345ff0";
export default class Editor extends Element<IHTMLDivElement, Props> {
    private _root;
    private _editor;
    private _component;
    private _fallback_frame;
    private _transcend;
    private _fallback_graph;
    private pod;
    private _frame;
    private _frame_out;
    private _background;
    private _unlisten_graph;
    private _unlisten_transcend;
    constructor($props: Props, $system: System);
    moment(path: any, data: {
        type: 'unit' | 'graph';
        moment: Moment;
    }): void;
    private _add_spec;
    private _set_spec;
    private _fork_spec;
    private _get_spec;
    private _create_fallback_frame;
    private _listen_graph;
    private _listen_transcend;
    private _reset_graph;
    private _reset_frame;
    private _on_transcend_long_press;
    private _on_transcend_long_click;
    private _on_transcend_long_click_cancel;
    private _context_unlisten;
    onMount(): void;
    onUnmount(): void;
    private _on_context_enabled;
    private _on_context_disabled;
    private _refresh_fallback_graph_paused;
    private _on_compose;
    private _on_transcend;
    private _on_enter_fullwindow;
    private _on_leave_fullwindow;
    private _on_zoom;
    onPropChanged(prop: string, current: any): void;
}
export declare type LayoutLayer = {
    layer: Div;
    height: Div;
    children: Div;
    layers: Div;
    foreground: Div;
    child_foreground: Div;
};
export declare type LayoutLeaf = [string[], Component];
export declare type LayoutBase = LayoutLeaf[];
export declare type LayoutTree = Tree<Component>;
export declare type TraitTree = Tree<LayoutNode>;
export declare type GraphCollapseMap = {
    unit_ids: string[];
    merge_ids: string[];
    link_pins: GraphUnitPinOuterSpec[];
    plugs: GraphPlugOuterSpec[];
    datum_ids: string[];
    next_id_map: {
        unit: Dict<string>;
        link: Dict<IOOf<Dict<{
            mergeId: string;
            oppositePinId: string;
        }>>>;
        plug: _IOOf<Dict<Dict<{
            mergeId: string;
            type: IO;
        }>>>;
        merge: Dict<string>;
    };
    next_unit_pin_map: Dict<IOOf<Dict<{
        pinId: string;
        subPinId: string;
        ref: boolean;
        defaultIgnored: boolean;
    }>>>;
    next_unit_pin_merge_map: Dict<IOOf<Dict<string>>>;
    next_merge_pin_map: Dict<IOOf<{
        mergeId: string;
        pinId: string;
        subPinSpec: GraphSubPinSpec;
    }>>;
    next_plug_spec_map: IOOf<Dict<Dict<GraphSubPinSpec>>>;
    sub_component_parent_id_map: Dict<string | null>;
    sub_component_index_map: Dict<number>;
    sub_component_children_map: Dict<string[]>;
    sub_component_next_children: Dict<string[]>;
};
export declare class _Editor extends Element<IHTMLDivElement, _Props> {
    private _spec;
    private _disabled;
    private _focused;
    private _main;
    private _foreground;
    private _subgraph;
    private _graph;
    private _unlisten_minimap;
    private _minimap_screen;
    private _minimap_pointer_down;
    private _subgraph_cache;
    private _subgraph_pod_cache;
    private _subgraph_graph;
    private _subgraph_unit_id;
    private _subgraph_depth;
    private _subgraph_unlisten;
    private _is_fullwindow;
    private _is_all_fullwindow;
    private _zoom;
    private _touch_zoom_position_start;
    private _zoom_timeout;
    private _touch_zoom_position;
    private _touch_zoom_d;
    private _zooming;
    private _translating;
    private _translate_x;
    private _translate_y;
    private _unit_datum;
    private _layout_comp;
    private _layout_root;
    private _layout_layer;
    private _layout_scroll_animation;
    private _layout_core;
    private _between_container;
    private _leaf_style;
    private _leaf_attr;
    private _leaf_frame;
    private _leaf_frame_active;
    private _leaf_frame_layer;
    private _leaf_frame_node;
    private _layout_parent_children_animation_frame;
    private _layout_transfer_parent_animating;
    private _layout_transfer_parent_leaf;
    private _layout_transfer_parent_leaf_sub_component_id;
    private _layout_transfer_parent_leaf_path;
    private _layout_transfer_parent_leaf_comp;
    private _layout_transfer_parent_leaf_count;
    private _layout_transfer_parent_leaf_end_count;
    private _layout_transfer_parent_leaf_end_set;
    private _layout_transfer_parent_leaf_slot_style;
    private _layout_transfer_parent_leaf_style;
    private _layout_transfer_parent_remaining_child;
    private _zoom_comp;
    private _zoom_comp_alt;
    private _node_comp;
    private _node_content;
    private _node_selection;
    private _link_comp;
    private _link_base;
    private _link_base_area;
    private _link_text;
    private _link_text_value;
    private _link_text_path;
    private _link_marker_end;
    private _link_marker_start;
    private _core;
    private _core_content;
    private _core_area;
    private _core_icon;
    private _core_name;
    private _core_description;
    private _edit_node_name_id;
    private _core_component_overlay;
    private _core_component_resize;
    private _layout_core_children_counter;
    private _core_component_frame;
    private _core_component_self;
    private _core_component_max_width;
    private _core_component_max_height;
    private _core_component_max_width_id;
    private _core_component_max_height_id;
    private _core_layout_core_unlisten;
    private _core_component_frame_context;
    private _core_component_unlocked;
    private _core_component_unlocked_count;
    private _pin;
    private _pin_name;
    private _link_pin_ref_set;
    private _link_pin_input_set;
    private _link_pin_output_set;
    private _pin_link_start_marker;
    private _pin_link_end_marker;
    private _link_pin_constant_count;
    private _link_pin_memory_count;
    private _exposed_pin_set_count;
    private _exposed_pin_plugged_count;
    private _exposed_pin_unplugged_count;
    private _ext_pin_name;
    private _exposed_link_start_marker;
    private _exposed_link_end_marker;
    private _exposed_int_plugged;
    private _exposed_ext_plugged;
    private _exposed_ext_unplugged;
    private _exposed_int_unplugged;
    private _merge;
    private _merge_input;
    private _merge_output;
    private _datum_container;
    private _datum_area;
    private _datum;
    private _datum_overlay;
    private _datum_unlisten;
    private _err_comp;
    private _err_area;
    private _err_overlay;
    private _edit_datum_id;
    private _edit_datum_node_id;
    private _edit_datum_path;
    private _edit_datum_commited;
    private _type_container;
    private _type;
    private _node_unlisten;
    private _link_unlisten;
    private _node;
    private _node_fixed;
    private _node_draggable;
    private _link_force_count_k;
    private _node_link_count;
    private _node_link_heap_root;
    private _node_link_heap;
    private _node_type;
    private _link_type;
    private _selection_opt;
    private _link;
    private _none_link;
    private _pin_link;
    private _exposed_link;
    private _data_link;
    private _type_link;
    private _collapse_link;
    private _search_link;
    private _ignored_link;
    private _visible_data_link;
    private _err_link;
    private _unit_node;
    private _pin_node;
    private _normal_node;
    private _data_node;
    private _err_node;
    private _type_node;
    private _collapse_node;
    private _search_node;
    private _ignored_node;
    private _exposed_node;
    private _exposed_ext_node;
    private _exposed_int_node;
    private _visible_data_node;
    private _hidden_data_node;
    private _linked_data_node;
    private _visible_linked_data_node;
    private _visible_unlinked_data_node;
    private _unlinked_data_node;
    private _layer_node;
    private _layer_link;
    private _err;
    private _unit_to_unit;
    private _node_count;
    private _unit_count;
    private _unit_component_count;
    private _unit_active_pin_count;
    private _component_nodes;
    private _pressed_node_pointer_count;
    private _node_pressed_count;
    private _pressed_node_count;
    private _pressed_node_id_pointer_id;
    private _pointer_id_pressed_node_id;
    private _pointer_id_hover_link_id;
    private _link_id_hover_pointer_id;
    private _drag_count;
    private _drag_node_id;
    private _drag_node_pointer_id;
    private _drag_ext_node_id;
    private _drag_ext_node_count;
    private _dropped_node_id;
    private _drag_and_drop;
    private _drag_and_drop_pointer;
    private _drag_and_drop_bundle;
    private _drag_and_drop_cancel;
    private _transcend_pointer_id;
    private _transcend_timeout;
    private _transcend_on_pointer_up;
    private _static;
    private _static_position;
    private _static_count;
    private _static_subgraph_anchor;
    private _static_subgraph_anchor_count;
    private _hover_node_count;
    private _hover_node_pointer_count;
    private _hover_node_id;
    private _hover_node_id_pointer_id;
    private _pointer_id_hover_node_id;
    private _selected_node_count;
    private _selected_node_id;
    private _selected_component_count;
    private _selected_component;
    private _compatible_node_id;
    private _compatible_node_count;
    private _resize_pointer_count;
    private _resize_node_id_pointer_id;
    private _resize_pointer_id_node_id;
    private _fullwindow_component_set;
    private _fullwindow_component_ids;
    private _datum_tree;
    private _datum_to_pin;
    private _pin_to_datum;
    private _datum_to_plug;
    private _plug_to_datum;
    private _pin_datum_tree;
    private _pin_to_int;
    private _pin_to_ext;
    private _pin_to_merge;
    private _pin_invalid_set;
    private _merge_to_pin;
    private _merge_to_input;
    private _merge_to_output;
    private _merge_pin_count;
    private _merge_output_count;
    private _merge_active_output_count;
    private _merge_input_count;
    private _merge_active_input_count;
    private _merge_ref;
    private _merge_to_ref_unit;
    private _merge_to_ref_output;
    private _ref_unit_to_merge;
    private _ref_output_to_merge;
    private _ref_output_pin_icon;
    private _node_graph;
    private _node_to_subgraph;
    private _subgraph_to_node;
    private _node_layer;
    private _link_layer;
    private _layout_node;
    private _layout_target_node;
    private _layout_core_abort_animation;
    private _layout_core_animating;
    private _layout_path;
    private _layout_component_count;
    private _sub_component_parent;
    private _layout_dragging;
    private _layout_drag_node_count;
    private _layout_drag_node;
    private _layout_drag_index;
    private _layout_drag_direction;
    private _layout_drag_start_scroll_top;
    private _layout_drag_start_scroll_height;
    private _layout_drag_swap;
    private _layout_drag_swap_index;
    private _layout_drag_start_children;
    private _layout_drag_start_position;
    private _layout_drag_init_position;
    private _pointer_down;
    private _pointer_down_position;
    private _pointer_down_count;
    private _pointer_position;
    private _pointer_down_move_count;
    private _long_press_pointer;
    private _long_press_count;
    private _long_press_screen_position;
    private _long_press_background_pointer;
    private _long_press_background_count;
    private _long_press_collapsing;
    private _long_press_collapse_pointer_to_unit;
    private _long_press_collapse_screen_position;
    private _long_press_collapse_world_position;
    private _long_press_collapse_unit_id;
    private _long_press_collapse_next_unit_id;
    private _long_press_collapse_next_spec_id;
    private _long_press_collapse_next_spec;
    private _long_press_collapse_unit_next_pin_map;
    private _long_press_collapse_merge_next_pin_map;
    private _long_press_collapse_next_plug_spec_map;
    private _long_press_collapse_datum_id;
    private _long_press_collapse_datum_node_id;
    private _long_press_collapse_remaining;
    private _long_press_collapse_end_set;
    private _long_press_collapse_sub_component_parent_id;
    private _long_press_collapse_sub_component_index;
    private _long_press_collapse_sub_component_children;
    private _long_press_collapse_sub_component_next_parent_id;
    private _long_press_collapse_sub_component_next_children;
    private _long_press_collapse_next_map;
    private _long_press_collapse_node_id;
    private _long_press_collapse_start_node_id;
    private _long_press_collapse_units;
    private _long_press_collapse_link_pins;
    private _long_press_collapse_merges;
    private _long_press_collapse_plugs;
    private _long_press_collapse_next_id_map;
    private _multiselect_area_svg;
    private _multiselect_area_svg_rect;
    private _multiselect_area_start_position;
    private _multiselect_area_rect;
    private _multiselect_area_node;
    private _multiselect_area_ing;
    private _simulation;
    private _simulation_layer;
    private _simulation_end;
    private _long_click_compose_timeout;
    private _debug_interval;
    private _debug_buffer;
    private _debug_cursor;
    private _control_lock;
    private _temp_control_lock;
    private _temp_control_unlock;
    private _search_lock;
    private _search_hidden;
    private _search_start_unit_id;
    private _search_start_spec_id;
    private _search_start_component_index;
    private _search_unit_id;
    private _search_unit_spec_id;
    private _search_unit_graph_position;
    private _search_unit_component_size;
    private _search_unit_merges;
    private _search_unit_ref_merge_id;
    private _search_unit_ref_merge;
    private _search_unit_input_count;
    private _search_unit_output_count;
    private _search_fallback_position;
    private _search_unit_merged_pin_ids;
    private _search_option_valid_pin_matches;
    private _search_unit_exposed_pin_ids;
    private _search_unit_merged_pin_index;
    private _search_unit_exposed_pin_index;
    private _search_unit_exposed_pin_count;
    private _search_unit_datum_id;
    private _search_unit_datum_node_id;
    private _search_unit_datum_spec_id;
    private _search_next_unit_spec_id;
    private _mode;
    private _mode_pointer;
    private _cancel_click;
    private _cancel_long_click;
    private _cancel_long_press;
    private _cancel_double_click;
    private _cancel_click_hold;
    private _cancel_node_long_click;
    private _swap_next_click_hold_long_press;
    private _capturing_gesture;
    private _restart_gesture;
    private _removing_err;
    private _tree_layout;
    private _green_drag;
    private _green_drag_node_id;
    private _green_drag_clone_id;
    private _yellow_drag;
    private _yellow_drag_node_id;
    private _yellow_drag_clone_id;
    private _blue_drag;
    private _blue_drag_init_id;
    private _blue_drag_init_start_position;
    private _blue_drag_init_pin_to_anchor;
    private _blue_drag_init_anchor_to_pin;
    private _blue_drag_init_merge_swap;
    private _blue_drag_hover_unit_id;
    private _blue_drag_hover_position;
    private _blue_drag_hover_merge_anchor;
    private _blue_drag_hover_merge_swap;
    private _animating_sub_component_fullwindow;
    private _animating_sub_component_base_id;
    private _abort_sub_component_enter_base_animation;
    private _abort_sub_component_leave_base_animation;
    private _gamepad_connection_unlisten;
    private _gamepad_unlisten;
    private _gamepad;
    private _abort_leave_fullwindow;
    private _abort_enter_fullwindow;
    _prevent_next_reset: boolean;
    private _refresh_theme;
    private _theme;
    private _component;
    private _frame_out;
    private _pod;
    private _x;
    private _y;
    private _sx;
    private _sy;
    private _width;
    private _height;
    private _q_was_pressed_before_name_focus;
    constructor($props: _Props, $system: System);
    private _last_open_filename;
    private _paste_file;
    private _spec_refresh_node_position;
    private __spec_refresh_node_position;
    private _disable;
    private _enable;
    private _enable_minimap;
    private _disable_minimap;
    private _init;
    private _load;
    private _context_unlisten;
    onDestroy(): void;
    private _component_unlisten;
    private _listen_component;
    private _on_component_escape_keydown;
    private _unlisten_component;
    onMount(): void;
    onUnmount(): void;
    get_subraph_depth: () => number;
    private _get_subgraph_pod;
    get_units: () => GraphUnitsSpec;
    private _get_unit;
    private _get_unit_ids;
    get_sub_component_frame_context: (sub_component_id: string) => Context;
    private _get_unit_bundle;
    private _pod_get_unit_deep_bundle;
    private _graph_remove_unit_ghost;
    private _graph_add_unit_ghost;
    private _get_unit_spec_name;
    private _get_unit_name;
    private _spec_get_merges;
    private _get_input;
    private _get_output;
    private _get_pin;
    private _get_inputs;
    private _get_outputs;
    private _get_merge;
    private _spec_has_merge;
    private _spec_has_unit;
    private __spec_has_merge;
    private _spec_get_merge;
    private _get_merge_by_node_id;
    private _get_unit_merges;
    private _get_unit_plugs;
    private _get_graph_unit_pin_spec;
    private _get_subgraph_unit_sub_component_parent_id;
    private _get_unit_pin_spec;
    private __get_unit_pin_spec;
    private _get_unit_spec_id;
    private _get_unit_spec;
    private _pod_get_unit_state;
    private _pod_get_graph_state;
    private _get_unit_component_spec;
    private _get_exposed_pin_spec;
    private _has_exposed_pin_named;
    private _has_exposed_input_named;
    private _has_exposed_output_named;
    private _get_exposed_sub_pin_spec;
    private _spec_get_pin_exposed_id;
    private _get_component_fallback_size;
    private _get_component_spec;
    private _get_unit_sub_component_spec;
    private _get_unit_data;
    private _get_unit_metadata;
    private _get_unit_metadata_component;
    private _get_unit_component_default_size;
    private _get_unit_component_layout_size;
    private _get_unit_component_graph_size;
    private _get_node_anchor_node_id;
    private _get_int_pin_anchor_node_id;
    private _get_merge_anchor_node_id;
    private _get_pin_anchor_node_id;
    private _get_datum_pin_anchor_node_id;
    private _has_input_merge;
    private _has_output_merge;
    private _is_input_only_merge;
    private _is_output_only_merge;
    private _is_link_pin_merged;
    private _spec_link_pin_ignored;
    private _spec_is_link_pin_ignored;
    private __spec_is_link_pin_ignored;
    private _is_link_pin_ref;
    private __is_link_pin_ref;
    private _is_link_pin_not_ref;
    private _is_link_pin_init;
    private _get_link_pin_init;
    private _get_link_pin_merge_id;
    private _get_link_pin_ref;
    private __get_link_pin_ref;
    private _is_merge_ref;
    private _is_graph_pin_ref;
    private _is_pin_ref;
    private _is_input_pin_ref;
    private _is_link_pin_constant;
    private _is_link_pin_memory;
    private _is_same_subgraph;
    private _reset_spec;
    private _reset;
    private _get_spec_init_unit_pin_position;
    get_spec: () => GraphSpec;
    get_max_component_graph_size_size(): Size;
    get_max_component_layout_size(): Size;
    get_sub_components_max_graph_size(sub_component_ids: string[]): Size;
    get_sub_components_max_layout_size(sub_component_ids: string[]): Size;
    get_sub_components_max_size__template(sub_component_ids: string[], get_size: (sub_component_id: string) => Size): Size;
    getZoom: () => Zoom;
    private _add_unit;
    private _state_add_unit;
    add_unit(unit_id: string, unit: GraphUnitSpec, position: Position, pin_position: UnitPinPosition, layout_position: Position, parent_id: string | null): void;
    private _dispatch_add_unit_action;
    private _dispatch_clone_unit_action;
    private _dispatch_action_add_merge;
    private _dispatch_action_remove_unit;
    private _dispatch_action_remove_merge;
    private _enter_all_sub_component_frame;
    _leave_all_sub_component_frame(): void;
    private _get_sub_component;
    private _get_sub_component_spec;
    private _spec_get_sub_component_children;
    private _decompose_sub_component;
    private _compose_sub_component;
    private _spec_add_unit;
    private _spec_append_component;
    private _spec_insert_component;
    private _animate_all_current_layout_layer_node;
    private _animate_all_layout_layer;
    private _animate_all_layout_layer_node;
    private _spec_update_metadata_complexity;
    private _flush_debugger;
    private _pod_add_unit;
    private _pod_clone_unit;
    private _pod_connect_sub_component;
    private _pod_disconnect_sub_component;
    private _disconnect_all_sub_component;
    private _get_unit_radius;
    private _sim_add_pin_datum;
    private _sim_add_pin_datum_tree;
    private _sim_add_unit_pins;
    private _sim_add_unit;
    private _sim_add_unit_core;
    private _on_core_name_focus;
    private _on_ext_name_focus;
    private _on_ext_name_blur;
    private _set_plug_selection_to_name;
    private _set_node_selection_to_node;
    private _set_node_selection_to_name;
    private _set_selection_x;
    private _set_selection_y;
    private _set_selection_shape;
    private _sim_add_core_component_frame;
    private _sim_add_core_resize;
    private _sim_add_layout_core_children_counter;
    private _sim_add_core_component_overlay;
    private _sim_add_core_component;
    private _refresh_current_layout_node_target_position;
    private _refresh_layout_root_node_size;
    private _refresh_layer_layout_target_node_size;
    private _refresh_all_layout_node_size;
    private _force_all_layout_node_traits;
    private _force_layout_node_traits;
    private _search_vertical_padding;
    private _refresh_layout_node_target_position;
    private _search_offset_y;
    private _set_layout_search_offset_y;
    private _ensure_layout_height_animation;
    private _reset_all_layout_heights;
    private _abort_layout_layer_height_animation;
    private _layout_layer_target_height;
    private _layout_layer_current_height;
    private _start_layout_layer_height_animation;
    private _set_all_layout_heights;
    private _move_all_layout_node_target_position;
    private _move_all_current_layout_node_target_position;
    private _clamp_layout_core_size;
    private _sim_add_layout_core;
    private _search_adding_unit;
    private _sim_add_sub_component;
    private _sim_add_sub_component_to_parent;
    private _set_sub_component_index;
    private _sub_component;
    private _mem_add_unit_component;
    private _mem_add_unit_component_parent;
    private _node_name;
    private _is_valid_unit_name;
    private _get_node_temp_name;
    private _mem_set_node_temp_name;
    private _set_unit_temp_name;
    private _set_core_selection_to_name;
    private _dom_set_core_temp_name;
    private _refresh_core_name_color;
    private _get_err_color;
    private _get_mode_color;
    private _set_core_name_caret_color;
    private _set_name_comp_caret_color;
    private _get_core_name_size;
    private _get_node_name_size;
    private _refresh_core_name_size;
    private _get_plug_name_size;
    private _refresh_plug_name_size;
    private _set_unit_name;
    private _spec_set_unit_spec_name;
    private _sim_set_unit_name;
    private _pod_set_unit_name;
    private _spec_set_unit_metadata_rename;
    private _set_unit_pin_temp_name;
    private _set_unit_pin_name;
    private _spec_set_unit_pin_metadata_rename;
    private _set_exposed_pin_name;
    private _state_set_exposed_pin_name;
    private _spec_set_exposed_pin_name;
    private _get_pin_plug_position;
    private _get_pin_plug_datum;
    private _sim_set_exposed_pin_name;
    private _pod_set_exposed_pin_name;
    private _get_err_size;
    private _sim_add_unit_err;
    private _pod_remove_unit_err;
    private _sim_remove_unit_err;
    private _sim_remove_unit_err_link;
    private _sim_remove_unit_err_node;
    private _sim_set_unit_err;
    add_exposed_pin_set: (type: IO, pin_id: string, pin_spec: GraphPinSpec, position?: Dict<{
        int?: Position;
        ext?: Position;
    }>) => void;
    private _add_exposed_pin_set;
    private _state_add_exposed_pin_set;
    private _spec_add_exposed_pin_set;
    private _pod_add_exposed_pin_set;
    private _pod_add_unit_exposed_pin_set;
    private _sim_add_exposed_pin_set;
    add_exposed_pin: (type: IO, pin_id: string, pin_spec: GraphPinSpec, sub_pin_id: string, sub_pin_spec: GraphSubPinSpec, position: {
        int?: Point;
        ext?: Point;
    }) => void;
    private _add_exposed_pin;
    private _spec_add_exposed_pin;
    private _state_add_exposed_pin;
    private _sim_setup_node_name;
    private _on_node_name_focus;
    private _on_node_name_blur;
    private _on_core_name_blur;
    private _on_node_name_input;
    private _set_node_temp_name;
    private __is_valid_plug_name;
    private _is_valid_plug_name;
    private _set_plug_name_caret_color;
    private _set_plug_temp_name;
    private _sim_add_exposed_pin;
    private _sim_add_internal_pin;
    private _pod_add_exposed_pin;
    private _sim_swap_unit;
    private _spec_swap_unit;
    private _merge_pin_line_vector;
    private _link_pin_line_vector;
    private _plug_line_vector;
    private _node_line_vector;
    private _pin_line_position;
    private _err_initial_position;
    private _predict_pin_datum_initial_position;
    private _predict_plug_initial_position;
    private _predict_pin_type_initial_position;
    private _predict_plug_type_initial_position;
    private _find_merge_pin;
    private _pin_type_of_kind;
    private _get_merge_pin_type;
    private _get_merge_spec_type;
    private _pin_type_cache;
    private _link_pin_type;
    private __link_pin_type;
    private _get_pin_type;
    private _get_plug_type;
    private __get_ext_pin_type;
    private _get_link_pin_type;
    private _sim_add_pin_type;
    private _sim_add_node_type;
    private _create_layout_layer;
    private _create_touch_area;
    private _sim_add_link_pin_node;
    private _hide_datum;
    private _refresh_pin_datum_visible;
    private _refresh_datum_visible;
    private _show_datum;
    private _sim_add_link_pin_link;
    private _sim_add_node;
    private _node_link_heap_predicative;
    private _add_node_link_heap_node;
    private _remove_node_link_heap;
    private _set_node_link_heap_count;
    add_merge: (merge_id: string, merge: GraphMergeSpec, position: Position) => void;
    private _add_merge;
    private _refresh_ref_merge_active;
    private _spec_add_merge;
    private _state_add_merge;
    private _sim_add_merge;
    private _sim_add_merge_pin_node;
    private _pod_add_merge;
    private _has_datum;
    add_datum: (datum_id: string, value: string, position: Position) => void;
    add_new_datum: (value: string, position: Position) => void;
    add_new_datum_tree: (value: string, position: Position) => void;
    private _add_datum;
    private _sim_add_datum_node;
    private __sim_add_datum_node;
    private _inc_merge_input_active;
    private _dec_merge_input_active;
    private _inc_merge_output_active;
    private _dec_merge_output_active;
    private _inc_unit_pin_active;
    private _dec_unit_pin_active;
    private _inc_merge_input_count;
    private _dec_merge_input_count;
    private _inc_merge_output_count;
    private _dec_merge_output_count;
    private _inc_merge_pin_count;
    private _dec_merge_pin_count;
    private _refresh_core_border_color;
    private _set_merge_pin_color;
    private _set_output_r;
    private _set_output_reduced;
    private _set_link_output_r;
    private _set_merge_output_r;
    private _set_merge_input_active;
    private _set_merge_input_color;
    private _set_merge_input_visibility;
    private _set_merge_input_inactive;
    private _set_merge_output_active;
    private _set_merge_output_visibility;
    private _set_merge_output_color;
    private _set_merge_output_inactive;
    private _sim_add_pin_datum_link;
    private _sim_add_datum_node_link;
    private _sim_after_add_pin_datum_link;
    private _mem_set_pin_datum;
    private _segregate_node_id;
    private _int_node_locked;
    private _tick_node;
    private _tick_link;
    private _tick_minimap;
    private _inc_node_node_link_count;
    private _dec_node_node_link_count;
    private _swap_node_node_link_count;
    private _sim_add_link;
    private _set_node_hovered;
    private _is_node_mode_colorable;
    private _set_core_mode_color;
    private _set_node_mode_color;
    private __set_node_mode_color;
    private _refresh_selected_node_color;
    private _set_selected_node_color;
    private _reset_node_color;
    private _is_mode_colored;
    private __is_mode_colored;
    private _is_node_moded;
    private _refresh_node_group_color;
    private _refresh_node_color;
    private _reset_unit_color;
    private _refresh_merge_pin_color;
    private _refresh_merge_pin_pin_color;
    private _reset_merge_pin_pin_color;
    private _reset_merge_input_pin_color;
    private _reset_merge_output_pin_color;
    private _set_all_nodes_links_opacity;
    private _set_nodes_opacity;
    private _set_nodes_links_opacity;
    private _info_node_id;
    private _show_node_info;
    private _show_pin_info;
    private _show_unit_info;
    private _set_node_opacity;
    private _set_link_opacity;
    private __show_pin_info;
    private _show_pin_info_opacity;
    private _show_ext_info;
    private _show_datum_info;
    private _show_ext_pin_type;
    private _show_link_pin_name;
    private _hide_link_pin_name;
    private _should_show_node_info;
    private _refresh_node_info;
    private _hide_node_info;
    private _hide_ext_info;
    private _hide_int_info;
    private _hide_datum_info;
    private _hide_unit_info;
    private _hide_pin_info;
    private _refresh_class_literal_datum_node_selection;
    private _hide_link;
    private _show_link;
    private _set_link_pin_color;
    private _reset_link_pin_pin_color;
    private _refresh_link_pin_datum_color_if_visible;
    private _default_pin_color;
    private _default_link_color;
    private _refresh_link_pin_link_color;
    private _reset_link_pin_link_color;
    private _is_link_pin_visible;
    private _is_link_pin_present;
    private _reset_link_pin_color;
    private _reset_core_border_color;
    private _reset_soul_color;
    private _reset_datum_color;
    private _is_datum_valid;
    private _reset_err_color;
    private _set_drag_node;
    resize_sub_component: (unit_id: string, width: number, height: number) => void;
    private _spec_resize_sub_component;
    private _update_max_component_size;
    private _spec_component_set_default_size;
    private _pod_component_set_default_size;
    private _component_resize_sub_component;
    private _sim_resize_sub_component;
    private _resize_layout_core;
    private _scale_layout_core_x;
    private _scale_layout_core_y;
    private _refresh_layout_core_transform;
    private _set_layout_core_opacity;
    private _set_layout_core_font_size;
    private __resize_layout_core;
    private __resize_layout_core_width;
    private __resize_layout_core_height;
    private _set_layout_core_size;
    private _set_layout_core_size_width;
    private _set_layout_core_size_height;
    private _resize_core;
    private _resize_core_width;
    private _resize_core_height;
    private _resize_core_selection;
    private _resize_core_selection_width;
    private _resize_core_selection_height;
    private _resize_core_area;
    private _resize_core_area_width;
    private _resize_core_area_height;
    private _layout_resize_sub_component;
    private _resize_node;
    private _resize_node_width;
    private _resize_node_height;
    private _resize_datum;
    private _get_node_selection_length;
    private _get_node_selection_dashoffset;
    private _create_selection;
    private _resize_selection;
    private _create_overlay;
    private _id;
    private _link_start_marker_id;
    private _link_end_marker_id;
    private _create_pin;
    private _create_pin_name;
    private _create_link;
    private _create_link_marker;
    private _simulation_prevent_restart;
    private _start_graph_simulation;
    private _stop_graph_simulation;
    private _get_current_layout_layer_id;
    private _get_current_layout_layer;
    private _get_layout_layer;
    private _spec_get_layout_layer_children;
    private _get_layout_layer_parent_children;
    private _get_current_layout_layer_children;
    private _high_zoom;
    private _set_zoom;
    set_zoom: (zoom: Zoom) => void;
    private _on_high_zoom;
    private _on_low_zoom;
    private _on_zoom_start;
    private _on_zoom_end;
    private _on_pointer_leave;
    private _a;
    private __on_pointer_leave;
    private _pointer_inside;
    private _on_pointer_enter;
    private _on_pointer_cancel;
    private _screen_center;
    private _world_screen_center;
    private _screen_to_world;
    private _world_to_screen;
    jiggle_world_screen_center: () => Position;
    private _jiggle_world_screen_center;
    private _distance_to_center;
    private _set_node_position;
    private _set_node_x;
    private _set_node_y;
    private _set_node_layer;
    private _set_link_layer;
    private _negate_link_layer;
    get_node: (node_id: string) => GraphSimNode;
    get_layout_node: (node_id: string) => LayoutNode;
    get_nodes: () => GraphSimNodes;
    private _get_node_position;
    private __get_merge_node_position;
    private _get_node_screen_position;
    private _get_node_size;
    private _get_node_shape;
    private _get_node_r;
    private _on_search_item_selected;
    private _layout_scroll_search_unit_into_view;
    private _layout_set_layer_scroll_top;
    private _refresh_search_list_height_offset;
    private _state_swap_search_unit;
    private _state_swap_add_search_unit;
    private _state_swap_change_search_unit;
    private _data_search_unit;
    private _add_data_search_unit;
    private _add_data_unit;
    private _remove_data_search_unit;
    private _state_swap_data_search_unit;
    private _new_unit_id;
    private _new_merge_id;
    private _new_datum_id;
    private _new_pin_id;
    private _new_input_id;
    private _new_output_id;
    private _new_sub_pin_id;
    private _state_remove_search_unit;
    private _get_sub_component_target_parent_id;
    private _add_search_unit;
    private _swap_pointer_pressed_node;
    private _set_unit_layer;
    private _set_core_icon;
    private _show_core_icon;
    private _hide_core_icon;
    private _set_unit_core_opacity;
    private _set_unit_pins_opacity;
    private _set_unit_opacity;
    private _set_core_icon_color;
    private _set_core_name_color;
    private _set_core_description_color;
    private _set_unit_core_color;
    private _set_unit_core_shell_color;
    private _set_unit_core_ghost_color;
    private _set_unit_color;
    private _set_unit_pins_color;
    private _set_unit_shell_color;
    private _set_unit_pins_shell_color;
    private _set_unit_inputs_color;
    private _set_unit_inputs_shell_color;
    private _set_unit_pin_color;
    private _set_unit_pin_ghost_color;
    private _set_unit_pin_shell_color;
    private _set_unit_ghost_color;
    private _set_unit_pins_ghost_color;
    private _set_datum_node_style;
    private _set_datum_link_style;
    private _set_datum_color;
    private _set_datum_pin_link_color;
    private _set_datum_plug_link_color;
    private _set_datum_opacity;
    private _set_datum_node_opacity;
    private _set_datum_link_opacity;
    private _set_err_color;
    private _set_err_opacity;
    private _on_search_item_pick;
    private _on_search_empty;
    private _on_search_shape;
    private _show_core_name;
    private _hide_core_name;
    private _commit_search;
    private _shift_search;
    private _set_node_compatible;
    private _set_node_not_compatible;
    private _refresh_unit_compatibility;
    private _set_all_visible_output_pin_opacity;
    private _set_all_ref_pin_opacity;
    private _set_all_literal_datum_opacity;
    private _on_search_list_shown;
    private _animate_current_layer_offset_if_overflown;
    private _search_filter_true;
    private _search_filter;
    private _mem_remove_search_unit_id;
    private _on_search_list_hidden;
    private _enable_all_node_name;
    private _disable_all_node_name;
    private _on_enter_mode;
    private _disable_crud;
    private _refresh_tree_sub_component_index;
    private _reorder_fullwindow_component_ids;
    private _reorder_all_fullwindow;
    private _sub_component_index;
    private _set_tree_sub_component_index;
    private _on_transcend_click;
    private _order_sub_component_ids;
    private _enter_default_fullwindow;
    private _enter_all_fullwindow;
    private _enter_all_selected_fullwindow;
    private _get_sub_component_index;
    private _get_sub_component_root_index;
    private _spec_get_sub_component_parent_root_index;
    private _get_sub_component_tree_index;
    private _get_sub_component_frame_context;
    private _get_sub_component_frame;
    private _get_component_sub_component_root_base;
    private _get_sub_component_base;
    private _get_sub_component_root_base;
    private _get_fullwindow_foreground;
    private _leave_all_fullwindow;
    private _abort_fullwindow_animation;
    private _cancel_fullwindow_animation;
    private _leave_fullwindow;
    private _place_sub_component;
    private _displace_sub_component;
    private _displace_all_sub_component;
    private _couple_all_fullwindow_component;
    private _couple_sub_component;
    private _couple_sub_component_at;
    private _get_sub_component_fullwindow_parent_id;
    private __move_sub_component;
    private _descend_sub_component;
    decouple_all_fullwindow_component: () => void;
    private _decouple_all_fullwindow_component;
    private _decouple_sub_component;
    private _unlisten_crud;
    private _enable_crud;
    private _unlisten_cabinet;
    private _enable_cabinet;
    private _on_cabinet_drawer_active;
    private _on_cabinet_drawer_inactive;
    private _disable_cabinet;
    private _keyboard_unlisten;
    private _is_shift_pressed;
    private _is_alt_pressed;
    private _is_key_pressed;
    private _unlisten_escape;
    private _enable_escape;
    private _disable_escape;
    private _unlisten_enter;
    private _enable_enter;
    private _disable_enter;
    private _on_gamepad_buttondown;
    private _select_search_up;
    private _select_search_down;
    private _on_gamepad_buttonup;
    private _on_gamepad_axischange;
    private _gamepad_zoom_x;
    private _gamepad_zoom_y;
    private _gamepad_zoom_z;
    private _gamepad_zoom_translate_frame;
    private _start_gamepad_zoom_frame;
    private _stop_gamepad_zoom_frame;
    private _enable_gamepad;
    private _disable_gamepad;
    private _enable_keyboard;
    private _unlisten_mode_keyboard;
    private _enable_mode_keyboard;
    private _disable_mode_keyboard;
    private _unlisten_search;
    private _control;
    private _cabinet;
    private _search;
    private _minimap;
    private _modes;
    private _transcend;
    private _frame;
    private _lock_control;
    private _enable_search;
    private _disable_search;
    private _unlisten_transcend;
    private _enable_transcend;
    private _refresh_transcend;
    private _disable_transcend;
    private _show_transcend;
    private _hide_transcend;
    private _disable_keyboard;
    private _pointer_up_all_pressed_pointer_id;
    private _layout_core_animation_count;
    private _cancel_layout_core_animation;
    private _animate_layout_core;
    private _animate_leaf_frame;
    private _animate_simulate;
    private _animate_simulate_trait;
    private _on_all_layout_core_animation_end;
    private _animate_layout_core_up;
    private _animate_layout_core_target;
    private _animate_layout_core_anchor;
    private _enter_tree_layout;
    private _refresh_all_layout_node_target_position;
    private _leaf_layer_offset_x;
    private _leaf_layer_offset_y;
    private _plug_leaf_frame;
    private _unplug_leaf_frame;
    private _get_sub_component_layout_layer;
    private _get_sub_component_parent_leaf_layer;
    private _measure_sub_component_base;
    private _remove_sub_component_base;
    private _remove_sub_component_root_base;
    private __remove_sub_component_root_base;
    private _plug_sub_component_base;
    private _plug_animate_sub_component_base;
    private _animate_sub_component_base;
    private _cancel_enter_animation;
    private _abort_tree_layout_sub_component_base_animation;
    private _cancel_tree_layout_animation;
    private _cancel_all_layout_sub_component_animation;
    private _cancel_enter_sub_component_animation;
    private _cancel_all_enter_sub_component_animation;
    private _end_all_enter_sub_component_animation;
    private _cancel_leave_sub_component_animation;
    private _cancel_all_leave_sub_component_animation;
    private _cancel_layout_sub_component_animation;
    private _get_sub_compononent_layout_layer_opacity;
    private _reflect_sub_component_base_trait;
    private __reflect_sub_component_base_trait;
    private ___reflect_sub_component_base_trait;
    private _animate_enter_tree_layout;
    private _animate_leave_tree_layout;
    private _listen_layout_core;
    private _unlisten_sub_component;
    private _listen_node;
    private _listen_link;
    private _animate_layout_core_down;
    private _get_layout_node_screen_position;
    private _leave_tree_layout;
    private _set_minimap_to_graph;
    private _set_minimap_to_layout;
    private _resize;
    private _on_context_resize;
    private _on_context_enabled;
    private _on_context_disabled;
    private _on_context_theme_changed;
    private _on_context_color_changed;
    private _on_context_before_enter_fullwindow;
    private _on_focus;
    private _on_blur;
    private _disable_input;
    private _input_disabled;
    private _enable_input;
    private _on_node_pointer_enter;
    private __on_node_pointer_enter;
    private _on_node_pointer_leave;
    private __on_node_pointer_leave;
    private _get_node_comp;
    private _commit_shift_search;
    private _on_node_pointer_down;
    private __on_node_pointer_down;
    private _on_node_pointer_move;
    private _on_node_pointer_up;
    private __on_node_pointer_up;
    private _on_node_pointer_cancel;
    private _on_node_drag_start;
    private __on_node_drag_start;
    private _start_static;
    private _start_node_static;
    private _stop_node_static;
    private _stop_static;
    private _on_node_drag_move;
    private _node_drag_move;
    private _on_node_drag_end;
    private __on_node_drag_end;
    private _start_drag_node_static;
    private _stop_drag_node_static;
    private _find_node;
    private _node_node_surface_distance;
    private _node_node_center_distance;
    private _find_nearest_core_id;
    private _find_inside_node_id;
    private _find_inside_core_and_pin_id;
    private _find_inside_core_id;
    private _find_nearest_node_id;
    private _find_nearest_pin_node_id_from;
    private _is_pin_unit_connected;
    private _is_unit_node_match;
    private _drop_unit;
    private _is_pin_node_match;
    private _drop_pin;
    private _show_unit_ignored_pins;
    private _hide_unit_ignored_pins;
    private __drop_pin;
    private _is_pin_active;
    private _is_datum_node_match;
    private _drop_datum;
    private _move_datum_to_empty_unit;
    private _move_datum_to_exposed_pin;
    private _is_plug_node_match;
    private _refresh_plug_layer;
    private _drop_plug;
    private _node_target;
    private _target_node;
    private _node_target_count;
    private _turn_unit_into_data;
    private _set_node_target;
    private _node_target_tick;
    private _start_node_target_frame;
    private _node_target_frame;
    private _remove_node_target;
    private _on_node_target_end;
    private _on_pin_pin_target_end;
    private _on_pin_unit_target_end;
    private _on_plug_target_end;
    private _drop_node;
    isFullwindow(): boolean;
    leaveFullwindow(animate: boolean, callback: () => void): void;
    enterFullwindow(animate: boolean): void;
    getPath(): string[];
    focus(options?: FocusOptions | undefined): void;
    temp_fixate_node: (node_id: string, t?: number) => void;
    _set_node_fixed: (node_id: string, fixed: boolean) => void;
    private _set_all_node_fixed;
    private _set_all_unit_node_fixed;
    private _refresh_all_node_fixed;
    private _set_node_draggable;
    private _hide_core_overlay;
    private _show_core_overlay;
    private _hide_err_overlay;
    private _show_err_overlay;
    private _unlock_all_component;
    unlock_sub_component: (unit_id: string) => void;
    private _focusing_sub_component;
    private _unlock_sub_component;
    private _on_control_lock;
    private _unlock_control;
    private _control_lock_unlisten;
    private _enable_control_lock;
    private _disable_control_lock;
    private _on_control_temp_lock;
    private _on_control_temp_unlock;
    private _lock_sub_component;
    private _lock_all_component;
    private _lock_all_component_but;
    private _set_node_selected;
    private _is_node_id;
    private _is_unit_node_id;
    private _is_pin_node_id;
    private _is_link_pin_node_id;
    private _is_link_input_node_id;
    private _is_link_output_node_id;
    private _is_input_node_id;
    private _is_output_node_id;
    private _is_node_selected;
    private _is_node_hovered;
    private _is_node_dragged;
    private _is_node_ascend;
    private _is_merge_node_id;
    private _is_datum_node_id;
    private _is_type_node_id;
    private _is_err_node_id;
    private _is_ext_node_id;
    private _is_int_pin_node_id;
    private _is_plug_node_id;
    private _is_exposed_input_node_id;
    private _get_pin_datum_node_id;
    private _get_merge_datum_node_id;
    private _get_merge_first_datum_node_id;
    private _get_merge_first_type_datum_node_id;
    private _get_merge_first_input_datum_node_id;
    private _get_merge_first_output_datum_node_id;
    select_node: (node_id: string) => void;
    private _select_node;
    private _enable_core_resize;
    private _enable_core_frame;
    private _disable_core_frame;
    private _disable_core_resize;
    private _enable_core_name;
    private _disable_core_name;
    private _set_plug_name_style_attr;
    private _sim_set_plug_datum;
    private _sim_add_plug_datum;
    private _sim_add_plug_datum_link;
    private __sim_add_plug_datum_link;
    private _sim_remove_plug_datum;
    private _sim_remove_plug_datum_link;
    private _mem_remove_plug_datum_link;
    private _pod_remove_exposed_pin_datum;
    private _enable_plug_name;
    private _disable_plug_name;
    private _enable_core_touch_area;
    private _disable_core_touch_area;
    private __deselect_node;
    deselect_node: (node_id: string) => void;
    _deselect_node: (node_id: string) => void;
    private _toggle_select;
    private _select_all;
    private _select_many;
    private _toggle_select_all_visible;
    private _deselect_all;
    private _deselect_all_but;
    private _enable_node_overlay;
    private _enable_datum_overlay;
    private _disable_node_overlay;
    private _disable_datum_overlay;
    private _disable_all_datum_overlay;
    private _disable_all_selected_datum_overlay;
    private _enable_all_selected_datum_overlay;
    private _hide_control;
    private _show_control;
    private _disable_frame_pointer;
    private _enable_frame_pointer;
    private _force_control_animation_false;
    private _set_fullwindow_frame_off;
    private _animate_main_opacity;
    private _set_fullwindow_frame_on;
    private _enter_fullwindow;
    private _fullwindow_datum_id;
    private _enter_datum_fullwindow;
    private _leave_datum_fullwindow;
    private _get_node_selection_color;
    private _get_node_selection_target_dasharray;
    private _get_node_selection_dasharray;
    private _pin_unit_ids;
    private _should_hide_datum;
    private _is_pin_pin_match;
    private _is_plug_pin_match;
    private _get_unit_type;
    private _is_ref_pin_unit_match;
    private _is_ref_pin_unit_type_match;
    private _is_plug_unit_match;
    private _runtime_pin_type;
    private _is_link_pin_link_pin_type_match;
    private _is_unit_pin_match;
    private _is_datum_plug_match;
    private _is_datum_plug_type_match;
    private _is_datum_pin_pre_match;
    private _is_datum_unit_pre_match;
    private _is_datum_unit_type_match;
    private _get_datum_type;
    private _is_datum_pin_type_match;
    private _get_display_node_id;
    private _is_ext_all_pin_match;
    private _is_ext_all_datum_match;
    private _is_ext_pin_match;
    private _is_pin_all_pin_match;
    private _is_pin_all_unit_match;
    private _is_unit_all_pin_match;
    private _is_datum_all_pin_pre_match;
    private _is_pin_all_datum_match;
    private _is_all_node;
    private _all_pin;
    private _all_pin_ref;
    private _all_pin_ref_unit;
    private _all_ext_pin;
    private _all_data;
    private _all_unit;
    private _refresh_compatible;
    private _refresh_all_compatible_unit;
    private _refresh_all_compatible_pin;
    private _refresh_all_compatible_data;
    private _refresh_fixed;
    private _refresh_node_fixed;
    private _refresh_unit_fixed;
    private _refresh_unit_layer;
    private _refresh_selection;
    private _refresh_node_selection;
    private _get_node_default_layer;
    private _refresh_node_layer;
    private _get_link_default_layer;
    private _refresh_link_layer;
    private _refresh_selection_color;
    private _refresh_selection_dasharray;
    private _refresh_selection_dashoffset;
    private _set_selection_dashoffset;
    private _set_selection_dasharray;
    private _on_compatible_node_click;
    private _on_non_compatible_node_click;
    private _on_node_none_click;
    private _on_node_multiselect_click;
    private _on_node_info_click;
    private _on_node_green_click;
    private _on_node_blue_click;
    private _on_link_pin_blue_click;
    private _on_datum_blue_click;
    private _on_exposed_blue_click;
    private _on_node_click;
    private _on_node_red_click;
    private _is_node_removable;
    private _animate_sub_component_graph_leave;
    private _animate_sub_component_graph_move__template;
    private _is_node_dataable;
    private _is_node_infoable;
    private _spec_remove_datum;
    private _spec_remove_node;
    private _get_datum_connected;
    private _pod_remove_datum;
    private _pod_remove_node;
    private _action_buffer;
    private _action_buffer_cursor;
    private _dispatch_action;
    remove_exposed_sub_pin_or_set: (exposed_pin_node_id: string) => void;
    private _remove_exposed_sub_pin_or_set;
    private _state_move_plug_into_graph__remove;
    private _get_exposed_pin_set_count;
    private _spec_remove_exposed_sub_pin;
    private __spec_remove_exposed_sub_pin;
    private _sim_remove_exposed_sub_pin;
    private _state_remove_exposed_sub_pin;
    private __state_remove_exposed_sub_pin;
    private __sim_remove_exposed_sub_pin;
    private _sim_remove_exposed_ext_node;
    private _sim_remove_exposed_int_node;
    private _pod_remove_exposed_sub_pin;
    private __pod_remove_exposed_sub_pin;
    private _set_link_pin_r;
    private _set_link_pin_d;
    private _set_link_d;
    private _set_link_pin_padding_source;
    private _set_link_pin_padding_target;
    private _set_link_pin_start_marker_hidden;
    private _set_link_pin_end_marker_hidden;
    set_link_pin_ignored: (pin_node_id: string, ignored: boolean) => void;
    private _set_link_pin_ignored;
    private _pod_set_link_pin_ignored;
    private _state_set_link_pin_ignored;
    private _sim_set_unit_pin_ignored;
    private _pod_set_unit_pin_ignored;
    private __pod_set_unit_pin_ignored;
    private _spec_set_link_pin_ignored;
    private __spec_set_link_pin_ignored;
    private _spec_set_link_pin_constant;
    private _spec_set_link_pin_memory;
    private _is_node_duplicatable;
    private _green_click_node;
    private _set_unit_fixed;
    private _green_click_unit;
    private _green_click_datum;
    private _sim_duplicate_unit;
    private _duplicate_link_pin;
    private _sim_duplicate_datum;
    private _sim_duplicate_exposed_pin;
    private _transfer_node_position;
    private _is_node_changeable;
    private _set_search_text;
    private _set_search_filter;
    private _set_search_selected;
    private _info_node;
    private _temp_cancel_double_click;
    private _on_node_yellow_click;
    private _yellow_click_datum;
    private _yellow_long_press_datum;
    private _yellow_click_unit;
    private _yellow_long_press_class_literal;
    private _yellow_click_plug;
    private _turn_class_literal_into_unit;
    private _info_unit;
    private _show_core_description;
    private _hide_core_description;
    private _info_pin;
    private _info_ext_pin;
    private _get_unit_input_data_examples;
    private _yellow_click_pin;
    private _spec_type_interface_cache;
    private _on_unit_blue_click;
    private _make_compatible_search_filter;
    private _change_datum;
    private _toggle_link_pin_constant;
    private _toggle_link_pin_memory;
    private _is_exposed_pin_functional;
    private __is_exposed_pin_functional;
    private _toggle_exposed_pin_functional;
    set_exposed_pin_functional: (exposed_node_id: string, functional: boolean) => void;
    private _set_exposed_pin_functional;
    private _spec_set_exposed_pin_functional;
    private _sim_set_exposed_pin_functional;
    private _pod_set_exposed_pin_functional;
    _spec_set_exposed_pin_ref: (type: IO, pinId: string, ref: boolean) => void;
    private set_link_pin_constant;
    private _set_link_pin_constant;
    private _set_unit_memory;
    private _state_set_link_pin_constant;
    private _sim_set_link_pin_constant;
    private _pod_set_link_pin_constant;
    private _set_link_pin_memory;
    private _on_node_double_click;
    private _on_pin_double_click;
    private _is_datum_editable;
    private _on_datum_double_click;
    private _on_unit_double_click;
    private _focus_sub_component;
    private _blur_sub_component;
    private _is_sub_component_fullwindow;
    private _subgraph_return_fullwindow;
    private _subgraph_return_fullwindow_component_ids;
    enter_subgraph: (unit_id: string, animate: boolean) => void;
    private _unplug_sub_component_root_base_frame;
    private _unplug_sub_component_base_frame;
    private _unplug_base_frame;
    mem_enter_subgraph: (unit_id: string, graph: _Editor) => void;
    private _mem_enter_subgraph;
    dom_enter_subgraph: (unit_id: string, graph: _Editor, animate: boolean) => void;
    private _dom_enter_subgraph;
    private _dom_leave_subgraph;
    private _ensure_graph_and__template;
    private _ensure_subgraph;
    private _enter_subgraph;
    private _on_datum_multiselect_double_click;
    private _on_datum_none_double_click;
    private _animate_sub_sub_component_leaf;
    cache_subgraph(unit_id: string, graph: _Editor): void;
    private _in_component_control;
    _take_component_control: () => void;
    _lose_component_control: () => void;
    private _end_sub_component_enter_base_animation;
    private _animate_enter;
    enter: (animate: boolean, animate_config?: Dict<{
        base: LayoutBase;
        base_node: LayoutNode[];
    }>, component_collapsed?: boolean, should_uncollapse?: boolean) => void;
    _get_base_trait: (sub_base: LayoutBase) => {
        sub_base: LayoutBase;
        sub_base_node: any[];
    };
    _get_all_sub_component_root_base_trait: () => {
        sub_base: LayoutBase;
        sub_base_node: any[];
    };
    _get_all_sub_component_base_trait: () => {
        sub_base: LayoutBase;
        sub_base_node: any[];
    };
    leave: (all_sub_component_base_trait?: any) => void;
    private _can_leave;
    private _get_sub_component_base_trait;
    private _compose;
    private _on_subgraph_leave;
    private _on_subgraph_enter_unit;
    private _on_subgraph_leave_unit;
    private _refresh_main_opacity;
    leave_subgraph: () => void;
    private _leave_subgraph;
    private _is_component_framed;
    private _enter_component_frame;
    private _leave_component_frame;
    private _enter_sub_component_frame;
    private _leave_sub_component_frame;
    private _refresh_all_layout_layer_opacity;
    private _append_sub_component_base;
    private __commit_sub_component_base;
    private __commit_sub_component_root_base;
    private _append_sub_component_root;
    private _remove_sub_component_all_root;
    private _commit_sub_component_base__template;
    private _layout_sub_components_commit_base;
    private _layout_enter_sub_component;
    private _layout_leave_sub_component;
    private _ensure_layout_layer;
    private _is_component_parent;
    private _get_layout_layer_selected_count;
    private _on_node_long_click;
    private _on_unit_long_click;
    private _on_link_pin_long_press;
    private _long_press_append_sub_component_children;
    private append_sub_component_children;
    private _append_sub_component_children;
    private _mem_append_sub_component_child;
    private _pre_append_sub_component_child;
    private _animate_enter_fullwindow;
    private _measure_all_sub_component_base;
    private _animate_leave_fullwindow;
    private _setup_layout_sub_component_append_children_animation;
    private _setup_layout_sub_component_remove_parent_children_animation;
    private _cancel_all_layout_parent_children_animation;
    private _cancel_all_layout_parent_children_slot_animation;
    private _cancel_layout_parent_children_animation;
    private _start_layout_children_animation;
    private _animate_layout_append_children;
    private _play_layout_sub_component_transfer_children_animation;
    private _play_layout_sub_component_remove_children_animation;
    private _animate_layout_sub_component_remove_children;
    private _animate_tick_leaf_trait;
    private _tick_animate_layout_move_children;
    private _tick_animate_layout_transfer_children;
    private _set_all_current_layout_layer_core_position;
    private _set_all_layout_layer_core_position;
    private _mem_move_sub_component_child;
    private _mem_pull_sub_component_child;
    private _mem_push_sub_component_child;
    private _mem_layout_push_parent_root;
    private _mem_push_root;
    private _layout_layer_move_sub_component_child;
    private _ensure_parent_layout_layer;
    private _collapse_sub_component;
    private _uncollapse_sub_component;
    private _append_sub_component_to_root;
    private _insert_sub_component_root_at;
    private _append_sub_component_parent_root;
    private _insert_sub_component_parent_root_at;
    private _remove_sub_component_parent_root;
    private _remove_sub_component_from_root;
    private _layout_collapse_sub_component;
    private _layout_uncollapse_sub_component;
    private _move_core_content_layout_to_graph;
    private _remove_core_content_from_layout;
    private _append_core_content_to_graph;
    move_all_core_content_graph_to_layout: () => void;
    private _move_core_content_graph_to_layout;
    private _append_core_content_to_layout;
    private _remove_core_content_from_graph;
    private _get_component_children_count;
    private _refresh_component_children_counter;
    private _refresh_component_children_counter_up;
    private _spec_append_sub_component_child;
    private __spec_append_sub_component_child;
    private _pod_move_sub_component_child;
    private _spec_get_component_children;
    private _get_sub_component_spec_layer;
    private _spec_get_sub_component_parent_id;
    private _get_sub_component_layout_parent;
    private _reset_layout_transfer_parent_children;
    private _reset_layout_transfer_parent;
    private _long_press_remove_sub_component_children;
    remove_sub_component_children: (parent_id: string, slot_name: string, next_parent_id: string | null, next_slot_name: string) => void;
    private _remove_sub_component_children;
    private _pre_remove_sub_component_child;
    private _sim_move_out_sub_component_children;
    private _sim_move_out_sub_component_layout_children;
    private _remove_sub_component_child;
    private _mem_move_out_sub_component_child;
    private _layout_move_sub_component_child;
    private _show_layout_core;
    private _hide_layout_core;
    private _spec_remove_component_children;
    private _spec_move_sub_component_child;
    private _is_unit_long_press_able;
    private _is_datum_long_press_able;
    private _is_node_mode_long_press_able;
    private _is_node_none_long_press_able;
    private _is_node_blue_long_press_able;
    private _on_node_long_press;
    private __on_layout_node_long_press;
    private _on_graph_node_long_press;
    private _on_unit_long_press;
    private _on_graph_datum_long_press;
    private _on_graph_group_node_long_press;
    private _on_graph_none_unit_long_press;
    private _get_all_selected_node_ids;
    private _on_graph_group_unit_long_press;
    private _on_graph_green_unit_long_press;
    private _swap_long_press_unit_bundle;
    private _on_graph_yellow_unit_long_press;
    private _on_graph_blue_unit_long_press;
    private _on_graph_red_unit_long_press;
    private _is_link_pin_default_ignored;
    private _abort_graph_node_transition;
    private _animate_nodes_style;
    private _animate_node_style;
    private _animate_core_style;
    private _get_unit_exposed_pins;
    private _get_unit_input_names;
    private _get_unit_input_node_ids;
    private _get_unit_output_names;
    private _get_unit_output_node_ids;
    private _get_unit_tag_exposed_pins;
    private _get_unit_tag_merges;
    private _generate_identity_matches;
    private _sim_remove_unit_ghost;
    private _on_graph_group_datum_node_long_press;
    private _explode_unit;
    private _state_gut_unit;
    private _pod_explode_unit;
    private _on_node_click_hold;
    private _merge_pin_pin;
    private _merge_pin_unit;
    private _merge_link_pin_unit;
    private _sim_merge_link_pin_unit;
    private _merge_merge_pin_unit;
    merge_merge_pin_merge_pin: (merge_0_node_id: string, merge_1_node_id: string) => string;
    private _merge_merge_pin_merge_pin;
    private _state_merge_merge_pin_merge_pin;
    private _pod_merge_merge_pin_merge_pin;
    private _spec_merge_merge_pin_merge_pin;
    private _sim_merge_merge_pin_merge_pin;
    private _merge_link_pin_link_pin;
    private _sim_merge_link_pin_link_pin;
    private __sim_merge_link_pin_link_pin;
    merge_link_pin_merge_pin: (pin_node_id: string, merge_node_id: string) => string;
    private _merge_link_pin_merge_pin;
    private _state_merge_link_pin_merge_pin;
    private __state_merge_link_pin_merge_pin;
    private _animate_layout_enter_sub_component;
    private __pod_add_pin_to_merge;
    private _spec_add_link_pin_to_merge;
    private _sim_add_link_pin_to_merge;
    private _set_ref_link_pin_start_marker_r;
    private _set_ref_link_pin_start_marker_to_node_r;
    private _sim_change_link_pin_to_merge;
    private _show_link_text;
    private _hide_link_text;
    private _sim_change_link_node;
    private _sim_change_link_source;
    private _sim_change_link_target;
    private _refresh_simulation_stability;
    private _move_datum_to_pin;
    private _move_datum_to_plug;
    private _pod_move_datum_to_pin;
    private _sim_move_datum_to_pin;
    private _spec_move_datum_to_pin;
    private _pod_push_data;
    private _pod_take_input;
    private _set_pin_data;
    private _set_plug_data;
    private _spec_set_plug_data;
    private _sim_set_plug_data;
    private _pod_set_plug_data;
    private _sim_set_pin_data;
    private _spec_set_pin_data;
    private _pod_set_pin_data;
    private _pod_set_link_pin_data;
    private _pod_set_merge_pin_data;
    private _pod_set_metadata;
    private _set_core_border_color;
    private _set_core_and_layout_core_border_color;
    private _set_layout_core_border_color;
    private _set_link_pin_opacity;
    private _set_link_pin_opacity_str;
    private _set_link_pin_pointer_events;
    private _set_exposed_pin_set_opacity;
    private _set_exposed_sub_pin_opacity;
    private _get_exposed_pin_internal_node_id;
    private _get_exposed_pin_spec_internal_node_id;
    private _set_exposed_sub_pin_color;
    private _refresh_exposed_pin_set_color;
    private _reset_exposed_pin_set_color;
    private _get_exposed_sub_pin_color;
    private _refresh_exposed_sub_pin_color;
    private _reset_exposed_sub_pin_color;
    private _set_exposed_pin_set_color;
    private _set_link_pin_link_color;
    private _set_link_color;
    private _set_link_pin_pin_color;
    private _refresh_datum_color;
    private _refresh_pin_color;
    private _refresh_link_pin_color;
    private _set_pin_text_opacity;
    private _set_pin_text_color;
    private _set_link_pin_pin_text_color;
    private _set_link_pin_pin_text_opacity;
    private _get_link_pin_text;
    private _set_link_pin_link_text_opacity;
    private _set_link_pin_link_text_color;
    remove_datum: (datum_node_id: string) => void;
    private _remove_datum;
    private _remove_node_datum_link;
    private _remove_plug_set_datum_link;
    private _sim_remove_plug_set_datum_link;
    private _remove_pin_datum_link;
    private _spec_remove_pin_datum_link;
    private _spec_remove_pin_data;
    private _sim_remove_pin_datum_link;
    private _sim_remove_datum_link;
    private _mem_remove_node_datum_tree;
    private _pod_remove_pin_datum;
    remove_pin_from_merge: (merge_node_id: string, pin_node_id: string) => void;
    private _remove_pin_from_merge;
    private _state_remove_pin_from_merge;
    private _spec_remove_pin_from_merge;
    private __spec_remove_pin_from_merge;
    private _sim_change_all_merge_input_to;
    private _sim_remove_pin_from_merge;
    private _pod_remove_pin_from_merge;
    private __pod_remove_pin_from_merge;
    private _get_merge_pin_not_equal;
    private _get_merge_pin_not_equal__template;
    private _is_blue_drag_init_anchor;
    private _update_blue_drag_init_anchor;
    private _get_pin_merge_node_id;
    private _get_merge_node_pin_count;
    private _get_merge_node_pins;
    private _spec_get_pin_merge_node_id;
    private _spec_get_merge_node_pin_count;
    private _spec_get_merge_node_pins;
    private _dry_remove_pin_or_merge;
    private _spec_dry_remove_pin_or_merge;
    private _dry_remove_pin_or_merge__template;
    private _remove_pin_or_merge;
    private _sim_remove_pin_or_merge;
    private _spec_remove_pin_or_merge;
    private _state_remove_pin_or_merge;
    private _pod_remove_pin_or_merge;
    private _sim_remove_pin_type;
    private _sim_remove_node_type;
    private _sim_remove_link_pin_pin;
    private _sim_remove_link_pin_link;
    remove_merge: (merge_node_id: string) => void;
    private _remove_merge;
    private _state_remove_merge;
    private __state_remove_merge;
    private _pod_remove_merge;
    private _spec_remove_merge;
    private _is_link_pin_output_ref;
    private _sim_remove_merge;
    private _sim_remove_merge_node;
    private __sim_remove_merge;
    private _sim_remove_link;
    private _unlisten_node;
    private _unlisten_link;
    private __set_node_pressed;
    private _sim_remove_node;
    private _rebuild_subgraph;
    private _on_link_pointer_down;
    private _link_id_to_node_id;
    private _on_link_pointer_enter;
    private _on_link_pointer_leave;
    private _on_link_long_click;
    private _on_link_long_press;
    private _on_link_click;
    private _on_component_resize_start;
    private _is_layout_component_layer_visible;
    private _is_layout_component_layer_current;
    private _on_component_resize;
    private _on_component_resize_end;
    private _get_datum_tree;
    private _get_datum_value;
    private _is_datum_tree_valid;
    private _is_pin_datum_tree_valid;
    private _get_datum_tree_shape;
    private _get_datum_tree_size;
    private _on_datum_change;
    private _focus_datum;
    private _for_each_pin;
    private _for_each_unit_pin;
    private _for_each_unit_input;
    private _for_each_unit_ref_input;
    private _for_each_unit_merged_pin;
    private _for_each_merge_pin;
    private _for_each_spec_id_pin;
    private _for_each_spec_id_input;
    private _for_each_spec_input;
    private _for_each_spec_id_output;
    private _for_each_spec_output;
    private _for_each_unit_output;
    private _for_each_visible_unit_output;
    private _set_datum;
    private _sim_set_datum;
    private _edit_datum_just_blurred;
    private _edit_datum_never_changed;
    private _unlocked_datum;
    private _unlock_datum;
    private _lock_datum;
    private _unlocked_node;
    private _unlock_node;
    private _lock_node;
    private _is_node_unlocked;
    private _lock_all_datum;
    private _is_datum_unlocked;
    private _on_datum_blur;
    private _commit_data_value;
    private _on_datum_focus;
    private _sim_remove_datum;
    private _remove_unit_merges;
    private _sim_remove_unit_merges;
    private _spec_remove_unit_merges;
    private _state_remove_unit_merges;
    private _state_remove_unit_plugs__template;
    private _state_remove_unit_plugs;
    remove_unit: (unit_id: string) => void;
    private _remove_unit;
    state_remove_unit: (unit_id: string) => void;
    private _state_remove_unit;
    private _spec_remove_unit;
    private _spec_remove_component;
    private _pod_remove_unit;
    private _sim_remove_link_pin;
    private _sim_remove_component;
    private _sim_remove_sub_component_roots;
    private _sim_remove_layout_core;
    private _cancel_graph_core_size_animation;
    private _sim_remove_unit_core;
    private _sim_remove_unit_pins;
    private _sim_remove_unit;
    private _sim_remove_unit_body;
    private _remove_nodes;
    private _spec_remove_nodes;
    private _pod_remove_nodes;
    private _sim_remove_exposed_pin_set;
    remove_exposed_pin_set: (type: IO, pin_id: string) => void;
    private __remove_exposed_pin_set;
    private _state_remove_exposed_pin_set;
    private _spec_remove_exposed_pin_set;
    private _pod_remove_exposed_pin_set;
    private __plug_exposed_pin_to;
    plug_exposed_pin: (type: IO, pin_id: string, sub_pin_id: string, sub_pin_spec: GraphSubPinSpec) => void;
    private _plug_exposed_pin;
    private _spec_plug_sub_pin;
    private _get_exposed_pin_marker_path;
    private _set_exposed_pin_marker_to_node;
    private _set_plug_marker_to_default;
    private _sim_refresh_exposed_pin_marker;
    private _state_plug_exposed_pin;
    private _sim_plug_exposed_pin;
    private _pod_plug_exposed_pin;
    unplug_exposed_pin: (type: IO, pin_id: string, sub_pin_id: string) => void;
    private _unplug_exposed_pin;
    private _spec_unplug_sub_pin;
    private _state_unplug_exposed_pin;
    private _sim_unplug_exposed_pin;
    private _pod_unplug_exposed_pin;
    private _has_node;
    private _has_anchor_node;
    private _has_link;
    private _resize_start_component;
    private _sim_resize_start_component;
    private _delta_resize_component;
    private _spec_delta_resize_component;
    private _get_layout_max_width;
    private _layout_delta_resize_component;
    private _resize_end_component;
    private _pod_set_unit_metadata_component_size;
    private _is_node_selectable;
    private _get_unit_spec_render;
    private _is_unit_component;
    private _is_unit_base;
    private _is_datum_class_literal;
    private _get_units_position;
    private _get_unit_state;
    private _set_unit_position;
    private _get_unit_pin_position;
    private _get_merge_position;
    private _get_exposed_pin_set_position;
    private _on_pointer_down;
    private __on_pointer_down;
    private _zoom_center_at_node;
    private _zoom_center_at;
    private _ui_move_component;
    private _layout_move_sub_component;
    private _spec_move_component;
    private _sim_move_component;
    private _pod_move_component_after;
    private _ui_swap_component_children;
    private _spec_swap_component_children;
    private _sim_swap_component_children;
    private _pod_swap_component_children;
    private _on_layout_component_drag_start;
    private __on_layout_component_drag_start;
    private _on_layout_component_drag_move;
    private _refresh_drag_layout_component_index;
    private _refresh_drag_layout_component_scroll;
    private _refresh_layout_component_scroll;
    private _on_layout_component_drag_end;
    private _drag_start;
    private __drag_start;
    private _node_charge;
    private _set_all_node_to_node_charge;
    private _delete_all_node_to_node_charge;
    private _set_all_node_to_compatible_node_charge;
    private _set_node_to_node_charge;
    private _delete_node_to_node_charge;
    private _negate_ext_node_id;
    private _drag_move;
    private _sim_duplicate_node;
    private _on_node_green_drag_start;
    private _on_node_green_drag_end;
    private _on_node_red_drag_start;
    private _on_node_red_drag_end;
    private _on_datum_red_drag_end;
    private _on_unit_red_drag_end;
    private _on_unit_red_drag_start;
    private _on_node_blue_drag_start;
    private _on_node_blue_drag_end;
    private _on_unit_blue_drag_start;
    private _on_datum_blue_drag_start;
    private _on_datum_blue_drag_end;
    private _abort_blue_drag_hover;
    private _refresh_unit_blue_drag_anchor;
    private _on_unit_blue_drag_move;
    private _abort_blue_drag;
    private _on_unit_blue_drag_end;
    private _force_pointer_drag_swap;
    private _on_node_yellow_drag_start;
    private _sim_replicate_unit_data;
    private _on_node_yellow_drag_end;
    private _on_multiselect_area_start;
    private _on_multiselect_area;
    private _on_multiselect_area_end;
    private _tick_multiselect_area;
    private _on_translate;
    private _ascend_z_count;
    private _ascend_node_dict;
    private _ascend_node_z;
    private _descend_node_z;
    private _negate_unit_layer;
    private _negate_node_layer;
    private _set_node_pointer_capture;
    private _set_node_pointer_events;
    private _release_node_pointer_capture;
    private _ascend_node;
    private _descend_node;
    private _on_pointer_move;
    private _translate_pressed_node;
    private _translate_search_node;
    private _translate_node;
    add_new_exposed_pin_set_at: (pin_id: string, type: IO, pin_spec: GraphPinSpec, ext: Point, int: Point) => void;
    private _on_capture_gesture_end;
    private _is_draggable_mode;
    private __is_draggable_mode;
    private _is_freeze_mode;
    private __is_freeze_mode;
    private _blue_drag_hover_return;
    private __on_pointer_up;
    private _on_pointer_up;
    private _on_wheel;
    private _on_scroll;
    private _is_background_pointer;
    private _click_just_cancelled;
    private _on_click_cancel;
    private _on_click;
    private _on_background_click;
    private _deselect_all_visible;
    private _hide_minimap;
    private _show_minimap;
    private _minimap_hidden;
    private _toggle_minimap;
    private _pallete_hidden;
    private _toggle_pallete;
    private _set_crud_mode;
    private _on_double_click;
    private _on_background_double_click;
    private _double_click_background;
    private _on_data_background_double_click;
    private __on_data_background_double_click;
    private _add_empty_spec;
    private _add_empty_datum;
    private _add_random_datum;
    private _on_long_click;
    private _on_background_long_click;
    private _spec_get_graph_core_size;
    private _start_long_press_collapse;
    private _predict_collapse_map;
    private _ensure_node_long_press_collapse;
    private _start_node_long_press_collapse;
    private _stop_node_long_press_collapse;
    private _stop_long_press_collapse;
    private _client_to_graph;
    private _force_pointer_drop_node;
    private _force_pointer_drag_node;
    private _long_press_collapse_node;
    private _node_type__template;
    private _state_move_node_into_graph;
    private _pod_move_node_into_graph;
    private _move_node_into_graph;
    private _move_datum_into_graph;
    private _move_datum_into_subgraph;
    private _move_datum_into_array;
    private _move_unit_into_graph;
    private _spec_component_remove_sub_component;
    private _sim_add_unit_link_pin;
    private _state_move_unit_into_graph__remove;
    private _spec_move_unit_into_graph_remove;
    private _add_unit_between_pins;
    private _state_set_pin_data;
    private _sim_move_unit_into_graph_remove;
    private _state_move_unit_into_graph__inject;
    private _sim_move_unit_into_graph__inject;
    private _spec_move_unit_into_graph__inject;
    private _state_move_unit_into_graph__reconnect;
    private _move_unit_into_graph__reconnect__template;
    private _spec_move_unit_into_graph__reconnect;
    private _sim_move_unit_into_graph__reconnect;
    private _state_move_unit_into_graph;
    private _state_move_plug_into_graph;
    private _pod_move_plug_into_graph;
    private _state_move_plug_into_graph__inject;
    private _state_move_plug_into_graph__reconnect;
    private _spec_is_plug_ref;
    private _spec_move_plug_into_graph__inject;
    private _spec_move_plug_into_graph__reconnect;
    private _sim_move_plug_into_graph__inject;
    private _sim_move_plug_into_graph__reconnect;
    private _spec_graph_unit_add_pin;
    private _spec_graph_unit_add_sub_pin;
    private _spec_graph_unit_remove_pin;
    private _spec_graph_unit_add_merge;
    private _spec_graph_unit_add_pin_to_merge;
    private _spec_graph_unit_has_merge;
    private _spec_graph_unit_has_unit;
    private _pod_move_unit_into_graph;
    private _move_link_pin_into_graph;
    private _state_move_link_pin_into_graph;
    private _sim_graph_add_link_pin;
    private _sim_move_link_pin_into_graph;
    private _spec_move_link_pin_into_graph;
    private _graph_spec_move_link_pin_into_graph__inject;
    private _graph_spec_move_link_pin_into_graph__remove;
    private _pod_move_link_pin_into_graph;
    private _move_merge_into_graph;
    private _state_move_merge_into_sub_graph;
    private _state_move_merge_into_graph__remove;
    private _state_move_merge_into_graph__inject;
    private _spec_move_merge_into_graph__inject;
    private _sim_move_merge_into_graph__inject;
    private _template_move_merge_into_graph__reconnect;
    private _state_move_merge_into_graph__reconnect;
    private _spec_move_merge_into_graph__reconnect;
    private _sim_move_merge_into_graph__reconnect;
    private _state_move_merge_into_graph;
    private _pod_move_merge_into_graph;
    private _set_long_press_pointer;
    private _on_long_press;
    private _long_click_cancel_pointer_id;
    private _on_long_click_cancel;
    private _cancel_drag_and_drop;
    private _on_click_hold;
    private _stop_gesture;
    private _on_graph_background_multiselect_long_press;
    private _on_graph_background_long_press;
    private _on_background_long_press;
    private _animate_long_press;
    private _unlisten_gesture;
    private _start_gesture;
    private _on_backspace_keydown;
    private _clear_debugger;
    private _remove_selected_nodes;
    private _on_alt_keyup;
    private _on_alt_keydown;
    private _on_ctrl_semicolon_keydown;
    private _last_save_file_handler;
    private _last_save_filename;
    save: (force_dialog?: boolean) => Promise<void>;
    private _save_silently;
    private _on_ctrl_s_keydown;
    private _on_ctrl_shift_s_keydown;
    private _on_ctrl_o_keydown;
    private _decant_node_ids;
    _copy_nodes: (node_ids: string[], deep: boolean, callback: Callback<BundleSpec>) => Promise<void>;
    _show_err: (err: string) => void;
    cut_nodes: (node_ids: string[]) => void;
    cut_single_node: (node_id: string) => void;
    cut_selected_nodes: () => void;
    copy_single_node: (node_id: string, deep: boolean) => void;
    copy_selected_nodes: (deep: boolean) => void;
    private _validate_graph_spec;
    private _paste_clipboard;
    private _paste_text;
    paste_bundle: (bundle: BundleSpec, position: Position) => void;
    _remap_paste_spec: (graph: GraphSpec, position: Position, map_spec_id: Dict<string>, map_unit_id: Dict<string>, map_merge_id: Dict<string>, map_input_id: Dict<string>, map_output_id: Dict<string>, map_datum_id: Dict<string>) => void;
    _state_paste_spec: (graph: GraphSpec, position: Position, map_unit_id: Dict<string>, map_merge_id: Dict<string>, map_input_id: Dict<string>, map_output_id: Dict<string>, map_datum_id: Dict<string>) => void;
    _paste_spec: (graph: GraphSpec, position: Position) => void;
    __state_paste_spec: (graph: GraphSpec, position: Position) => void;
    __pod_paste_spec: (graph: GraphSpec) => void;
    private _on_ctrl_a_keydown;
    private _on_ctrl_c_keydown;
    private _on_ctrl_shift_c_keydown;
    private _on_ctrl_x_keydown;
    private _on_ctrl_v_keydown;
    private _on_ctrl_l_keydown;
    private _on_ctrl_m_keydown;
    private _on_ctrl_p_keydown;
    private _undo;
    private _action;
    private _redo;
    private _on_ctrl_z_keydown;
    private _on_ctrl_shift_z_keydown;
    private _order_node_by_x;
    private _order_node_by_y;
    private __order_node_by_x_template;
    private __order_node_by_y_template;
    private __order_node_by_a__template;
    private _order_unit_by_x;
    private _order_unit_by_y;
    private _on_arrow_keydown;
    private _hide_search;
    private _show_search;
    private _get_sub_component_slot_name;
    private _insert_sub_component_child;
    private _mem_insert_sub_component_child;
    private _dom_insert_sub_component_child;
    private _post_insert_sub_component_child;
    private _on_escape_keydown;
    private _on_enter_keydown;
    private _map_zoom_translate;
    private _on_minimap_wheel;
    private _on_minimap_pointer_down;
    private _on_minimap_pointer_move;
    private _on_minimap_pointer_up;
    private _zoom_in;
    private _sim_relative_layer_m;
    private _sim_relative_m;
    private _zoom_target_node_id;
    private _zoom_target_abort_animation;
    private _zoom_target_is_animating;
    private _set_zoom_target;
    private _remove_zoom_target;
    private _start_zoom_target_animation;
    private _stop_zoom_target_animation;
    private _sim_max_d;
    private __sim_max_l;
    private _force_custom_layer_none;
    private _force_custom_layer_normal;
    private _force_link_y;
    private _force_custom_layer_collapse;
    private _force_custom_layer_search;
    private _force_custom_layer_ignored;
    private _force_custom_layer_exposed;
    private _force_custom_layer_data_linked;
    private _force_custom_layer_data;
    private _force_custom_layer_err;
    private _force_custom_layer_type;
    private _force_custom;
    private _force;
    private _on_simulation_tick;
    private _tick;
    private _on_simulation_end;
    private _get_layout_node_anchor_id;
    private _set_layout_core_position;
    private _set_layout_core_position_x;
    private _set_layout_core_position_y;
    private _spec_set_nodes_position;
    private __spec_set_nodes_position;
    private _pod_unlisten;
    private _set_units_position;
    private _pod_started;
    private _setup_pod;
    private _listen_pod;
    private _process_io_active_data;
    private _process_unit_io_all_data;
    private _unit_debug_reset_pins_data;
    private _unit_debug_reset_pin_data;
    private _process_graph_active_pin_data;
    private _process_graph_all_pin_data;
    private _process_graph_io_data;
    private _process_graph_unit_io_data;
    private _process_graph_unit_pin_data;
    private _for_each_spec_merge;
    private _process_graph_active_merge_data;
    private __process_graph_merge_data;
    private _process_graph_all_merge_data;
    private _process_graph_active_err;
    private _process_graph_all_err;
    private _process_graph_err;
    private _process_graph_active_children;
    private _process_graph_all_children;
    private _process_graph_children;
    private _on_background_click_hold;
    moment(path: string[], data: {
        type: 'unit' | 'graph';
        moment: Moment;
    }): void;
    private _graph_state;
    private _graph_children;
    private _graph_debug_refresh_pin_data;
    private _plunk_pod;
    private _unlisten_pod;
    private _start_debugger;
    private _step_debugger;
    private _stop_debugger;
    private _get_unit_pin_random_position;
    private _on_graph_unit_expose_pin;
    private _on_graph_unit_cover_pin;
    private _on_graph_unit_expose_pin_set;
    private _on_graph_unit_set_unit_id;
    private _on_graph_unit_cover_pin_set;
    private _graph_component_children;
    private _on_graph_unit_leaf_append_child;
    private _on_graph_unit_leaf_remove_child_at;
    private _componentify_core;
    private _on_add_unit_moment;
    private _on_clone_unit_moment;
    private _on_graph_unit_fork_moment;
    private _sim_fork_unit;
    private _spec_fork_unit;
    private _is_spec_updater;
    private _spec_graph_unit_add_unit;
    private _on_graph_unit_add_unit_moment;
    private _on_graph_unit_add_merge_moment;
    private _on_graph_unit_remove_merge_moment;
    private _on_graph_unit_plug_pin_moment;
    private _on_graph_unit_unplug_pin_moment;
    private _set_core_shape;
    private _refresh_core_size;
    private _refresh_core_rect;
    private _refresh_core_circle;
    private _on_remove_unit_moment;
    private _on_move_unit_moment;
    private _ensure_fork_spec;
    private _on_graph_unit_remove_unit_moment;
    private _spec_set_unit_spec_id;
    private _is_node_visible;
    private _nodes_cm;
    private _nodes_cm_position_map;
    private _init_merge_spec_position;
    private _sim_collapse_merge;
    private _on_add_merge_moment;
    private _on_remove_merge_moment;
    private _on_add_pin_to_merge_moment;
    private _on_remove_pin_from_merge_moment;
    private _on_expose_pin_set;
    private _on_cover_pin_set;
    private _on_expose_pin;
    private _on_cover_pin;
    private _on_plug_pin;
    private _on_unplug_pin;
    private _on_move_subgraph_into;
    private _on_inject_graph;
    private _on_set_unit_pin_constant;
    private _on_set_unit_pin_data;
    private _on_graph_unit_inject_graph;
    private _on_graph_unit_move_subgraph_into;
    private _sim_graph_remove_unit_pin;
    private _on_graph_unit_link_pin_data_moment;
    private _on_graph_unit_ref_link_pin_data_moment;
    private _on_graph_unit_ref_link_pin_drop_moment;
    private _on_graph_unit_err_moment;
    private _spec_graph_remove_unit_pin;
    private _graph_debug_set_unit_err;
    private _on_graph_unit_take_err_moment;
    private _graph_debug_take_err;
    private _on_graph_unit_append_child_moment;
    private _on_graph_unit_remove_child_at_moment;
    private _on_graph_unit_insert_child_at_moment;
    private _for_each_plug;
    private _ignore_sub_pin_data_update;
    private _unit_debug_set_pin_data;
    private _unit_debug_remove_pin_data;
    private _invalid_datum_node_id;
    private _invalid_datum_data;
    private _sim_set_datum_value;
    private __graph_debug_set_pin_data;
    private _graph_debug_set_pin_data;
    private _on_graph_unit_link_pin_drop_moment;
    private _graph_debug_drop_pin_data;
    private _mem_remove_pin_datum_tree_if;
    private _on_graph_unit_merge_data_moment;
    private _on_graph_unit_merge_drop_moment;
    private _on_graph_moment;
    private _on_graph_unit_link_pin_invalid_moment;
    private _on_graph_unit_merge_invalid_moment;
    private _on_graph_unit_set_pin_set_id;
    private _on_graph_unit_set_unit_pin_constant;
    private _on_graph_unit_set_unit_pin_data;
    private _graph_moment_handler;
    private _debug_moment;
    private _on_data_moment;
    private _on_drop_moment;
    private _set_link_pin_invalid;
    private _on_invalid_moment;
    private _unit_moment_handler;
    private _on_moment;
    private _get_color;
    private _refresh_minimap_color;
    private _background_color;
    private _refresh_color;
    private _enabled;
    private _refresh_enabled;
    onPropChanged(prop: string, current: any): void;
}
