import { WorkflowGraph } from "./types"; import { Middleware, Store } from 'redux'; import { State } from "./state"; import { IWorkflowNode } from './models/workflowNode'; import { TableGraph } from './graph'; import { IExecutorEngine } from './executors/engines'; export declare namespace App { interface IOptions { engine: IExecutorEngine; } } export declare class App { graphSerializer: any; store: Store; private readonly _listeners; constructor(options: App.IOptions); getGraph(): TableGraph; setGraph(graph: TableGraph): void; onStateChange(listener: (graph: WorkflowGraph) => void): void; start(node: HTMLElement): void; } export declare const actionToPlainObject: Middleware;