import type { LogicFlow, Options } from '@logicflow/core';
import { LogicFlow as LogicFlowClass } from '@logicflow/core';

export type LogicFlowInstance = InstanceType<typeof LogicFlowClass>;
export type LogicFlowOptions = Partial<Options.Common>;

export type LogicFlowNodeProperties = LogicFlow.PropertiesType;
export type LogicFlowNode<P extends LogicFlowNodeProperties = LogicFlowNodeProperties> = LogicFlow.NodeConfig<P>;
export type LogicFlowGraphData = LogicFlow.GraphConfigData;
