import { ReactFlowInstance, XYPosition } from 'reactflow'; import { PublicStoreAction } from '../store/slices'; import { FlattenEdges, FlattenNodes } from '../types'; export interface FlowEditorInstance extends PublicStoreAction { getFlattenNodes: () => FlattenNodes; getFlattenEdges: () => FlattenEdges; getSelectedKeys: () => string[]; reactflow?: ReactFlowInstance; screenToFlowPosition: (position: XYPosition) => XYPosition; } export declare const useFlowEditor: () => FlowEditorInstance;