/**
 * Composable for accessing the currently ongoing connection.
 *
 * @public
 * @returns current connection: startHandle, endHandle, status, position
 */
export declare function useConnection(): {
  startHandle: import('vue').Ref<import('..').ConnectingHandle | null>
  endHandle: import('vue').Ref<import('..').ConnectingHandle | null>
  status: import('vue').Ref<import('..').ConnectionStatus | null>
  position: import('vue').Ref<import('..').XYPosition>
}
