import { GraphNode, WeightedGraph } from '../graph-node'; /** * Perform Dijkstra's shortest path algorithm. * Find the shortest path between two vertices in a directed graph with positive weights. * * Time complexity: O[(V+E)logV] * Space complexity: O(V+E) * * @param {WeightedGraph} graph * @param {GraphNode} source * @param {GraphNode} target * @return {[Array<>, number]} */ export declare const shortestPath: (graph: WeightedGraph, source: GraphNode, target: GraphNode) => [T[], number]; //# sourceMappingURL=dijkstras-shortest-path.d.ts.map