import type { KeyValue } from '../../common'; import type { Path, PointLike } from '../../geometry'; import type { EdgeView } from '../../view'; import { Registry } from '../registry'; import * as connectors from './main'; export interface ConnectorBaseOptions { raw?: boolean; } export type ConnectorDefinition = (this: EdgeView, sourcePoint: PointLike, targetPoint: PointLike, routePoints: PointLike[], options: T, edgeView: EdgeView) => Path | string; type Presets = typeof connectorPresets; type OptionsMap = { readonly [K in keyof Presets]-?: Parameters[3]; }; type NativeNames = keyof Presets; export interface ConnectorNativeItem { name: T; args?: OptionsMap[T]; } export interface ConnectorManualItem { name: Exclude; args?: KeyValue; } export declare const connectorPresets: typeof connectors; export declare const connectorRegistry: Registry, typeof connectors, never>; export {};