/// declare type Index = string | number; export declare type ObjectType = { [key in Index]: T; }; export declare type GraphType = ObjectType; export declare type VisitedT = ObjectType; export declare type DistanceT = ObjectType>; export declare type PathT = ObjectType>; export default class Graph { graph: GraphType; visited: VisitedT; distance: DistanceT; pathLength: DistanceT; path: PathT; constructor(graph: GraphType); get length(): number; UnvisitAll(): void; AddEdge(key: number, value: number): void; private DFSUtils; AllPairShortestPath({ cache }: { cache?: boolean | undefined; }): void; Path(source: Index, dest: Index): import("fs").Mode[]; PathLength(source: Index, dest: Index): number; CalculateDistancesBetweenAllElements({ cache }: { cache?: boolean | undefined; }): void; CalculateAverageDistanceBetweenAllElements(): ObjectType[]; ConnectedComponents(): import("fs").Mode[][]; } export {}; //# sourceMappingURL=Graph.d.ts.map