/**
 * 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.
 */
/**
 * Modern canvas node card (doc §9.5/§9.6). A second copy of the v1 `Node`,
 * rebuilt with native antd + the v2 contexts/registry — it shares no Formily
 * code, but reuses the *same* stylesheet classes (`nodeBlockClass`,
 * `nodeClass`, `nodeCardClass`, `nodeHeaderClass`, `nodeMetaClass`) and DOM
 * shape so the card is visually 1:1 with v1. Renders:
 *  - a registered node → type tag + editable title (+ optional `ComponentLoader`
 *    self-render for branch nodes);
 *  - an unregistered type (only implemented in v1) → a placeholder card,
 *    keeping topology intact (mirrors v1's "unknown node" branch, doc §9.1).
 */
import React from 'react';
/**
 * The default node card — type tag + editable title + actions menu, wrapped in
 * the canvas `nodeClass`/`nodeCardClass` chrome (drag mousedown, click-to-open
 * config, copy/drag highlight). Exported and given a `children` slot so a node's
 * `ComponentLoader` can reuse the exact card and append its own subtree after it
 * (e.g. the condition node's Yes/No branches). `cardExtra` is an internal slot
 * for node-specific notices inside the card, directly after the title — the v2
 * mirror of v1's `NodeDefaultView` (doc §9.5, ADR-0003). Unregistered types
 * still render with the same card chrome, but do not open the config drawer.
 */
export declare function NodeDefaultView({ cardExtra, data, children, }: {
    cardExtra?: React.ReactNode;
    data: any;
    children?: React.ReactNode;
}): React.JSX.Element;
export declare function Node({ data }: {
    data: any;
}): React.JSX.Element;
