File size: 386 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
/// <reference types="svelte" />
/// <reference types=".pnpm/[email protected]/node_modules/svelte" />
import type { Readable } from 'svelte/store';
import type { ConnectionState } from '@xyflow/system';
/**
 * Hook for receiving the current connection.
 *
 * @public
 * @returns current connection as a readable store
 */
export declare function useConnection(): Readable<ConnectionState>;