import { FlowViewEdge, FlowViewNode, MiniMapPosition } from "../../constants"; import { type ReactNode } from 'react'; import { Edge, Node, ReactFlowInstance } from 'reactflow'; import { NodeMapping, SelectType } from '../constants'; import { LayoutOptions } from './../constants'; interface FlowViewContextProps { flowDataAdapter?: (nodes: FlowViewNode[], edges: FlowViewEdge[], zoom: number, autoLayout: boolean, layoutOptions: LayoutOptions) => void; nodes?: Node[]; edges?: Edge[]; mapping?: NodeMapping; isUseProvider?: boolean; reactFlowInstance?: ReactFlowInstance; miniMapPosition?: MiniMapPosition; flowViewRef?: React.MutableRefObject; setMiniMapPosition?: React.Dispatch>; updateSelectNode?: (nodeId: string, selectType: SelectType) => void; updateSelectEdge?: (edgeId: string, selectType: SelectType) => void; updateSelectNodes?: (nodeIds: string[], selectType: SelectType) => void; updateSelectEdges?: (edgeIds: string[], selectType: SelectType) => void; } export declare const FlowViewContext: import("react").Context; export {};