import { Component } from 'react'; import type { MouseEventHandler, ReactNode } from 'react'; import { PortRecord } from '../../customTypings/index.d'; type Props = { port?: PortRecord; onClick?: MouseEventHandler; children?: ReactNode | ReactNode[]; }; declare class AbstractPort extends Component { d3Node: any; node: any; constructor(props: Props); componentDidMount(): void; shouldComponentUpdate(nextProps: Props): boolean; onClick(event: any): void; render(): import("react/jsx-runtime").JSX.Element; } export default AbstractPort;