import { NodeDefinition } from '../../../types/NodeDefinition'; /** * @file Shared node definition card component for menus, search panels, and inspector palettes. * * Variants: * - list: Horizontal layout with icon, title, description, and type badge (for search menus) * - grid: Card layout for palette grids * - menu: Compact horizontal layout for submenu items (icon, title, type badge only) * - compact: Minimal layout for inspector or tight spaces */ import * as React from "react"; export type NodeCardVariant = "list" | "grid" | "menu" | "compact"; export type NodeCardProps = { node: NodeDefinition; variant?: NodeCardVariant; disabled?: boolean; isSelected?: boolean; /** Node does not match current search query (used in highlight filter mode) */ isNonMatching?: boolean; /** Show description text (default: true for list/grid, false for menu/compact) */ showDescription?: boolean; /** Show type badge (default: true) */ showTypeBadge?: boolean; /** Custom content to append after the title */ titleSuffix?: React.ReactNode; } & Omit, "className">; /** * Renders a concise node definition preview that can appear within menus, * search panels, or inspector palettes. */ export declare const NodeCard: React.FC;