import React from 'react'; import { NodeProps } from 'react-flow-renderer'; import { HistoryItem, PageHistory } from './history'; import { ModelWrapper } from './modelwrapper'; import { EditorModel, ModelType } from './editormodel'; import { MMELDocument } from './document'; export interface FunModel { mw: ModelWrapper; history: PageHistory; } /** * This one should be deprecated, but is still used somewhere */ export interface EditorState { history: HistoryItem[]; page: string; model: EditorModel; type: 'model'; } /** * The view options in editor */ export interface EditorViewOption { dvisible: boolean; edgeDeleteVisible: boolean; idVisible: boolean; commentVisible: boolean; } export interface ViewerOption { dvisible: boolean; idVisible: boolean; repoBCVisible: boolean; } export interface MapperViewOption { dataVisible: boolean; legVisible: boolean; docVisible: boolean; mapAIVisible: boolean; repoMapVisible: boolean; repoLegendVisible: boolean; idVisible: boolean; } export declare type ReferenceContent = ModelWrapper | MMELDocument; export interface MapperState { history: PageHistory; modelWrapper: ReferenceContent; modelType: ModelType; historyMap: Record; } export interface MapperSelectedInterface { modelType: ModelType; selected: string; } export interface MMELtoFlowEntry { flowName: string; component: React.FC; } export interface LegendInterface { label: string; color: string; } export declare function isModelWrapper(x: ReferenceContent): x is ModelWrapper; export declare const MMELtoFlowEntries: Record; export declare const NodeTypes: Record>>; export declare const EdgeTypes: { self: React.FC>; normal: React.FC>; datalink: React.FC>; }; //# sourceMappingURL=States.d.ts.map