import { type CSSProperties } from "react";
import type { HandlePosition, HandleType } from "../../editor";
export interface HandleProps {
    /** `source` = connections start here; `target` = connections end here. */
    type: HandleType;
    /** Which side of the node the handle sits on. */
    position: HandlePosition;
    /** Stable id within the node. Default `"default"`; required when >1 handle of same type. */
    id?: string;
    /** Defaults to true. Setting false disables both starting and ending here. */
    isConnectable?: boolean;
    /** Allow this handle to *start* a connection. Defaults to `isConnectable`. */
    isConnectableStart?: boolean;
    /** Allow this handle to *end* a connection. Defaults to `isConnectable`. */
    isConnectableEnd?: boolean;
    /** 0-based position among same-(node, side) handles. Defaults to 0. */
    index?: number;
    /** Total handles on the same (node, side). Defaults to 1. */
    total?: number;
    /** Optional caption rendered next to the dot (e.g. "true"/"false"). */
    label?: string;
    className?: string;
    style?: CSSProperties;
}
export declare function Handle({ type, position, id, isConnectable, isConnectableStart, isConnectableEnd, index, total, label, className, style, }: HandleProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Handle.d.ts.map