Public declaration syntax from forge-ts/packages/forge-core/src/brew-builder.ts Original source SHA-256: 654c196ba5cfd998cdb8b6bc81f870edc679469236818e08264ce34f42b1283c Function bodies and constant values are omitted. This is not the complete implementation. Source line 49 export class BrewBuilder { constructor(id: string, version: string); addNode(nodeId: string, kind: BrewNodeKind): this; addEdge(from: string, to: string, edgeKind: BrewEdgeKind): this; setEntry(nodeId: string): this; setExit(nodeId: string): this; withTopology(topology: ModelTopology): this; withMetadata(nodeId: string, key: string, value: string): this; build(): Brew; } Source line 264 export function topologicalSort( nodes: ReadonlyMap, edges: readonly BrewEdge[], ): NodeId[];