import { RankedPath } from '../../../algorithms/pathfinding/path-ranking'; import { Path } from '../../../algorithms/types/algorithm-results'; import { Edge, Node } from '../../../algorithms/types/graph'; /** * Rank paths by sum of edge weights. * For weighted graphs only. * * @param paths - Paths to rank * @param weightFn - Function to extract weight from edge * @param weightFunction * @returns Paths sorted by total weight (descending) */ export declare const weightBasedRanker: (paths: Path[], weightFunction: (edge: E) => number) => RankedPath[]; //# sourceMappingURL=weight-ranker.d.ts.map