import { LinkList } from "../linklist/LinkList"; import { GraphEdge } from "./GraphEdge"; import { GraphVertex } from "./GraphVertex"; export declare class Graph { private directed; private vertices; private edges; constructor(directed?: boolean); readonly Directed: boolean; addVertex(vertex: GraphVertex): this; addEdgeByKey(start: string, end: string, weight?: number): this; addEdge(start: GraphVertex, end: GraphVertex, weight?: number): this; deleteEdge(start: GraphVertex, end: string): boolean; deleteEdgeByKey(start: string, end: string): boolean; getVertexs(): GraphVertex[]; getKeys(): string[]; getEdges(): GraphEdge[]; findVertex(key: string): GraphVertex; findEdge(key: string): LinkList>; deleteVertex(key: string): boolean; toAdjacencyMatrix(): { matrix: number[][]; keyIndexs: { [index: string]: number; }; }; clone(): Graph; }