import { Graph } from '../../algorithms/graph/graph'; import { RankedPath } from '../../algorithms/pathfinding/path-ranking'; import { Edge, Node } from '../../algorithms/types/graph'; import { Option } from '../../algorithms/types/option'; import { Result } from '../../algorithms/types/result'; /** * Configuration for betweenness ranking. */ export interface BetweennessConfig { /** * Traversal mode for path finding. */ traversalMode?: "directed" | "undirected"; /** * Maximum number of paths to return. */ maxPaths?: number; } /** * Rank paths between two nodes by betweenness centrality. * * This baseline ranks paths by the sum of betweenness centrality values * of nodes along the path. Paths through highly central nodes receive * higher scores. * * @template N - Node type * @template E - Edge type * @param graph - The graph to search * @param startId - Source node ID * @param endId - Target node ID * @param config - Optional configuration * @returns Result containing betweenness-ranked paths or error */ export declare const betweennessRanking: (graph: Graph, startId: string, endId: string, config?: BetweennessConfig) => Result[]>, { type: string; message: string; }>; //# sourceMappingURL=betweenness-ranking.d.ts.map