/** * ComponentNode Component * * Displays a single component in the tree with diff styling. */ import React from 'react'; import type { ComponentDiffWithPosition } from '../../../core/types.js'; export interface ComponentNodeProps { /** * The component diff data. */ diff: ComponentDiffWithPosition; /** * Whether to show position indicator. */ showPosition?: boolean; /** * Whether this node is selected. */ isSelected?: boolean; /** * Click handler. */ onClick?: (diff: ComponentDiffWithPosition) => void; /** * Additional CSS class name. */ className?: string; } /** * Renders a single component node with diff styling. */ export declare function ComponentNode({ diff, showPosition, isSelected, onClick, className, }: ComponentNodeProps): React.ReactElement;