import { ElementRef, EventEmitter, Injector, OnDestroy, OnInit, TemplateRef, Type, ViewContainerRef } from '@angular/core'; import { ClassicPreset, GetSchemes, NodeEditor } from 'rete'; import { AngularArea2D, AngularPlugin } from 'rete-angular-plugin/15'; import { AreaPlugin } from 'rete-area-plugin'; import { ConnectionPlugin } from 'rete-connection-plugin'; import { SimpleLogger, SimplifyService } from 'simplify-angular'; import { SimpleNodeComponent } from '../simple-node/simple-node.component'; import * as i0 from "@angular/core"; type Schemes = GetSchemes>; type AreaExtra = AngularArea2D; export declare class SimpleNodeEditorComponent implements OnInit, OnDestroy { private injector; private elementRef; private viewContainer; private simplifyService; autoInitEditor: boolean; connections: any; connectionContextMenuTemplate: TemplateRef; defaultConnection: Type; defaultNode: Type; editorContextMenuTemplate: TemplateRef; logger: SimpleLogger; nodeContextMenuTemplate: TemplateRef; nodes: any; enableLogger: boolean; editorInitialized: EventEmitter; nodeAdded: EventEmitter; connectionClicked: EventEmitter; container: ElementRef; angularPlugin: AngularPlugin; areaPlugin: AreaPlugin; connectionPlugin: ConnectionPlugin; contextMenuPlugin: any; editor: NodeEditor; importStatus: any; socket: ClassicPreset.Socket; private _contextMenuRef; private _documentClickListenerForContext; private _documentContextMenuListenerForContext; constructor(injector: Injector, elementRef: ElementRef, viewContainer: ViewContainerRef, simplifyService: SimplifyService); ngOnDestroy(): void; ngOnInit(): void; addNode(nodeProperties?: any): Promise; addConnection(connectionProperties?: any): Promise; checkImportCompleted(): void; private closeContextMenu; createEditor(container: HTMLElement): Promise<() => void>; fromJson(jsonObject: any): Promise; getConnectionsMap(): any; getCurrentZoomLevel(): number; getCurrentCenterPosition(): any; getNodesMap(): any; getLinearFlowJson(): any[]; getLinearFlowJsonNodeObject(nodes: any, node: any): void; getLinearNodesFlow(): any[]; getLinearNodeFlowPath(node: any, initiatorNodeId?: string): void; getSimpleNodeComponentFromNode(node: any): SimpleNodeComponent | undefined; initEditor(): Promise; logConnections(): void; logNodes(): void; resetEditor(): void; resolveConnection(data?: any): any; resolveNode(data: any): any; setZoomLevel(zoomLevel: number): Promise; setCenterPosition(x: number, y: number): Promise; showContextMenu(contextMenuTemplate: TemplateRef, event: any, context?: any): void; toJson(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};