/**
 * NodePortMarkers - 选中图元时显示四向锚点，用于拉线
 */
import React from 'react';
import type { FloorMapEdgeAnchor } from '../types';
import { type FloorMapItemPixelRect } from '../utils/edgeRouting';
import './NodePortMarkers.less';
export interface NodePortMarkersProps {
    rect: FloorMapItemPixelRect;
    contentOffsetX?: number;
    contentOffsetY?: number;
    /** 仅展示/高亮（拉线吸附目标），不可点击 */
    previewOnly?: boolean;
    onAnchorPointerDown?: (anchor: FloorMapEdgeAnchor, event: React.PointerEvent) => void;
    highlightAnchors?: FloorMapEdgeAnchor[];
    className?: string;
    /** 画布 viewport scale，用于把圆点和外移距离按 1/scale 反向缩放，保持视觉尺寸恒定 */
    viewportScale?: number;
}
export declare function NodePortMarkers(props: NodePortMarkersProps): JSX.Element;
