import type { MaybeRefOrGetter } from 'vue' import type { Connection, HandleType, MouseTouchEvent, ValidConnectionFunc } from '../types' export interface UseHandleProps { handleId: MaybeRefOrGetter nodeId: MaybeRefOrGetter type: MaybeRefOrGetter isValidConnection?: MaybeRefOrGetter edgeUpdaterType?: MaybeRefOrGetter onEdgeUpdate?: (event: MouseTouchEvent, connection: Connection) => void onEdgeUpdateEnd?: (event: MouseTouchEvent) => void } /** * This composable provides listeners for handle events * * Generally it's recommended to use the `` component instead of this composable. * * @public */ export declare function useHandle({ handleId, nodeId, type, isValidConnection, edgeUpdaterType, onEdgeUpdate, onEdgeUpdateEnd, }: UseHandleProps): { handlePointerDown: (event: MouseTouchEvent) => void handleClick: (event: MouseEvent) => void }