@tscircuit/capacity-autorouter 0.0.245 → 0.0.247

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
@@ -3039,7 +3039,7 @@ declare class SimpleHighDensitySolver extends BaseSolver {
3039
3039
  visualize(): GraphicsObject;
3040
3040
  }
3041
3041
 
3042
- type HyperGraphPatternType = "single_1206x4" | "1x2_1206x4" | "2x2_1206x4" | "3x1_1206x4" | "3x2_1206x4" | "3x3_1206x4" | "4x4_1206x4" | "6x4_1206x4";
3042
+ type HyperGraphPatternType = "single_1206x4" | "1x2_1206x4" | "2x2_1206x4" | "3x1_1206x4" | "3x2_1206x4" | "3x3_1206x4" | "4x4_1206x4" | "6x4_1206x4" | "8x4_1206x4";
3043
3043
  interface JumperPrepatternSolver2HyperParameters {
3044
3044
  /** Pattern type for jumper placement - "single_1206x4" (~8x8mm) or "2x2_1206x4" (~14x14mm) */
3045
3045
  PATTERN_TYPE?: HyperGraphPatternType;
@@ -3300,6 +3300,16 @@ declare class HighDensityRouteSpatialIndex {
3300
3300
  conflictingRoute: HighDensityRoute;
3301
3301
  distance: number;
3302
3302
  }>;
3303
+ /**
3304
+ * Removes a route from the spatial index by connection name.
3305
+ * @param connectionName The connection name of the route to remove.
3306
+ */
3307
+ removeRoute(connectionName: string): void;
3308
+ /**
3309
+ * Adds a single route to the spatial index.
3310
+ * @param route The route to add.
3311
+ */
3312
+ addRoute(route: HighDensityRoute): void;
3303
3313
  /**
3304
3314
  * Finds routes that pass near a given point within a margin.
3305
3315
  * Checks both segments and vias.