@tscircuit/capacity-autorouter 0.0.42 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -103,6 +103,7 @@ declare class BaseSolver {
103
103
  /** DO NOT OVERRIDE! Override _step() instead */
104
104
  step(): void;
105
105
  _step(): void;
106
+ getConstructorParams(): void;
106
107
  solve(): void;
107
108
  visualize(): GraphicsObject;
108
109
  /**
@@ -495,6 +496,7 @@ declare class SingleRouteCandidatePriorityQueue {
495
496
  private parent;
496
497
  private swap;
497
498
  dequeue(): Node | null;
499
+ peek(): Node | null;
498
500
  enqueue(item: Node): void;
499
501
  heapifyUp(): void;
500
502
  heapifyDown(): void;
@@ -1391,6 +1393,13 @@ declare class SingleSimplifiedPathSolver extends BaseSolver {
1391
1393
  connMap: ConnectivityMap;
1392
1394
  colorMap: Record<string, string>;
1393
1395
  });
1396
+ getConstructorParams(): {
1397
+ inputRoute: HighDensityIntraNodeRoute;
1398
+ otherHdRoutes: HighDensityIntraNodeRoute[];
1399
+ obstacles: Obstacle[];
1400
+ connMap: Record<string, string[]>;
1401
+ colorMap: Record<string, string>;
1402
+ };
1394
1403
  get simplifiedRoute(): HighDensityIntraNodeRoute;
1395
1404
  isValidPath(pointsInRoute: Point[]): boolean;
1396
1405
  _step(): void;