/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
/**
 * The node drag-to-reorder provider now lives in client-v2 and is shared by both
 * canvases (ADR-0003). v1 keeps a thin wrapper that injects its own canvas runtime
 * (v1 `useAPIClient` / `lang` / `useCompile` / instruction registry /
 * `useWorkflowExecuted`) into the shared provider, and re-exports the hook so
 * existing v1 import sites (`from './NodeDragContext'`) are unchanged. The pure
 * drop-impact graph walks are likewise re-exported from their client-v2 home.
 * Delete on legacy-canvas retirement.
 */
import React from 'react';
export { useNodeDragContext } from '../client-v2/canvas/NodeDragContext';
export { collectDownstreams, collectBranchSubtree } from '../client-v2/canvas/dropImpact';
export declare function NodeDragContextProvider(props: {
    children: React.ReactNode;
}): React.JSX.Element;
