import type { Node, NodeProps } from '@xyflow/react'; import type { EntityNodeData as ZodEntityNodeData } from '../schemas.js'; import type { TenantEntity } from '../types.js'; /** * Runtime data for the React Flow node. Intentionally wider than the Zod * `EntityNodeDataSchema` because the Phase 1a port carries the full * `TenantEntity` row so downstream consumers (properties panel, relation * dialog) can read every column without a second Supabase round-trip. * * Phase 1b.2 actively renders `fields[]` as `` children, each * exposing four per-column React Flow handles (ยง3.6 item 1). */ export type EntityNodeData = { label: React.ReactNode; entity: TenantEntity; /** Column rows. Empty/undefined in Phase 1a; populated in Phase 1b.2. */ fields?: ZodEntityNodeData['fields']; }; export type EntityNodeType = Node; export declare function EntityNode({ data, selected }: NodeProps): import("react").JSX.Element; //# sourceMappingURL=EntityNode.d.ts.map