import { KeyValue } from '../../types'; import { Point, Path } from '../../geometry'; import { EdgeView } from '../../view'; import { Registry } from '../registry'; import * as connectors from './main'; export declare namespace Connector { interface BaseOptions { raw?: boolean; } type Definition = (this: EdgeView, sourcePoint: Point.PointLike, targetPoint: Point.PointLike, routePoints: Point.PointLike[], options: T, edgeView: EdgeView) => Path | string; } export declare namespace Connector { type Presets = typeof Connector['presets']; type OptionsMap = { readonly [K in keyof Presets]-?: Parameters[3]; }; type NativeNames = keyof Presets; interface NativeItem { name: T; args?: OptionsMap[T]; } interface ManaualItem { name: Exclude; args?: KeyValue; } } export declare namespace Connector { const presets: typeof connectors; const registry: Registry, typeof connectors, never>; }