import { Edge } from '@xyflow/react'; import { FlowNode } from '../models/store'; export declare const useFlow: () => { setNodes: (nodes: FlowNode[]) => void; addNodes: (nodes: FlowNode[]) => void; setEdges: (edges: Edge[]) => void; addEdges: (edges: Edge[]) => void; getFlowData: () => { edges: Edge, string>[]; nodes: any; }; setFlowData: ({ nodes, edges }: { nodes: any; edges: any; }) => void; getNodes: (_nodes: any) => any; getEdges: () => Edge, string>[]; toObject: () => { nodes: any; edges: Edge, string>[]; viewport: import("@xyflow/react").Viewport; }; zoomIn: import("@xyflow/system").ZoomInOut; zoomOut: import("@xyflow/system").ZoomInOut; zoomTo: import("@xyflow/system").ZoomTo; getZoom: import("@xyflow/system").GetZoom; setViewport: import("@xyflow/system").SetViewport; getViewport: import("@xyflow/system").GetViewport; fitView: import("@xyflow/react").FitView; setCenter: import("@xyflow/system").SetCenter; fitBounds: import("@xyflow/system").FitBounds; screenToFlowPosition: (clientPosition: import("@xyflow/react").XYPosition, options?: { snapToGrid: boolean; }) => import("@xyflow/react").XYPosition; flowToScreenPosition: (flowPosition: import("@xyflow/react").XYPosition) => import("@xyflow/react").XYPosition; runAutoLayout: () => void; copyNode: (this: any, nodeId: any) => void; pasteNode: (nodeId: string, data: any) => void; pasteNodeSimple: () => void; deleteNode: (this: any, nodeId: any) => void; };