import { Connection, type Edge, type Node, ReactFlowInstance } from "@xyflow/react"; export declare const useWorkFlow: () => import("@xyflow/react").GeneralHelpers & import("@xyflow/react").ViewportHelperFunctions & { viewportInitialized: boolean; } & { connect: (connection: Connection) => void; getChildren: (nodeId?: string, allowSubFlow?: boolean) => NodeType[]; getParents: (nodeId?: string) => NodeType[]; };