import { Color, ComputedNodeStyle, ElementShape } from '@likec4/core/types'; import { MotionNodeLayoutOptions, MotionStyle } from 'motion/react'; import { BaseNodePropsWithData } from '../../base/types'; import { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react'; type RequiredData = { color: Color; shape: ElementShape; style?: ComputedNodeStyle; }; /** * Top-level primitive to compose leaf nodes renderers. * This container provides the state via data-* attributes */ export declare const ElementNodeContainer: ForwardRefExoticComponent<{ [key: `data-${string}`]: string | undefined; nodeProps: BaseNodePropsWithData; className?: string | undefined; style?: MotionStyle | undefined; } & MotionNodeLayoutOptions & { children?: ReactNode | undefined; } & RefAttributes>; export {};