import { ElementRef, Injector, OnInit } from '@angular/core';
import { ContextMenu } from 'tn-custom-primeng/contextmenu';
import { ComponentBase } from '../../../classes/base/component-base';
import { PopupSize } from '../../../classes/form-schema';
import { NotifierService } from '../../../services/notifier.service';
import { JsPlumbOption } from '../models/models';
export declare class StateMachinesDesignerComponent extends ComponentBase implements OnInit {
    private notifierService;
    containerDOM: ElementRef<any>;
    contextMenu: ContextMenu;
    useScrollBar: boolean;
    viewOnly: boolean;
    _data: any;
    set data(value: any);
    get data(): any;
    _currentConnection: any[];
    set currentConnection(value: any[]);
    containerId: any;
    jsPlumbOption: JsPlumbOption;
    buttonContexts: any[];
    jsPlumbInstance: any;
    jsPlumbReady: boolean;
    stateMetadataModel: {
        showEditForm: boolean;
        popupSize: PopupSize;
    };
    stateMachineConnectionModel: {
        showEditForm: boolean;
        popupSize: PopupSize;
    };
    currentConnectionObject: any;
    createNewConnection: boolean;
    currentState: any;
    locationWhenAdd: number[];
    createNewState: boolean;
    highlighting: boolean;
    classMarkCurrent: string;
    renderedMachineCount: number;
    initConnection: boolean;
    holderStyle: any;
    containerStyle: any;
    oldHolderStyle: any;
    fullScreenMode: boolean;
    constructor(injector: Injector, notifierService: NotifierService);
    ngOnInit(): void;
    private showContextMenu;
    clearCurrentStateAndConnection(): void;
    checkStatesReadyThenRenderConnections(machine: any): void;
    setCurrentFlow(): void;
    clearClassMarkCurrent(connectionIntance: any): void;
    addClassMarkCurrent(connectionIntance: any): void;
    markCurrentState(state: any): void;
    createNewNode(event: any, container: any): void;
    editNode(machine: any): void;
    deleteNode(machine: any): void;
    addConnection(connectionInfo: any): void;
    editConnection(connection: any): void;
    handleSavedConnection(data: any): void;
    private getStringSoThuTu;
    setLabelConnection(connection: any): void;
    hideConnectionForm(): void;
    handleRemoveConnectionFromDialog(): void;
    deleteCurrentConnection(): void;
    handleSavedStateMetadata(data: any): void;
    hideStateMetadataForm(): void;
    handleRemoveFromDialog(): void;
    copyWfToClipboard(): void;
    getDesignData(): any;
    pasteWfToClipboard(): void;
    reNewWorkflowStateId(data: any): {
        machines: any[];
        connections: any[];
    };
    reset(): void;
    getSizeStateMachine(machines: any): number[];
    fullScreen(full: boolean): void;
}
//# sourceMappingURL=statemachines-designer.component.d.ts.map