import { type HTMLAttributes } from 'react';
import { type HandleProps as HandlePropsSystem, OnConnect } from '@xyflow/system';
/**
* @expand
*/
export type HandleProps = HandlePropsSystem & Omit, 'id'> & {
/** Callback called when connection is made */
onConnect?: OnConnect;
};
/**
* The `` component is used in your [custom nodes](/learn/customization/custom-nodes)
* to define connection points.
*
*@public
*
*@example
*
*```jsx
*import { Handle, Position } from '@xyflow/react';
*
*export function CustomNode({ data }) {
* return (
* <>
*
* {data.label}
*
*
*
*
* >
* );
*};
*```
*/
export declare const Handle: import("react").MemoExoticComponent<(props: HandlePropsSystem & Omit, "id"> & {
/** Callback called when connection is made */
onConnect?: OnConnect;
} & import("react").RefAttributes) => import("react").JSX.Element>;
//# sourceMappingURL=index.d.ts.map