import type { DisplayObjectConfig, HTMLStyleProps as GHTMLStyleProps } from '@antv/g'; import type { BaseNodeStyleProps, HTMLStyleProps } from '@antv/g6'; import { HTML } from '@antv/g6'; import type { FC } from 'react'; export interface ReactNodeStyleProps extends BaseNodeStyleProps { /** * React 组件 * * React component */ component: FC; } export declare class ReactNode extends HTML { protected getKeyStyle(attributes: Required): GHTMLStyleProps; constructor(options: DisplayObjectConfig); update(attr?: Partial | undefined): void; connectedCallback(): void; attributeChangedCallback(name: any, oldValue: any, newValue: any): void; destroy(): void; }