import { NodeChange, InternalNodeUpdate } from '@xyflow/system'; import type { Node, Edge, UnselectNodesAndEdgesParams, FitViewOptions } from '../types'; declare const createStore: ({ nodes, edges, defaultNodes, defaultEdges, width, height, fitView: shouldFitView, }: { nodes?: Node[] | undefined; edges?: Edge[] | undefined; defaultNodes?: Node[] | undefined; defaultEdges?: Edge[] | undefined; width?: number | undefined; height?: number | undefined; fitView?: boolean | undefined; }) => { setNodes: (newNodes: Node[]) => void; setEdges: (edges: Edge[]) => void; setDefaultNodesAndEdges: (nodes?: Node[], edges?: Edge[]) => void; updateNodeInternals: (updates: Map) => void; updateNodePositions: import("@xyflow/system").UpdateNodePositions; triggerNodeChanges: (changes: NodeChange[]) => void; triggerEdgeChanges: (changes: import("@xyflow/system").EdgeChange[]) => void; addSelectedNodes: (nodeIds: string[]) => void; addSelectedEdges: (edgeIds: string[]) => void; unselectNodesAndEdges: ({ nodes, edges }?: UnselectNodesAndEdgesParams) => void; setMinZoom: (minZoom: number) => void; setMaxZoom: (maxZoom: number) => void; setTranslateExtent: (translateExtent: import("@xyflow/system").CoordinateExtent) => void; resetSelectedElements: () => void; setNodeExtent: (nodeExtent: import("@xyflow/system").CoordinateExtent) => void; panBy: import("@xyflow/system").PanBy; fitView: (options?: FitViewOptions) => boolean; cancelConnection: () => void; updateConnection: import("@xyflow/system").UpdateConnection; reset: () => void; rfId: import("./initialState").Writable; width: import("./initialState").Writable; height: import("./initialState").Writable; transform: import("./initialState").Writable; nodes: import("./initialState").Writable; nodeLookup: import("@solid-primitives/map").ReactiveMap>; parentLookup: import("@solid-primitives/map").ReactiveMap[]>; edges: import("./initialState").Writable; edgeLookup: import("../types").ReactiveEdgeLookup; connectionLookup: import("../types").ReactiveConnectionLookup; onNodesChange: import("./initialState").Writable | null>; onEdgesChange: import("./initialState").Writable | null>; hasDefaultNodes: import("./initialState").Writable; hasDefaultEdges: import("./initialState").Writable; domNode: import("./initialState").Writable; paneDragging: import("./initialState").Writable; noPanClassName: import("./initialState").Writable; panZoom: import("./initialState").Writable; minZoom: import("./initialState").Writable; maxZoom: import("./initialState").Writable; translateExtent: import("./initialState").Writable; nodeExtent: import("./initialState").Writable; nodeOrigin: import("./initialState").Writable; nodeDragThreshold: import("./initialState").Writable; nodesSelectionActive: import("./initialState").Writable; userSelectionActive: import("./initialState").Writable; userSelectionRect: import("./initialState").Writable; connectionPosition: import("./initialState").Writable; connectionStatus: import("./initialState").Writable; connectionMode: import("./initialState").Writable; snapToGrid: import("./initialState").Writable; snapGrid: import("./initialState").Writable; nodesDraggable: import("./initialState").Writable; nodesConnectable: import("./initialState").Writable; nodesFocusable: import("./initialState").Writable; edgesFocusable: import("./initialState").Writable; edgesUpdatable: import("./initialState").Writable; elementsSelectable: import("./initialState").Writable; elevateNodesOnSelect: import("./initialState").Writable; elevateEdgesOnSelect: import("./initialState").Writable; selectNodesOnDrag: import("./initialState").Writable; multiSelectionActive: import("./initialState").Writable; connectionStartHandle: import("./initialState").Writable; connectionEndHandle: import("./initialState").Writable; connectionClickStartHandle: import("./initialState").Writable; onNodeDragStart?: import("../types").OnNodeDrag | undefined; onNodeDrag?: import("../types").OnNodeDrag | undefined; onNodeDragStop?: import("../types").OnNodeDrag | undefined; onSelectionDragStart?: import("@xyflow/system").OnSelectionDrag | undefined; onSelectionDrag?: import("@xyflow/system").OnSelectionDrag | undefined; onSelectionDragStop?: import("@xyflow/system").OnSelectionDrag | undefined; onMoveStart?: import("@xyflow/system").OnMove | undefined; onMove?: import("@xyflow/system").OnMove | undefined; onMoveEnd?: import("@xyflow/system").OnMove | undefined; onConnect: import("./initialState").Writable; onConnectStart?: import("@xyflow/system").OnConnectStart | undefined; onConnectEnd?: import("@xyflow/system").OnConnectEnd | undefined; onClickConnectStart?: import("@xyflow/system").OnConnectStart | undefined; onClickConnectEnd?: import("@xyflow/system").OnConnectEnd | undefined; connectOnClick: import("./initialState").Writable; defaultEdgeOptions?: import("../types").DefaultEdgeOptions | undefined; fitViewOnInit: import("./initialState").Writable; fitViewDone: import("./initialState").Writable; fitViewOnInitOptions: import("./initialState").Writable; onNodesDelete: import("./initialState").Writable | undefined>; onEdgesDelete: import("./initialState").Writable | undefined>; onDelete: import("./initialState").Writable; onError: import("./initialState").Writable; onViewportChangeStart: import("./initialState").Writable; onViewportChange: import("./initialState").Writable; onViewportChangeEnd: import("./initialState").Writable; onBeforeDelete: import("./initialState").Writable | undefined>; onSelectionChangeHandlers: import("./initialState").Writable; ariaLiveMessage: import("./initialState").Writable; autoPanOnConnect: import("./initialState").Writable; autoPanOnNodeDrag: import("./initialState").Writable; connectionRadius: import("./initialState").Writable; isValidConnection?: import("../types").IsValidConnection | undefined; lib: import("./initialState").Writable; debug: import("./initialState").Writable; }; export { createStore }; //# sourceMappingURL=index.d.ts.map