import { GraphData, GraphDataSchema } from "../proto/compas_pb/generated/datastructures_pb.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/datastructures/graph.d.ts /** The fields a Graph is built from. */ type GraphInit = MessageInitShape; declare class Graph { readonly data: GraphData; constructor(init: GraphInit); get bytes(): Uint8Array; /** Reads a Graph from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Graph; get guid(): string; get name(): string; get nodeKeys(): any[]; } declare function bytesToGraph(bytes: Uint8Array): Graph; declare function graphToBytes(graph: Graph): Uint8Array; //#endregion export { Graph, GraphInit, bytesToGraph, graphToBytes }; //# sourceMappingURL=graph.d.ts.map