UNPKG

@ant-design/pro-flow

Version:
8 lines (7 loc) 447 B
import { StateCreator } from 'zustand'; import { FlowEditorState } from './initialState'; import { InternalStoreAction } from './slices'; import { InternalFlow } from '../types'; import { DocWithHistoryManager } from '../utils/yjs'; export type FlowEditorStore = FlowEditorState & InternalStoreAction; export declare const createStore: (yjsDoc: DocWithHistoryManager<InternalFlow>) => StateCreator<FlowEditorStore, [['zustand/devtools', never]]>;