import { Position } from '../../xyflow/react.ts';
export type HandleButtonPortal = {
    nodeId: string;
    left: number;
    top: number;
    width: number;
    height: number;
    transform: string;
};
export declare const HandleButton: import("react").MemoExoticComponent<({ visible, labelVisible, keepButtonMounted, position, onAction, onMouseEnter, onMouseLeave, handleRef, label, labelIcon, labelBackgroundColor, portal, }: {
    visible?: boolean;
    labelVisible?: boolean;
    keepButtonMounted?: boolean;
    position: Position;
    onAction: (event: React.MouseEvent) => void;
    onMouseEnter?: () => void;
    onMouseLeave?: () => void;
    handleRef?: React.RefObject<HTMLDivElement | null>;
    label?: string;
    labelIcon?: React.ReactNode;
    labelBackgroundColor?: string;
    portal?: HandleButtonPortal;
}) => import("react/jsx-runtime").JSX.Element | null>;
export declare const HandleHoverBridge: import("react").MemoExoticComponent<({ position, visible }: {
    position: Position;
    visible?: boolean;
}) => import("react/jsx-runtime").JSX.Element | null>;
//# sourceMappingURL=HandleButton.d.ts.map