import type { KeyValue } from '../../common'; import type { PointLike } from '../../geometry'; import type { EdgeView } from '../../view'; import { Registry } from '../registry'; import * as routers from './main'; export type RouterDefinition = (this: EdgeView, vertices: PointLike[], options: T, edgeView: EdgeView) => PointLike[]; type CommonDefinition = RouterDefinition; type Presets = typeof routerPresets; type OptionsMap = { readonly [K in keyof Presets]-?: Parameters[1]; }; type NativeNames = keyof OptionsMap; export interface RouterNativeItem { name: T; args?: OptionsMap[T]; } export interface RouterManualItem { name: Exclude; args?: KeyValue; } export declare const routerPresets: typeof routers; export declare const routerRegistry: Registry; export {};