import { ReactNode } from 'react'; import { Queue } from './types'; import type { Edge, Node } from '../../types'; /** * This is a context provider that holds and processes the node and edge update queues * that are needed to handle setNodes, addNodes, setEdges and addEdges. * * @internal */ export declare function BatchProvider({ children, }: { children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare function useBatchContext(): { nodeQueue: Queue; edgeQueue: Queue; }; //# sourceMappingURL=index.d.ts.map