/**
 * TraitCardNode — React Flow node for the `trait-expanded` view level.
 *
 * Renders one card per trait of a single orbital. The card body shows
 * the trait's state-machine flow chart (states + transitions, laid out
 * by ELK) via the existing `AvlTraitScene` organism. Clicking a
 * transition arc drills into L4 transition detail.
 *
 * Left edge has one target handle per `listens[]` event; right edge
 * has one source handle per `emits[]` event. Edges produced by
 * `orbitalToTraitGraph` connect emit handles to listen handles where
 * the event names match within the same orbital.
 *
 * Transition clicks bubble through `TraitCardSelectionContext`
 * (mirrors `PatternSelectionContext` in `OrbPreviewNode`). FlowCanvas
 * wraps the canvas in a provider that translates the context callback
 * into its `onNodeClick({ level: 'transition', ... })` prop.
 */
import React from 'react';
import { type NodeProps } from '@xyflow/react';
export interface TraitCardTransitionClick {
    orbitalName: string;
    traitName: string;
    transitionEvent: string;
    fromState: string;
    toState: string;
    index: number;
}
export interface TraitCardSelectionContextValue {
    selectTransition: (sel: TraitCardTransitionClick) => void;
}
export declare const TraitCardSelectionContext: React.Context<TraitCardSelectionContextValue>;
export declare const TraitCardNode: React.NamedExoticComponent<NodeProps>;
