import type { Position } from '../../../../../common'; import type { Schemes } from '../../../../../schemes'; import { type Component } from 'svelte'; type PositionWatcher = (cb: (value: Position) => void) => () => void; type Props = { component: Component; data: Schemes['Connection'] & { isLoop?: boolean; }; start: Position | PositionWatcher; end: Position | PositionWatcher; path: (start: Position, end: Position) => Promise; }; declare const ConnectionWrapper: Component; type ConnectionWrapper = ReturnType; export default ConnectionWrapper;