circuit-json 0.0.513 → 0.0.515

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.mts CHANGED
@@ -8973,6 +8973,736 @@ interface PcbTraceTooManyViasWarning {
8973
8973
  subcircuit_id?: string;
8974
8974
  }
8975
8975
 
8976
+ /** Rule-specific routing measurements. Lengths and centreline spacing are mm; impedance is ohms. */
8977
+ type PcbBusRoutingConstraintViolation = {
8978
+ routing_rule: "length_skew";
8979
+ actual_length_skew: number;
8980
+ maximum_length_skew: number;
8981
+ } | {
8982
+ routing_rule: "min_length";
8983
+ actual_trace_length: number;
8984
+ minimum_trace_length: number;
8985
+ } | {
8986
+ routing_rule: "max_length";
8987
+ actual_trace_length: number;
8988
+ maximum_trace_length: number;
8989
+ } | {
8990
+ routing_rule: "target_length";
8991
+ actual_trace_length: number;
8992
+ target_trace_length: number;
8993
+ length_tolerance: number;
8994
+ } | {
8995
+ routing_rule: "pcb_trace_spacing";
8996
+ other_pcb_trace_id: string;
8997
+ other_source_trace_id?: string;
8998
+ actual_centerline_spacing: number;
8999
+ minimum_centerline_spacing: number;
9000
+ } | {
9001
+ routing_rule: "pcb_spacing_to_other_signals";
9002
+ other_pcb_trace_id: string;
9003
+ other_source_trace_id?: string;
9004
+ actual_centerline_spacing: number;
9005
+ minimum_centerline_spacing: number;
9006
+ } | {
9007
+ routing_rule: "impedance_target";
9008
+ target_impedance: number;
9009
+ minimum_impedance?: number;
9010
+ maximum_impedance?: number;
9011
+ };
9012
+ interface PcbBusRoutingConstraintErrorBase extends BaseCircuitJsonError {
9013
+ type: "pcb_bus_routing_constraint_error";
9014
+ pcb_bus_routing_constraint_error_id: string;
9015
+ error_type: "pcb_bus_routing_constraint_error";
9016
+ source_bus_id: string;
9017
+ source_trace_ids: string[];
9018
+ pcb_trace_ids: string[];
9019
+ subcircuit_id?: string;
9020
+ }
9021
+ /** A declared bus or differential-pair routing constraint is violated. */
9022
+ type WithErrorContext<Violation> = Violation extends unknown ? {
9023
+ [Key in keyof (PcbBusRoutingConstraintErrorBase & Violation)]: (PcbBusRoutingConstraintErrorBase & Violation)[Key];
9024
+ } : never;
9025
+ type PcbBusRoutingConstraintError = WithErrorContext<PcbBusRoutingConstraintViolation>;
9026
+ declare const pcb_bus_routing_constraint_error: z.ZodEffects<z.ZodDiscriminatedUnion<"routing_rule", [z.ZodObject<{
9027
+ message: z.ZodString;
9028
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9029
+ } & {
9030
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9031
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9032
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9033
+ source_bus_id: z.ZodString;
9034
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9035
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9036
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9037
+ } & {
9038
+ routing_rule: z.ZodLiteral<"length_skew">;
9039
+ actual_length_skew: z.ZodNumber;
9040
+ maximum_length_skew: z.ZodNumber;
9041
+ }, "strip", z.ZodTypeAny, {
9042
+ message: string;
9043
+ type: "pcb_bus_routing_constraint_error";
9044
+ error_type: "pcb_bus_routing_constraint_error";
9045
+ source_bus_id: string;
9046
+ source_trace_ids: string[];
9047
+ pcb_trace_ids: string[];
9048
+ actual_length_skew: number;
9049
+ maximum_length_skew: number;
9050
+ pcb_bus_routing_constraint_error_id: string;
9051
+ routing_rule: "length_skew";
9052
+ subcircuit_id?: string | undefined;
9053
+ is_fatal?: boolean | undefined;
9054
+ }, {
9055
+ message: string;
9056
+ type: "pcb_bus_routing_constraint_error";
9057
+ source_bus_id: string;
9058
+ source_trace_ids: string[];
9059
+ pcb_trace_ids: string[];
9060
+ actual_length_skew: number;
9061
+ maximum_length_skew: number;
9062
+ routing_rule: "length_skew";
9063
+ subcircuit_id?: string | undefined;
9064
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9065
+ is_fatal?: boolean | undefined;
9066
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9067
+ }>, z.ZodObject<{
9068
+ message: z.ZodString;
9069
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9070
+ } & {
9071
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9072
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9073
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9074
+ source_bus_id: z.ZodString;
9075
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9076
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9077
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9078
+ } & {
9079
+ routing_rule: z.ZodLiteral<"min_length">;
9080
+ actual_trace_length: z.ZodNumber;
9081
+ minimum_trace_length: z.ZodNumber;
9082
+ }, "strip", z.ZodTypeAny, {
9083
+ message: string;
9084
+ type: "pcb_bus_routing_constraint_error";
9085
+ error_type: "pcb_bus_routing_constraint_error";
9086
+ actual_trace_length: number;
9087
+ source_bus_id: string;
9088
+ source_trace_ids: string[];
9089
+ pcb_trace_ids: string[];
9090
+ pcb_bus_routing_constraint_error_id: string;
9091
+ routing_rule: "min_length";
9092
+ minimum_trace_length: number;
9093
+ subcircuit_id?: string | undefined;
9094
+ is_fatal?: boolean | undefined;
9095
+ }, {
9096
+ message: string;
9097
+ type: "pcb_bus_routing_constraint_error";
9098
+ actual_trace_length: number;
9099
+ source_bus_id: string;
9100
+ source_trace_ids: string[];
9101
+ pcb_trace_ids: string[];
9102
+ routing_rule: "min_length";
9103
+ minimum_trace_length: number;
9104
+ subcircuit_id?: string | undefined;
9105
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9106
+ is_fatal?: boolean | undefined;
9107
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9108
+ }>, z.ZodObject<{
9109
+ message: z.ZodString;
9110
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9111
+ } & {
9112
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9113
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9114
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9115
+ source_bus_id: z.ZodString;
9116
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9117
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9118
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9119
+ } & {
9120
+ routing_rule: z.ZodLiteral<"max_length">;
9121
+ actual_trace_length: z.ZodNumber;
9122
+ maximum_trace_length: z.ZodNumber;
9123
+ }, "strip", z.ZodTypeAny, {
9124
+ message: string;
9125
+ type: "pcb_bus_routing_constraint_error";
9126
+ error_type: "pcb_bus_routing_constraint_error";
9127
+ actual_trace_length: number;
9128
+ maximum_trace_length: number;
9129
+ source_bus_id: string;
9130
+ source_trace_ids: string[];
9131
+ pcb_trace_ids: string[];
9132
+ pcb_bus_routing_constraint_error_id: string;
9133
+ routing_rule: "max_length";
9134
+ subcircuit_id?: string | undefined;
9135
+ is_fatal?: boolean | undefined;
9136
+ }, {
9137
+ message: string;
9138
+ type: "pcb_bus_routing_constraint_error";
9139
+ actual_trace_length: number;
9140
+ maximum_trace_length: number;
9141
+ source_bus_id: string;
9142
+ source_trace_ids: string[];
9143
+ pcb_trace_ids: string[];
9144
+ routing_rule: "max_length";
9145
+ subcircuit_id?: string | undefined;
9146
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9147
+ is_fatal?: boolean | undefined;
9148
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9149
+ }>, z.ZodObject<{
9150
+ message: z.ZodString;
9151
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9152
+ } & {
9153
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9154
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9155
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9156
+ source_bus_id: z.ZodString;
9157
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9158
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9159
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9160
+ } & {
9161
+ routing_rule: z.ZodLiteral<"target_length">;
9162
+ actual_trace_length: z.ZodNumber;
9163
+ target_trace_length: z.ZodNumber;
9164
+ length_tolerance: z.ZodNumber;
9165
+ }, "strip", z.ZodTypeAny, {
9166
+ message: string;
9167
+ type: "pcb_bus_routing_constraint_error";
9168
+ error_type: "pcb_bus_routing_constraint_error";
9169
+ actual_trace_length: number;
9170
+ source_bus_id: string;
9171
+ source_trace_ids: string[];
9172
+ pcb_trace_ids: string[];
9173
+ pcb_bus_routing_constraint_error_id: string;
9174
+ routing_rule: "target_length";
9175
+ target_trace_length: number;
9176
+ length_tolerance: number;
9177
+ subcircuit_id?: string | undefined;
9178
+ is_fatal?: boolean | undefined;
9179
+ }, {
9180
+ message: string;
9181
+ type: "pcb_bus_routing_constraint_error";
9182
+ actual_trace_length: number;
9183
+ source_bus_id: string;
9184
+ source_trace_ids: string[];
9185
+ pcb_trace_ids: string[];
9186
+ routing_rule: "target_length";
9187
+ target_trace_length: number;
9188
+ length_tolerance: number;
9189
+ subcircuit_id?: string | undefined;
9190
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9191
+ is_fatal?: boolean | undefined;
9192
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9193
+ }>, z.ZodObject<{
9194
+ message: z.ZodString;
9195
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9196
+ } & {
9197
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9198
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9199
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9200
+ source_bus_id: z.ZodString;
9201
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9202
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9203
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9204
+ } & {
9205
+ routing_rule: z.ZodLiteral<"pcb_trace_spacing">;
9206
+ other_pcb_trace_id: z.ZodString;
9207
+ other_source_trace_id: z.ZodOptional<z.ZodString>;
9208
+ actual_centerline_spacing: z.ZodNumber;
9209
+ minimum_centerline_spacing: z.ZodNumber;
9210
+ }, "strip", z.ZodTypeAny, {
9211
+ message: string;
9212
+ type: "pcb_bus_routing_constraint_error";
9213
+ error_type: "pcb_bus_routing_constraint_error";
9214
+ source_bus_id: string;
9215
+ source_trace_ids: string[];
9216
+ pcb_trace_ids: string[];
9217
+ pcb_bus_routing_constraint_error_id: string;
9218
+ routing_rule: "pcb_trace_spacing";
9219
+ other_pcb_trace_id: string;
9220
+ actual_centerline_spacing: number;
9221
+ minimum_centerline_spacing: number;
9222
+ subcircuit_id?: string | undefined;
9223
+ is_fatal?: boolean | undefined;
9224
+ other_source_trace_id?: string | undefined;
9225
+ }, {
9226
+ message: string;
9227
+ type: "pcb_bus_routing_constraint_error";
9228
+ source_bus_id: string;
9229
+ source_trace_ids: string[];
9230
+ pcb_trace_ids: string[];
9231
+ routing_rule: "pcb_trace_spacing";
9232
+ other_pcb_trace_id: string;
9233
+ actual_centerline_spacing: number;
9234
+ minimum_centerline_spacing: number;
9235
+ subcircuit_id?: string | undefined;
9236
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9237
+ is_fatal?: boolean | undefined;
9238
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9239
+ other_source_trace_id?: string | undefined;
9240
+ }>, z.ZodObject<{
9241
+ message: z.ZodString;
9242
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9243
+ } & {
9244
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9245
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9246
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9247
+ source_bus_id: z.ZodString;
9248
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9249
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9250
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9251
+ } & {
9252
+ routing_rule: z.ZodLiteral<"pcb_spacing_to_other_signals">;
9253
+ other_pcb_trace_id: z.ZodString;
9254
+ other_source_trace_id: z.ZodOptional<z.ZodString>;
9255
+ actual_centerline_spacing: z.ZodNumber;
9256
+ minimum_centerline_spacing: z.ZodNumber;
9257
+ }, "strip", z.ZodTypeAny, {
9258
+ message: string;
9259
+ type: "pcb_bus_routing_constraint_error";
9260
+ error_type: "pcb_bus_routing_constraint_error";
9261
+ source_bus_id: string;
9262
+ source_trace_ids: string[];
9263
+ pcb_trace_ids: string[];
9264
+ pcb_bus_routing_constraint_error_id: string;
9265
+ routing_rule: "pcb_spacing_to_other_signals";
9266
+ other_pcb_trace_id: string;
9267
+ actual_centerline_spacing: number;
9268
+ minimum_centerline_spacing: number;
9269
+ subcircuit_id?: string | undefined;
9270
+ is_fatal?: boolean | undefined;
9271
+ other_source_trace_id?: string | undefined;
9272
+ }, {
9273
+ message: string;
9274
+ type: "pcb_bus_routing_constraint_error";
9275
+ source_bus_id: string;
9276
+ source_trace_ids: string[];
9277
+ pcb_trace_ids: string[];
9278
+ routing_rule: "pcb_spacing_to_other_signals";
9279
+ other_pcb_trace_id: string;
9280
+ actual_centerline_spacing: number;
9281
+ minimum_centerline_spacing: number;
9282
+ subcircuit_id?: string | undefined;
9283
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9284
+ is_fatal?: boolean | undefined;
9285
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9286
+ other_source_trace_id?: string | undefined;
9287
+ }>, z.ZodObject<{
9288
+ message: z.ZodString;
9289
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
9290
+ } & {
9291
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
9292
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9293
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
9294
+ source_bus_id: z.ZodString;
9295
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9296
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9297
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9298
+ } & {
9299
+ routing_rule: z.ZodLiteral<"impedance_target">;
9300
+ target_impedance: z.ZodNumber;
9301
+ minimum_impedance: z.ZodOptional<z.ZodNumber>;
9302
+ maximum_impedance: z.ZodOptional<z.ZodNumber>;
9303
+ }, "strip", z.ZodTypeAny, {
9304
+ message: string;
9305
+ type: "pcb_bus_routing_constraint_error";
9306
+ error_type: "pcb_bus_routing_constraint_error";
9307
+ source_bus_id: string;
9308
+ source_trace_ids: string[];
9309
+ pcb_trace_ids: string[];
9310
+ pcb_bus_routing_constraint_error_id: string;
9311
+ routing_rule: "impedance_target";
9312
+ target_impedance: number;
9313
+ subcircuit_id?: string | undefined;
9314
+ is_fatal?: boolean | undefined;
9315
+ minimum_impedance?: number | undefined;
9316
+ maximum_impedance?: number | undefined;
9317
+ }, {
9318
+ message: string;
9319
+ type: "pcb_bus_routing_constraint_error";
9320
+ source_bus_id: string;
9321
+ source_trace_ids: string[];
9322
+ pcb_trace_ids: string[];
9323
+ routing_rule: "impedance_target";
9324
+ target_impedance: number;
9325
+ subcircuit_id?: string | undefined;
9326
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9327
+ is_fatal?: boolean | undefined;
9328
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9329
+ minimum_impedance?: number | undefined;
9330
+ maximum_impedance?: number | undefined;
9331
+ }>]>, {
9332
+ message: string;
9333
+ type: "pcb_bus_routing_constraint_error";
9334
+ error_type: "pcb_bus_routing_constraint_error";
9335
+ source_bus_id: string;
9336
+ source_trace_ids: string[];
9337
+ pcb_trace_ids: string[];
9338
+ actual_length_skew: number;
9339
+ maximum_length_skew: number;
9340
+ pcb_bus_routing_constraint_error_id: string;
9341
+ routing_rule: "length_skew";
9342
+ subcircuit_id?: string | undefined;
9343
+ is_fatal?: boolean | undefined;
9344
+ } | {
9345
+ message: string;
9346
+ type: "pcb_bus_routing_constraint_error";
9347
+ error_type: "pcb_bus_routing_constraint_error";
9348
+ actual_trace_length: number;
9349
+ source_bus_id: string;
9350
+ source_trace_ids: string[];
9351
+ pcb_trace_ids: string[];
9352
+ pcb_bus_routing_constraint_error_id: string;
9353
+ routing_rule: "min_length";
9354
+ minimum_trace_length: number;
9355
+ subcircuit_id?: string | undefined;
9356
+ is_fatal?: boolean | undefined;
9357
+ } | {
9358
+ message: string;
9359
+ type: "pcb_bus_routing_constraint_error";
9360
+ error_type: "pcb_bus_routing_constraint_error";
9361
+ actual_trace_length: number;
9362
+ maximum_trace_length: number;
9363
+ source_bus_id: string;
9364
+ source_trace_ids: string[];
9365
+ pcb_trace_ids: string[];
9366
+ pcb_bus_routing_constraint_error_id: string;
9367
+ routing_rule: "max_length";
9368
+ subcircuit_id?: string | undefined;
9369
+ is_fatal?: boolean | undefined;
9370
+ } | {
9371
+ message: string;
9372
+ type: "pcb_bus_routing_constraint_error";
9373
+ error_type: "pcb_bus_routing_constraint_error";
9374
+ actual_trace_length: number;
9375
+ source_bus_id: string;
9376
+ source_trace_ids: string[];
9377
+ pcb_trace_ids: string[];
9378
+ pcb_bus_routing_constraint_error_id: string;
9379
+ routing_rule: "target_length";
9380
+ target_trace_length: number;
9381
+ length_tolerance: number;
9382
+ subcircuit_id?: string | undefined;
9383
+ is_fatal?: boolean | undefined;
9384
+ } | {
9385
+ message: string;
9386
+ type: "pcb_bus_routing_constraint_error";
9387
+ error_type: "pcb_bus_routing_constraint_error";
9388
+ source_bus_id: string;
9389
+ source_trace_ids: string[];
9390
+ pcb_trace_ids: string[];
9391
+ pcb_bus_routing_constraint_error_id: string;
9392
+ routing_rule: "pcb_trace_spacing";
9393
+ other_pcb_trace_id: string;
9394
+ actual_centerline_spacing: number;
9395
+ minimum_centerline_spacing: number;
9396
+ subcircuit_id?: string | undefined;
9397
+ is_fatal?: boolean | undefined;
9398
+ other_source_trace_id?: string | undefined;
9399
+ } | {
9400
+ message: string;
9401
+ type: "pcb_bus_routing_constraint_error";
9402
+ error_type: "pcb_bus_routing_constraint_error";
9403
+ source_bus_id: string;
9404
+ source_trace_ids: string[];
9405
+ pcb_trace_ids: string[];
9406
+ pcb_bus_routing_constraint_error_id: string;
9407
+ routing_rule: "pcb_spacing_to_other_signals";
9408
+ other_pcb_trace_id: string;
9409
+ actual_centerline_spacing: number;
9410
+ minimum_centerline_spacing: number;
9411
+ subcircuit_id?: string | undefined;
9412
+ is_fatal?: boolean | undefined;
9413
+ other_source_trace_id?: string | undefined;
9414
+ } | {
9415
+ message: string;
9416
+ type: "pcb_bus_routing_constraint_error";
9417
+ error_type: "pcb_bus_routing_constraint_error";
9418
+ source_bus_id: string;
9419
+ source_trace_ids: string[];
9420
+ pcb_trace_ids: string[];
9421
+ pcb_bus_routing_constraint_error_id: string;
9422
+ routing_rule: "impedance_target";
9423
+ target_impedance: number;
9424
+ subcircuit_id?: string | undefined;
9425
+ is_fatal?: boolean | undefined;
9426
+ minimum_impedance?: number | undefined;
9427
+ maximum_impedance?: number | undefined;
9428
+ }, {
9429
+ message: string;
9430
+ type: "pcb_bus_routing_constraint_error";
9431
+ source_bus_id: string;
9432
+ source_trace_ids: string[];
9433
+ pcb_trace_ids: string[];
9434
+ actual_length_skew: number;
9435
+ maximum_length_skew: number;
9436
+ routing_rule: "length_skew";
9437
+ subcircuit_id?: string | undefined;
9438
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9439
+ is_fatal?: boolean | undefined;
9440
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9441
+ } | {
9442
+ message: string;
9443
+ type: "pcb_bus_routing_constraint_error";
9444
+ actual_trace_length: number;
9445
+ source_bus_id: string;
9446
+ source_trace_ids: string[];
9447
+ pcb_trace_ids: string[];
9448
+ routing_rule: "min_length";
9449
+ minimum_trace_length: number;
9450
+ subcircuit_id?: string | undefined;
9451
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9452
+ is_fatal?: boolean | undefined;
9453
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9454
+ } | {
9455
+ message: string;
9456
+ type: "pcb_bus_routing_constraint_error";
9457
+ actual_trace_length: number;
9458
+ maximum_trace_length: number;
9459
+ source_bus_id: string;
9460
+ source_trace_ids: string[];
9461
+ pcb_trace_ids: string[];
9462
+ routing_rule: "max_length";
9463
+ subcircuit_id?: string | undefined;
9464
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9465
+ is_fatal?: boolean | undefined;
9466
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9467
+ } | {
9468
+ message: string;
9469
+ type: "pcb_bus_routing_constraint_error";
9470
+ actual_trace_length: number;
9471
+ source_bus_id: string;
9472
+ source_trace_ids: string[];
9473
+ pcb_trace_ids: string[];
9474
+ routing_rule: "target_length";
9475
+ target_trace_length: number;
9476
+ length_tolerance: number;
9477
+ subcircuit_id?: string | undefined;
9478
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9479
+ is_fatal?: boolean | undefined;
9480
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9481
+ } | {
9482
+ message: string;
9483
+ type: "pcb_bus_routing_constraint_error";
9484
+ source_bus_id: string;
9485
+ source_trace_ids: string[];
9486
+ pcb_trace_ids: string[];
9487
+ routing_rule: "pcb_trace_spacing";
9488
+ other_pcb_trace_id: string;
9489
+ actual_centerline_spacing: number;
9490
+ minimum_centerline_spacing: number;
9491
+ subcircuit_id?: string | undefined;
9492
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9493
+ is_fatal?: boolean | undefined;
9494
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9495
+ other_source_trace_id?: string | undefined;
9496
+ } | {
9497
+ message: string;
9498
+ type: "pcb_bus_routing_constraint_error";
9499
+ source_bus_id: string;
9500
+ source_trace_ids: string[];
9501
+ pcb_trace_ids: string[];
9502
+ routing_rule: "pcb_spacing_to_other_signals";
9503
+ other_pcb_trace_id: string;
9504
+ actual_centerline_spacing: number;
9505
+ minimum_centerline_spacing: number;
9506
+ subcircuit_id?: string | undefined;
9507
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9508
+ is_fatal?: boolean | undefined;
9509
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9510
+ other_source_trace_id?: string | undefined;
9511
+ } | {
9512
+ message: string;
9513
+ type: "pcb_bus_routing_constraint_error";
9514
+ source_bus_id: string;
9515
+ source_trace_ids: string[];
9516
+ pcb_trace_ids: string[];
9517
+ routing_rule: "impedance_target";
9518
+ target_impedance: number;
9519
+ subcircuit_id?: string | undefined;
9520
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
9521
+ is_fatal?: boolean | undefined;
9522
+ pcb_bus_routing_constraint_error_id?: string | undefined;
9523
+ minimum_impedance?: number | undefined;
9524
+ maximum_impedance?: number | undefined;
9525
+ }>;
9526
+ type PcbBusRoutingConstraintErrorInput = z.input<typeof pcb_bus_routing_constraint_error>;
9527
+
9528
+ /** A declared bus or pair constraint could not be verified; this is not a pass. */
9529
+ interface PcbBusRoutingConstraintWarningBase {
9530
+ type: "pcb_bus_routing_constraint_warning";
9531
+ pcb_bus_routing_constraint_warning_id: string;
9532
+ warning_type: "pcb_bus_routing_constraint_warning";
9533
+ source_bus_id: string;
9534
+ source_trace_ids: string[];
9535
+ pcb_trace_ids: string[];
9536
+ message: string;
9537
+ subcircuit_id?: string;
9538
+ }
9539
+ type WarningRule = "route_geometry" | "reference_geometry" | "spacing_geometry" | "target_length" | "physical_impedance";
9540
+ type WithWarningContext<Rule> = Rule extends WarningRule ? {
9541
+ [Key in keyof (PcbBusRoutingConstraintWarningBase & {
9542
+ routing_rule: Rule;
9543
+ })]: (PcbBusRoutingConstraintWarningBase & {
9544
+ routing_rule: Rule;
9545
+ })[Key];
9546
+ } : never;
9547
+ type PcbBusRoutingConstraintWarning = WithWarningContext<WarningRule>;
9548
+ declare const pcb_bus_routing_constraint_warning: z.ZodDiscriminatedUnion<"routing_rule", [z.ZodObject<{
9549
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
9550
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9551
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
9552
+ source_bus_id: z.ZodString;
9553
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9554
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9555
+ message: z.ZodString;
9556
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9557
+ } & {
9558
+ routing_rule: z.ZodLiteral<"route_geometry">;
9559
+ }, "strip", z.ZodTypeAny, {
9560
+ message: string;
9561
+ type: "pcb_bus_routing_constraint_warning";
9562
+ warning_type: "pcb_bus_routing_constraint_warning";
9563
+ source_bus_id: string;
9564
+ source_trace_ids: string[];
9565
+ pcb_trace_ids: string[];
9566
+ routing_rule: "route_geometry";
9567
+ pcb_bus_routing_constraint_warning_id: string;
9568
+ subcircuit_id?: string | undefined;
9569
+ }, {
9570
+ message: string;
9571
+ type: "pcb_bus_routing_constraint_warning";
9572
+ source_bus_id: string;
9573
+ source_trace_ids: string[];
9574
+ pcb_trace_ids: string[];
9575
+ routing_rule: "route_geometry";
9576
+ subcircuit_id?: string | undefined;
9577
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
9578
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
9579
+ }>, z.ZodObject<{
9580
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
9581
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9582
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
9583
+ source_bus_id: z.ZodString;
9584
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9585
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9586
+ message: z.ZodString;
9587
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9588
+ } & {
9589
+ routing_rule: z.ZodLiteral<"reference_geometry">;
9590
+ }, "strip", z.ZodTypeAny, {
9591
+ message: string;
9592
+ type: "pcb_bus_routing_constraint_warning";
9593
+ warning_type: "pcb_bus_routing_constraint_warning";
9594
+ source_bus_id: string;
9595
+ source_trace_ids: string[];
9596
+ pcb_trace_ids: string[];
9597
+ routing_rule: "reference_geometry";
9598
+ pcb_bus_routing_constraint_warning_id: string;
9599
+ subcircuit_id?: string | undefined;
9600
+ }, {
9601
+ message: string;
9602
+ type: "pcb_bus_routing_constraint_warning";
9603
+ source_bus_id: string;
9604
+ source_trace_ids: string[];
9605
+ pcb_trace_ids: string[];
9606
+ routing_rule: "reference_geometry";
9607
+ subcircuit_id?: string | undefined;
9608
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
9609
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
9610
+ }>, z.ZodObject<{
9611
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
9612
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9613
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
9614
+ source_bus_id: z.ZodString;
9615
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9616
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9617
+ message: z.ZodString;
9618
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9619
+ } & {
9620
+ routing_rule: z.ZodLiteral<"spacing_geometry">;
9621
+ }, "strip", z.ZodTypeAny, {
9622
+ message: string;
9623
+ type: "pcb_bus_routing_constraint_warning";
9624
+ warning_type: "pcb_bus_routing_constraint_warning";
9625
+ source_bus_id: string;
9626
+ source_trace_ids: string[];
9627
+ pcb_trace_ids: string[];
9628
+ routing_rule: "spacing_geometry";
9629
+ pcb_bus_routing_constraint_warning_id: string;
9630
+ subcircuit_id?: string | undefined;
9631
+ }, {
9632
+ message: string;
9633
+ type: "pcb_bus_routing_constraint_warning";
9634
+ source_bus_id: string;
9635
+ source_trace_ids: string[];
9636
+ pcb_trace_ids: string[];
9637
+ routing_rule: "spacing_geometry";
9638
+ subcircuit_id?: string | undefined;
9639
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
9640
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
9641
+ }>, z.ZodObject<{
9642
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
9643
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9644
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
9645
+ source_bus_id: z.ZodString;
9646
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9647
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9648
+ message: z.ZodString;
9649
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9650
+ } & {
9651
+ routing_rule: z.ZodLiteral<"target_length">;
9652
+ }, "strip", z.ZodTypeAny, {
9653
+ message: string;
9654
+ type: "pcb_bus_routing_constraint_warning";
9655
+ warning_type: "pcb_bus_routing_constraint_warning";
9656
+ source_bus_id: string;
9657
+ source_trace_ids: string[];
9658
+ pcb_trace_ids: string[];
9659
+ routing_rule: "target_length";
9660
+ pcb_bus_routing_constraint_warning_id: string;
9661
+ subcircuit_id?: string | undefined;
9662
+ }, {
9663
+ message: string;
9664
+ type: "pcb_bus_routing_constraint_warning";
9665
+ source_bus_id: string;
9666
+ source_trace_ids: string[];
9667
+ pcb_trace_ids: string[];
9668
+ routing_rule: "target_length";
9669
+ subcircuit_id?: string | undefined;
9670
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
9671
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
9672
+ }>, z.ZodObject<{
9673
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
9674
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9675
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
9676
+ source_bus_id: z.ZodString;
9677
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
9678
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
9679
+ message: z.ZodString;
9680
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9681
+ } & {
9682
+ routing_rule: z.ZodLiteral<"physical_impedance">;
9683
+ }, "strip", z.ZodTypeAny, {
9684
+ message: string;
9685
+ type: "pcb_bus_routing_constraint_warning";
9686
+ warning_type: "pcb_bus_routing_constraint_warning";
9687
+ source_bus_id: string;
9688
+ source_trace_ids: string[];
9689
+ pcb_trace_ids: string[];
9690
+ routing_rule: "physical_impedance";
9691
+ pcb_bus_routing_constraint_warning_id: string;
9692
+ subcircuit_id?: string | undefined;
9693
+ }, {
9694
+ message: string;
9695
+ type: "pcb_bus_routing_constraint_warning";
9696
+ source_bus_id: string;
9697
+ source_trace_ids: string[];
9698
+ pcb_trace_ids: string[];
9699
+ routing_rule: "physical_impedance";
9700
+ subcircuit_id?: string | undefined;
9701
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
9702
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
9703
+ }>]>;
9704
+ type PcbBusRoutingConstraintWarningInput = z.input<typeof pcb_bus_routing_constraint_warning>;
9705
+
8976
9706
  declare const pcb_trace_error: z.ZodObject<{
8977
9707
  message: z.ZodString;
8978
9708
  is_fatal: z.ZodOptional<z.ZodBoolean>;
@@ -15476,7 +16206,7 @@ interface PcbCourtyardPill {
15476
16206
  color?: string;
15477
16207
  }
15478
16208
 
15479
- type PcbCircuitElement = PcbComponent | PcbDebugObject | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbSoldermaskOpening | PcbText | PcbTrace | PcbTraceWarning | PcbKeepoutOverlapWarning | PcbTraceTooLongError | PcbBusLengthSkewError | PcbTraceTooLongWarning | PcbTraceTooManyViasWarning | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbConnectorNotInAccessibleOrientationWarning | PcbComponentMissingCourtyardWarning | SupplierFootprintMismatchWarning | PcbFabricatorExtraChargeWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbBend | PcbStiffener | PcbPanel | PcbPlacementError | PcbPackingError | PcbPanelizationPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenPill | PcbCopperText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbSilkscreenOval | PcbSilkscreenGraphic | PcbFabricationNoteRect | PcbFabricationNoteDimension | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbPreflightRoutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbComponentNotOnBoardEdgeError | PcbComponentInvalidLayerError | PcbViaClearanceError | PcbViaTraceClearanceError | PcbPadPadClearanceError | PcbPadTraceClearanceError | PcbCourtyardRect | PcbCourtyardOutline | PcbCourtyardPolygon | PcbCourtyardCircle | PcbCourtyardPill;
16209
+ type PcbCircuitElement = PcbComponent | PcbDebugObject | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbSoldermaskOpening | PcbText | PcbTrace | PcbTraceWarning | PcbKeepoutOverlapWarning | PcbTraceTooLongError | PcbBusLengthSkewError | PcbTraceTooLongWarning | PcbTraceTooManyViasWarning | PcbBusRoutingConstraintError | PcbBusRoutingConstraintWarning | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbConnectorNotInAccessibleOrientationWarning | PcbComponentMissingCourtyardWarning | SupplierFootprintMismatchWarning | PcbFabricatorExtraChargeWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbBend | PcbStiffener | PcbPanel | PcbPlacementError | PcbPackingError | PcbPanelizationPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenPill | PcbCopperText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbSilkscreenOval | PcbSilkscreenGraphic | PcbFabricationNoteRect | PcbFabricationNoteDimension | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbPreflightRoutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbComponentNotOnBoardEdgeError | PcbComponentInvalidLayerError | PcbViaClearanceError | PcbViaTraceClearanceError | PcbPadPadClearanceError | PcbPadTraceClearanceError | PcbCourtyardRect | PcbCourtyardOutline | PcbCourtyardPolygon | PcbCourtyardCircle | PcbCourtyardPill;
15480
16210
 
15481
16211
  interface SchematicBox {
15482
16212
  type: "schematic_box";
@@ -31252,6 +31982,147 @@ interface SourceSimpleChip extends SourceComponentBase {
31252
31982
  ftype: "simple_chip";
31253
31983
  }
31254
31984
 
31985
+ declare const source_printed_part: z.ZodObject<{
31986
+ type: z.ZodLiteral<"source_component">;
31987
+ source_component_id: z.ZodString;
31988
+ name: z.ZodString;
31989
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
31990
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
31991
+ display_value: z.ZodOptional<z.ZodString>;
31992
+ display_name: z.ZodOptional<z.ZodString>;
31993
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
31994
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
31995
+ source_group_id: z.ZodOptional<z.ZodString>;
31996
+ subcircuit_id: z.ZodOptional<z.ZodString>;
31997
+ } & {
31998
+ ftype: z.ZodLiteral<"printedpart">;
31999
+ }, "strip", z.ZodTypeAny, {
32000
+ type: "source_component";
32001
+ name: string;
32002
+ source_component_id: string;
32003
+ ftype: "printedpart";
32004
+ subcircuit_id?: string | undefined;
32005
+ source_group_id?: string | undefined;
32006
+ display_name?: string | undefined;
32007
+ manufacturer_part_number?: string | undefined;
32008
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
32009
+ display_value?: string | undefined;
32010
+ are_pins_interchangeable?: boolean | undefined;
32011
+ internally_connected_source_port_ids?: string[][] | undefined;
32012
+ }, {
32013
+ type: "source_component";
32014
+ name: string;
32015
+ source_component_id: string;
32016
+ ftype: "printedpart";
32017
+ subcircuit_id?: string | undefined;
32018
+ source_group_id?: string | undefined;
32019
+ display_name?: string | undefined;
32020
+ manufacturer_part_number?: string | undefined;
32021
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
32022
+ display_value?: string | undefined;
32023
+ are_pins_interchangeable?: boolean | undefined;
32024
+ internally_connected_source_port_ids?: string[][] | undefined;
32025
+ }>;
32026
+ type SourcePrintedPartInput = z.input<typeof source_printed_part>;
32027
+ /** Defines a 3D-printed part in an assembly. */
32028
+ interface SourcePrintedPart extends SourceComponentBase {
32029
+ ftype: "printedpart";
32030
+ }
32031
+
32032
+ declare const source_subassembly: z.ZodObject<{
32033
+ type: z.ZodLiteral<"source_component">;
32034
+ source_component_id: z.ZodString;
32035
+ name: z.ZodString;
32036
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
32037
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
32038
+ display_value: z.ZodOptional<z.ZodString>;
32039
+ display_name: z.ZodOptional<z.ZodString>;
32040
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
32041
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
32042
+ source_group_id: z.ZodOptional<z.ZodString>;
32043
+ subcircuit_id: z.ZodOptional<z.ZodString>;
32044
+ } & {
32045
+ ftype: z.ZodLiteral<"subassembly">;
32046
+ }, "strip", z.ZodTypeAny, {
32047
+ type: "source_component";
32048
+ name: string;
32049
+ source_component_id: string;
32050
+ ftype: "subassembly";
32051
+ subcircuit_id?: string | undefined;
32052
+ source_group_id?: string | undefined;
32053
+ display_name?: string | undefined;
32054
+ manufacturer_part_number?: string | undefined;
32055
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
32056
+ display_value?: string | undefined;
32057
+ are_pins_interchangeable?: boolean | undefined;
32058
+ internally_connected_source_port_ids?: string[][] | undefined;
32059
+ }, {
32060
+ type: "source_component";
32061
+ name: string;
32062
+ source_component_id: string;
32063
+ ftype: "subassembly";
32064
+ subcircuit_id?: string | undefined;
32065
+ source_group_id?: string | undefined;
32066
+ display_name?: string | undefined;
32067
+ manufacturer_part_number?: string | undefined;
32068
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
32069
+ display_value?: string | undefined;
32070
+ are_pins_interchangeable?: boolean | undefined;
32071
+ internally_connected_source_port_ids?: string[][] | undefined;
32072
+ }>;
32073
+ type SourceSubassemblyInput = z.input<typeof source_subassembly>;
32074
+ /** Defines a subassembly component. */
32075
+ interface SourceSubassembly extends SourceComponentBase {
32076
+ ftype: "subassembly";
32077
+ }
32078
+
32079
+ declare const source_motor: z.ZodObject<{
32080
+ type: z.ZodLiteral<"source_component">;
32081
+ source_component_id: z.ZodString;
32082
+ name: z.ZodString;
32083
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
32084
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
32085
+ display_value: z.ZodOptional<z.ZodString>;
32086
+ display_name: z.ZodOptional<z.ZodString>;
32087
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
32088
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
32089
+ source_group_id: z.ZodOptional<z.ZodString>;
32090
+ subcircuit_id: z.ZodOptional<z.ZodString>;
32091
+ } & {
32092
+ ftype: z.ZodLiteral<"motor">;
32093
+ }, "strip", z.ZodTypeAny, {
32094
+ type: "source_component";
32095
+ name: string;
32096
+ source_component_id: string;
32097
+ ftype: "motor";
32098
+ subcircuit_id?: string | undefined;
32099
+ source_group_id?: string | undefined;
32100
+ display_name?: string | undefined;
32101
+ manufacturer_part_number?: string | undefined;
32102
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
32103
+ display_value?: string | undefined;
32104
+ are_pins_interchangeable?: boolean | undefined;
32105
+ internally_connected_source_port_ids?: string[][] | undefined;
32106
+ }, {
32107
+ type: "source_component";
32108
+ name: string;
32109
+ source_component_id: string;
32110
+ ftype: "motor";
32111
+ subcircuit_id?: string | undefined;
32112
+ source_group_id?: string | undefined;
32113
+ display_name?: string | undefined;
32114
+ manufacturer_part_number?: string | undefined;
32115
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
32116
+ display_value?: string | undefined;
32117
+ are_pins_interchangeable?: boolean | undefined;
32118
+ internally_connected_source_port_ids?: string[][] | undefined;
32119
+ }>;
32120
+ type SourceMotorInput = z.input<typeof source_motor>;
32121
+ /** Defines a motor component. */
32122
+ interface SourceMotor extends SourceComponentBase {
32123
+ ftype: "motor";
32124
+ }
32125
+
31255
32126
  declare const source_simple_power_source: z.ZodObject<{
31256
32127
  type: z.ZodLiteral<"source_component">;
31257
32128
  source_component_id: z.ZodString;
@@ -33483,6 +34354,126 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
33483
34354
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
33484
34355
  source_group_id: z.ZodOptional<z.ZodString>;
33485
34356
  subcircuit_id: z.ZodOptional<z.ZodString>;
34357
+ } & {
34358
+ ftype: z.ZodLiteral<"printedpart">;
34359
+ }, "strip", z.ZodTypeAny, {
34360
+ type: "source_component";
34361
+ name: string;
34362
+ source_component_id: string;
34363
+ ftype: "printedpart";
34364
+ subcircuit_id?: string | undefined;
34365
+ source_group_id?: string | undefined;
34366
+ display_name?: string | undefined;
34367
+ manufacturer_part_number?: string | undefined;
34368
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
34369
+ display_value?: string | undefined;
34370
+ are_pins_interchangeable?: boolean | undefined;
34371
+ internally_connected_source_port_ids?: string[][] | undefined;
34372
+ }, {
34373
+ type: "source_component";
34374
+ name: string;
34375
+ source_component_id: string;
34376
+ ftype: "printedpart";
34377
+ subcircuit_id?: string | undefined;
34378
+ source_group_id?: string | undefined;
34379
+ display_name?: string | undefined;
34380
+ manufacturer_part_number?: string | undefined;
34381
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
34382
+ display_value?: string | undefined;
34383
+ are_pins_interchangeable?: boolean | undefined;
34384
+ internally_connected_source_port_ids?: string[][] | undefined;
34385
+ }>, z.ZodObject<{
34386
+ type: z.ZodLiteral<"source_component">;
34387
+ source_component_id: z.ZodString;
34388
+ name: z.ZodString;
34389
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
34390
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
34391
+ display_value: z.ZodOptional<z.ZodString>;
34392
+ display_name: z.ZodOptional<z.ZodString>;
34393
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
34394
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
34395
+ source_group_id: z.ZodOptional<z.ZodString>;
34396
+ subcircuit_id: z.ZodOptional<z.ZodString>;
34397
+ } & {
34398
+ ftype: z.ZodLiteral<"subassembly">;
34399
+ }, "strip", z.ZodTypeAny, {
34400
+ type: "source_component";
34401
+ name: string;
34402
+ source_component_id: string;
34403
+ ftype: "subassembly";
34404
+ subcircuit_id?: string | undefined;
34405
+ source_group_id?: string | undefined;
34406
+ display_name?: string | undefined;
34407
+ manufacturer_part_number?: string | undefined;
34408
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
34409
+ display_value?: string | undefined;
34410
+ are_pins_interchangeable?: boolean | undefined;
34411
+ internally_connected_source_port_ids?: string[][] | undefined;
34412
+ }, {
34413
+ type: "source_component";
34414
+ name: string;
34415
+ source_component_id: string;
34416
+ ftype: "subassembly";
34417
+ subcircuit_id?: string | undefined;
34418
+ source_group_id?: string | undefined;
34419
+ display_name?: string | undefined;
34420
+ manufacturer_part_number?: string | undefined;
34421
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
34422
+ display_value?: string | undefined;
34423
+ are_pins_interchangeable?: boolean | undefined;
34424
+ internally_connected_source_port_ids?: string[][] | undefined;
34425
+ }>, z.ZodObject<{
34426
+ type: z.ZodLiteral<"source_component">;
34427
+ source_component_id: z.ZodString;
34428
+ name: z.ZodString;
34429
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
34430
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
34431
+ display_value: z.ZodOptional<z.ZodString>;
34432
+ display_name: z.ZodOptional<z.ZodString>;
34433
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
34434
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
34435
+ source_group_id: z.ZodOptional<z.ZodString>;
34436
+ subcircuit_id: z.ZodOptional<z.ZodString>;
34437
+ } & {
34438
+ ftype: z.ZodLiteral<"motor">;
34439
+ }, "strip", z.ZodTypeAny, {
34440
+ type: "source_component";
34441
+ name: string;
34442
+ source_component_id: string;
34443
+ ftype: "motor";
34444
+ subcircuit_id?: string | undefined;
34445
+ source_group_id?: string | undefined;
34446
+ display_name?: string | undefined;
34447
+ manufacturer_part_number?: string | undefined;
34448
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
34449
+ display_value?: string | undefined;
34450
+ are_pins_interchangeable?: boolean | undefined;
34451
+ internally_connected_source_port_ids?: string[][] | undefined;
34452
+ }, {
34453
+ type: "source_component";
34454
+ name: string;
34455
+ source_component_id: string;
34456
+ ftype: "motor";
34457
+ subcircuit_id?: string | undefined;
34458
+ source_group_id?: string | undefined;
34459
+ display_name?: string | undefined;
34460
+ manufacturer_part_number?: string | undefined;
34461
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
34462
+ display_value?: string | undefined;
34463
+ are_pins_interchangeable?: boolean | undefined;
34464
+ internally_connected_source_port_ids?: string[][] | undefined;
34465
+ }>, z.ZodObject<{
34466
+ type: z.ZodLiteral<"source_component">;
34467
+ source_component_id: z.ZodString;
34468
+ name: z.ZodString;
34469
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
34470
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
34471
+ display_value: z.ZodOptional<z.ZodString>;
34472
+ display_name: z.ZodOptional<z.ZodString>;
34473
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
34474
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
34475
+ source_group_id: z.ZodOptional<z.ZodString>;
34476
+ subcircuit_id: z.ZodOptional<z.ZodString>;
33486
34477
  } & {
33487
34478
  ftype: z.ZodLiteral<"simple_power_source">;
33488
34479
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -34784,7 +35775,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
34784
35775
  * Deprecated: use `AnySourceElement` instead
34785
35776
  */
34786
35777
  type AnySourceComponent = z.infer<typeof any_source_component>;
34787
- type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleFiducial | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleCurrentSource | SourceSimpleAmmeter | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleConnector | SourceSimplePinout | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceSimpleOpAmp | SourceSimpleVoltageProbe | SourceSimpleVoltageSource | SourceInterconnect | SourceProjectMetadata | SourceMissingPropertyError | SourceInvalidComponentPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning | SourceMissingManufacturerPartNumberWarning | SourceRefdesConventionWarning | SourceI2cMisconfiguredError | SourceComponentMisconfiguredError;
35778
+ type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleFiducial | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourcePrintedPart | SourceSubassembly | SourceMotor | SourceSimplePowerSource | SourceSimpleCurrentSource | SourceSimpleAmmeter | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleConnector | SourceSimplePinout | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceSimpleOpAmp | SourceSimpleVoltageProbe | SourceSimpleVoltageSource | SourceInterconnect | SourceProjectMetadata | SourceMissingPropertyError | SourceInvalidComponentPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning | SourceMissingManufacturerPartNumberWarning | SourceRefdesConventionWarning | SourceI2cMisconfiguredError | SourceComponentMisconfiguredError;
34788
35779
 
34789
35780
  declare const source_port: z.ZodObject<{
34790
35781
  type: z.ZodLiteral<"source_port">;
@@ -35044,9 +36035,9 @@ declare const source_trace: z.ZodObject<{
35044
36035
  connected_source_net_ids: string[];
35045
36036
  name?: string | undefined;
35046
36037
  subcircuit_id?: string | undefined;
36038
+ max_length?: number | undefined;
35047
36039
  subcircuit_connectivity_map_key?: string | undefined;
35048
36040
  display_name?: string | undefined;
35049
- max_length?: number | undefined;
35050
36041
  max_via_count?: number | undefined;
35051
36042
  min_trace_thickness?: number | undefined;
35052
36043
  }, {
@@ -35056,9 +36047,9 @@ declare const source_trace: z.ZodObject<{
35056
36047
  connected_source_net_ids: string[];
35057
36048
  name?: string | undefined;
35058
36049
  subcircuit_id?: string | undefined;
36050
+ max_length?: number | undefined;
35059
36051
  subcircuit_connectivity_map_key?: string | undefined;
35060
36052
  display_name?: string | undefined;
35061
- max_length?: number | undefined;
35062
36053
  max_via_count?: number | undefined;
35063
36054
  min_trace_thickness?: number | undefined;
35064
36055
  }>;
@@ -35619,6 +36610,18 @@ interface SourceConfusingNetNameWarning {
35619
36610
  subcircuit_id?: string;
35620
36611
  }
35621
36612
 
36613
+ /** A routed length in mm, or an offset from the longest endpoint Manhattan distance.
36614
+ * Explicit references are resolved source traces; omitted references use the bus
36615
+ * members and length_match_source_trace_ids. */
36616
+ type SourceBusRouteLength = number | {
36617
+ reference: "longest_manhattan";
36618
+ source_trace_ids?: string[];
36619
+ offset?: number;
36620
+ };
36621
+ /** Centerline separation in mm or a multiple of the larger local trace width. */
36622
+ type SourceBusTraceSpacing = number | {
36623
+ width_multiplier: number;
36624
+ };
35622
36625
  /** A group of resolved source traces with a maximum routed-length difference. */
35623
36626
  interface SourceBus {
35624
36627
  type: "source_bus";
@@ -35627,6 +36630,31 @@ interface SourceBus {
35627
36630
  source_trace_ids: string[];
35628
36631
  /** Maximum difference between the longest and shortest member, in millimeters. */
35629
36632
  max_length_skew?: number;
36633
+ /** Intended single-ended characteristic impedance, in ohms. */
36634
+ target_impedance?: number;
36635
+ /** Intended differential characteristic impedance, in ohms. */
36636
+ target_differential_impedance?: number;
36637
+ /** Ordered polarity for a resolved point-to-point differential pair. */
36638
+ differential_pair?: {
36639
+ positive_source_trace_id: string;
36640
+ negative_source_trace_id: string;
36641
+ trace_gap?: number;
36642
+ max_uncoupled_length?: number;
36643
+ };
36644
+ /** Additional traces for length comparison, without changing electrical membership. */
36645
+ length_match_source_trace_ids?: string[];
36646
+ min_length?: SourceBusRouteLength;
36647
+ max_length?: SourceBusRouteLength;
36648
+ target_length?: SourceBusRouteLength;
36649
+ length_tolerance?: number;
36650
+ /** Within this bus, excluding declared differential partners. */
36651
+ pcb_trace_spacing?: SourceBusTraceSpacing;
36652
+ /** To all signals outside this bus or pair. */
36653
+ pcb_spacing_to_other_signals?: SourceBusTraceSpacing;
36654
+ target_impedance_min?: number;
36655
+ target_impedance_max?: number;
36656
+ target_differential_impedance_min?: number;
36657
+ target_differential_impedance_max?: number;
35630
36658
  subcircuit_id?: string;
35631
36659
  }
35632
36660
  declare const source_bus: z.ZodObject<{
@@ -35635,6 +36663,83 @@ declare const source_bus: z.ZodObject<{
35635
36663
  name: z.ZodOptional<z.ZodString>;
35636
36664
  source_trace_ids: z.ZodArray<z.ZodString, "many">;
35637
36665
  max_length_skew: z.ZodOptional<z.ZodNumber>;
36666
+ target_impedance: z.ZodOptional<z.ZodNumber>;
36667
+ target_differential_impedance: z.ZodOptional<z.ZodNumber>;
36668
+ differential_pair: z.ZodOptional<z.ZodObject<{
36669
+ positive_source_trace_id: z.ZodString;
36670
+ negative_source_trace_id: z.ZodString;
36671
+ trace_gap: z.ZodOptional<z.ZodNumber>;
36672
+ max_uncoupled_length: z.ZodOptional<z.ZodNumber>;
36673
+ }, "strip", z.ZodTypeAny, {
36674
+ positive_source_trace_id: string;
36675
+ negative_source_trace_id: string;
36676
+ trace_gap?: number | undefined;
36677
+ max_uncoupled_length?: number | undefined;
36678
+ }, {
36679
+ positive_source_trace_id: string;
36680
+ negative_source_trace_id: string;
36681
+ trace_gap?: number | undefined;
36682
+ max_uncoupled_length?: number | undefined;
36683
+ }>>;
36684
+ length_match_source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36685
+ min_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
36686
+ reference: z.ZodLiteral<"longest_manhattan">;
36687
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36688
+ offset: z.ZodOptional<z.ZodNumber>;
36689
+ }, "strip", z.ZodTypeAny, {
36690
+ reference: "longest_manhattan";
36691
+ offset?: number | undefined;
36692
+ source_trace_ids?: string[] | undefined;
36693
+ }, {
36694
+ reference: "longest_manhattan";
36695
+ offset?: number | undefined;
36696
+ source_trace_ids?: string[] | undefined;
36697
+ }>]>>;
36698
+ max_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
36699
+ reference: z.ZodLiteral<"longest_manhattan">;
36700
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36701
+ offset: z.ZodOptional<z.ZodNumber>;
36702
+ }, "strip", z.ZodTypeAny, {
36703
+ reference: "longest_manhattan";
36704
+ offset?: number | undefined;
36705
+ source_trace_ids?: string[] | undefined;
36706
+ }, {
36707
+ reference: "longest_manhattan";
36708
+ offset?: number | undefined;
36709
+ source_trace_ids?: string[] | undefined;
36710
+ }>]>>;
36711
+ target_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
36712
+ reference: z.ZodLiteral<"longest_manhattan">;
36713
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36714
+ offset: z.ZodOptional<z.ZodNumber>;
36715
+ }, "strip", z.ZodTypeAny, {
36716
+ reference: "longest_manhattan";
36717
+ offset?: number | undefined;
36718
+ source_trace_ids?: string[] | undefined;
36719
+ }, {
36720
+ reference: "longest_manhattan";
36721
+ offset?: number | undefined;
36722
+ source_trace_ids?: string[] | undefined;
36723
+ }>]>>;
36724
+ length_tolerance: z.ZodOptional<z.ZodNumber>;
36725
+ pcb_trace_spacing: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
36726
+ width_multiplier: z.ZodNumber;
36727
+ }, "strip", z.ZodTypeAny, {
36728
+ width_multiplier: number;
36729
+ }, {
36730
+ width_multiplier: number;
36731
+ }>]>>;
36732
+ pcb_spacing_to_other_signals: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
36733
+ width_multiplier: z.ZodNumber;
36734
+ }, "strip", z.ZodTypeAny, {
36735
+ width_multiplier: number;
36736
+ }, {
36737
+ width_multiplier: number;
36738
+ }>]>>;
36739
+ target_impedance_min: z.ZodOptional<z.ZodNumber>;
36740
+ target_impedance_max: z.ZodOptional<z.ZodNumber>;
36741
+ target_differential_impedance_min: z.ZodOptional<z.ZodNumber>;
36742
+ target_differential_impedance_max: z.ZodOptional<z.ZodNumber>;
35638
36743
  subcircuit_id: z.ZodOptional<z.ZodString>;
35639
36744
  }, "strip", z.ZodTypeAny, {
35640
36745
  type: "source_bus";
@@ -35642,14 +36747,84 @@ declare const source_bus: z.ZodObject<{
35642
36747
  source_trace_ids: string[];
35643
36748
  name?: string | undefined;
35644
36749
  subcircuit_id?: string | undefined;
36750
+ min_length?: number | {
36751
+ reference: "longest_manhattan";
36752
+ offset?: number | undefined;
36753
+ source_trace_ids?: string[] | undefined;
36754
+ } | undefined;
36755
+ max_length?: number | {
36756
+ reference: "longest_manhattan";
36757
+ offset?: number | undefined;
36758
+ source_trace_ids?: string[] | undefined;
36759
+ } | undefined;
36760
+ target_length?: number | {
36761
+ reference: "longest_manhattan";
36762
+ offset?: number | undefined;
36763
+ source_trace_ids?: string[] | undefined;
36764
+ } | undefined;
36765
+ pcb_trace_spacing?: number | {
36766
+ width_multiplier: number;
36767
+ } | undefined;
36768
+ pcb_spacing_to_other_signals?: number | {
36769
+ width_multiplier: number;
36770
+ } | undefined;
36771
+ length_tolerance?: number | undefined;
36772
+ target_impedance?: number | undefined;
35645
36773
  max_length_skew?: number | undefined;
36774
+ target_differential_impedance?: number | undefined;
36775
+ differential_pair?: {
36776
+ positive_source_trace_id: string;
36777
+ negative_source_trace_id: string;
36778
+ trace_gap?: number | undefined;
36779
+ max_uncoupled_length?: number | undefined;
36780
+ } | undefined;
36781
+ length_match_source_trace_ids?: string[] | undefined;
36782
+ target_impedance_min?: number | undefined;
36783
+ target_impedance_max?: number | undefined;
36784
+ target_differential_impedance_min?: number | undefined;
36785
+ target_differential_impedance_max?: number | undefined;
35646
36786
  }, {
35647
36787
  type: "source_bus";
35648
36788
  source_bus_id: string;
35649
36789
  source_trace_ids: string[];
35650
36790
  name?: string | undefined;
35651
36791
  subcircuit_id?: string | undefined;
36792
+ min_length?: number | {
36793
+ reference: "longest_manhattan";
36794
+ offset?: number | undefined;
36795
+ source_trace_ids?: string[] | undefined;
36796
+ } | undefined;
36797
+ max_length?: number | {
36798
+ reference: "longest_manhattan";
36799
+ offset?: number | undefined;
36800
+ source_trace_ids?: string[] | undefined;
36801
+ } | undefined;
36802
+ target_length?: number | {
36803
+ reference: "longest_manhattan";
36804
+ offset?: number | undefined;
36805
+ source_trace_ids?: string[] | undefined;
36806
+ } | undefined;
36807
+ pcb_trace_spacing?: number | {
36808
+ width_multiplier: number;
36809
+ } | undefined;
36810
+ pcb_spacing_to_other_signals?: number | {
36811
+ width_multiplier: number;
36812
+ } | undefined;
36813
+ length_tolerance?: number | undefined;
36814
+ target_impedance?: number | undefined;
35652
36815
  max_length_skew?: number | undefined;
36816
+ target_differential_impedance?: number | undefined;
36817
+ differential_pair?: {
36818
+ positive_source_trace_id: string;
36819
+ negative_source_trace_id: string;
36820
+ trace_gap?: number | undefined;
36821
+ max_uncoupled_length?: number | undefined;
36822
+ } | undefined;
36823
+ length_match_source_trace_ids?: string[] | undefined;
36824
+ target_impedance_min?: number | undefined;
36825
+ target_impedance_max?: number | undefined;
36826
+ target_differential_impedance_min?: number | undefined;
36827
+ target_differential_impedance_max?: number | undefined;
35653
36828
  }>;
35654
36829
  type SourceBusInput = z.input<typeof source_bus>;
35655
36830
 
@@ -38629,9 +39804,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38629
39804
  connected_source_net_ids: string[];
38630
39805
  name?: string | undefined;
38631
39806
  subcircuit_id?: string | undefined;
39807
+ max_length?: number | undefined;
38632
39808
  subcircuit_connectivity_map_key?: string | undefined;
38633
39809
  display_name?: string | undefined;
38634
- max_length?: number | undefined;
38635
39810
  max_via_count?: number | undefined;
38636
39811
  min_trace_thickness?: number | undefined;
38637
39812
  }, {
@@ -38641,9 +39816,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38641
39816
  connected_source_net_ids: string[];
38642
39817
  name?: string | undefined;
38643
39818
  subcircuit_id?: string | undefined;
39819
+ max_length?: number | undefined;
38644
39820
  subcircuit_connectivity_map_key?: string | undefined;
38645
39821
  display_name?: string | undefined;
38646
- max_length?: number | undefined;
38647
39822
  max_via_count?: number | undefined;
38648
39823
  min_trace_thickness?: number | undefined;
38649
39824
  }>, z.ZodObject<{
@@ -38652,6 +39827,83 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38652
39827
  name: z.ZodOptional<z.ZodString>;
38653
39828
  source_trace_ids: z.ZodArray<z.ZodString, "many">;
38654
39829
  max_length_skew: z.ZodOptional<z.ZodNumber>;
39830
+ target_impedance: z.ZodOptional<z.ZodNumber>;
39831
+ target_differential_impedance: z.ZodOptional<z.ZodNumber>;
39832
+ differential_pair: z.ZodOptional<z.ZodObject<{
39833
+ positive_source_trace_id: z.ZodString;
39834
+ negative_source_trace_id: z.ZodString;
39835
+ trace_gap: z.ZodOptional<z.ZodNumber>;
39836
+ max_uncoupled_length: z.ZodOptional<z.ZodNumber>;
39837
+ }, "strip", z.ZodTypeAny, {
39838
+ positive_source_trace_id: string;
39839
+ negative_source_trace_id: string;
39840
+ trace_gap?: number | undefined;
39841
+ max_uncoupled_length?: number | undefined;
39842
+ }, {
39843
+ positive_source_trace_id: string;
39844
+ negative_source_trace_id: string;
39845
+ trace_gap?: number | undefined;
39846
+ max_uncoupled_length?: number | undefined;
39847
+ }>>;
39848
+ length_match_source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39849
+ min_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
39850
+ reference: z.ZodLiteral<"longest_manhattan">;
39851
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39852
+ offset: z.ZodOptional<z.ZodNumber>;
39853
+ }, "strip", z.ZodTypeAny, {
39854
+ reference: "longest_manhattan";
39855
+ offset?: number | undefined;
39856
+ source_trace_ids?: string[] | undefined;
39857
+ }, {
39858
+ reference: "longest_manhattan";
39859
+ offset?: number | undefined;
39860
+ source_trace_ids?: string[] | undefined;
39861
+ }>]>>;
39862
+ max_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
39863
+ reference: z.ZodLiteral<"longest_manhattan">;
39864
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39865
+ offset: z.ZodOptional<z.ZodNumber>;
39866
+ }, "strip", z.ZodTypeAny, {
39867
+ reference: "longest_manhattan";
39868
+ offset?: number | undefined;
39869
+ source_trace_ids?: string[] | undefined;
39870
+ }, {
39871
+ reference: "longest_manhattan";
39872
+ offset?: number | undefined;
39873
+ source_trace_ids?: string[] | undefined;
39874
+ }>]>>;
39875
+ target_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
39876
+ reference: z.ZodLiteral<"longest_manhattan">;
39877
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39878
+ offset: z.ZodOptional<z.ZodNumber>;
39879
+ }, "strip", z.ZodTypeAny, {
39880
+ reference: "longest_manhattan";
39881
+ offset?: number | undefined;
39882
+ source_trace_ids?: string[] | undefined;
39883
+ }, {
39884
+ reference: "longest_manhattan";
39885
+ offset?: number | undefined;
39886
+ source_trace_ids?: string[] | undefined;
39887
+ }>]>>;
39888
+ length_tolerance: z.ZodOptional<z.ZodNumber>;
39889
+ pcb_trace_spacing: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
39890
+ width_multiplier: z.ZodNumber;
39891
+ }, "strip", z.ZodTypeAny, {
39892
+ width_multiplier: number;
39893
+ }, {
39894
+ width_multiplier: number;
39895
+ }>]>>;
39896
+ pcb_spacing_to_other_signals: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
39897
+ width_multiplier: z.ZodNumber;
39898
+ }, "strip", z.ZodTypeAny, {
39899
+ width_multiplier: number;
39900
+ }, {
39901
+ width_multiplier: number;
39902
+ }>]>>;
39903
+ target_impedance_min: z.ZodOptional<z.ZodNumber>;
39904
+ target_impedance_max: z.ZodOptional<z.ZodNumber>;
39905
+ target_differential_impedance_min: z.ZodOptional<z.ZodNumber>;
39906
+ target_differential_impedance_max: z.ZodOptional<z.ZodNumber>;
38655
39907
  subcircuit_id: z.ZodOptional<z.ZodString>;
38656
39908
  }, "strip", z.ZodTypeAny, {
38657
39909
  type: "source_bus";
@@ -38659,14 +39911,84 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38659
39911
  source_trace_ids: string[];
38660
39912
  name?: string | undefined;
38661
39913
  subcircuit_id?: string | undefined;
39914
+ min_length?: number | {
39915
+ reference: "longest_manhattan";
39916
+ offset?: number | undefined;
39917
+ source_trace_ids?: string[] | undefined;
39918
+ } | undefined;
39919
+ max_length?: number | {
39920
+ reference: "longest_manhattan";
39921
+ offset?: number | undefined;
39922
+ source_trace_ids?: string[] | undefined;
39923
+ } | undefined;
39924
+ target_length?: number | {
39925
+ reference: "longest_manhattan";
39926
+ offset?: number | undefined;
39927
+ source_trace_ids?: string[] | undefined;
39928
+ } | undefined;
39929
+ pcb_trace_spacing?: number | {
39930
+ width_multiplier: number;
39931
+ } | undefined;
39932
+ pcb_spacing_to_other_signals?: number | {
39933
+ width_multiplier: number;
39934
+ } | undefined;
39935
+ length_tolerance?: number | undefined;
39936
+ target_impedance?: number | undefined;
38662
39937
  max_length_skew?: number | undefined;
39938
+ target_differential_impedance?: number | undefined;
39939
+ differential_pair?: {
39940
+ positive_source_trace_id: string;
39941
+ negative_source_trace_id: string;
39942
+ trace_gap?: number | undefined;
39943
+ max_uncoupled_length?: number | undefined;
39944
+ } | undefined;
39945
+ length_match_source_trace_ids?: string[] | undefined;
39946
+ target_impedance_min?: number | undefined;
39947
+ target_impedance_max?: number | undefined;
39948
+ target_differential_impedance_min?: number | undefined;
39949
+ target_differential_impedance_max?: number | undefined;
38663
39950
  }, {
38664
39951
  type: "source_bus";
38665
39952
  source_bus_id: string;
38666
39953
  source_trace_ids: string[];
38667
39954
  name?: string | undefined;
38668
39955
  subcircuit_id?: string | undefined;
39956
+ min_length?: number | {
39957
+ reference: "longest_manhattan";
39958
+ offset?: number | undefined;
39959
+ source_trace_ids?: string[] | undefined;
39960
+ } | undefined;
39961
+ max_length?: number | {
39962
+ reference: "longest_manhattan";
39963
+ offset?: number | undefined;
39964
+ source_trace_ids?: string[] | undefined;
39965
+ } | undefined;
39966
+ target_length?: number | {
39967
+ reference: "longest_manhattan";
39968
+ offset?: number | undefined;
39969
+ source_trace_ids?: string[] | undefined;
39970
+ } | undefined;
39971
+ pcb_trace_spacing?: number | {
39972
+ width_multiplier: number;
39973
+ } | undefined;
39974
+ pcb_spacing_to_other_signals?: number | {
39975
+ width_multiplier: number;
39976
+ } | undefined;
39977
+ length_tolerance?: number | undefined;
39978
+ target_impedance?: number | undefined;
38669
39979
  max_length_skew?: number | undefined;
39980
+ target_differential_impedance?: number | undefined;
39981
+ differential_pair?: {
39982
+ positive_source_trace_id: string;
39983
+ negative_source_trace_id: string;
39984
+ trace_gap?: number | undefined;
39985
+ max_uncoupled_length?: number | undefined;
39986
+ } | undefined;
39987
+ length_match_source_trace_ids?: string[] | undefined;
39988
+ target_impedance_min?: number | undefined;
39989
+ target_impedance_max?: number | undefined;
39990
+ target_differential_impedance_min?: number | undefined;
39991
+ target_differential_impedance_max?: number | undefined;
38670
39992
  }>, z.ZodObject<{
38671
39993
  type: z.ZodLiteral<"source_port">;
38672
39994
  pin_number: z.ZodOptional<z.ZodNumber>;
@@ -39183,14 +40505,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39183
40505
  source_group_id: z.ZodOptional<z.ZodString>;
39184
40506
  subcircuit_id: z.ZodOptional<z.ZodString>;
39185
40507
  } & {
39186
- ftype: z.ZodLiteral<"simple_power_source">;
39187
- voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
40508
+ ftype: z.ZodLiteral<"printedpart">;
39188
40509
  }, "strip", z.ZodTypeAny, {
39189
40510
  type: "source_component";
39190
40511
  name: string;
39191
40512
  source_component_id: string;
39192
- voltage: number;
39193
- ftype: "simple_power_source";
40513
+ ftype: "printedpart";
39194
40514
  subcircuit_id?: string | undefined;
39195
40515
  source_group_id?: string | undefined;
39196
40516
  display_name?: string | undefined;
@@ -39203,8 +40523,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39203
40523
  type: "source_component";
39204
40524
  name: string;
39205
40525
  source_component_id: string;
39206
- voltage: string | number;
39207
- ftype: "simple_power_source";
40526
+ ftype: "printedpart";
39208
40527
  subcircuit_id?: string | undefined;
39209
40528
  source_group_id?: string | undefined;
39210
40529
  display_name?: string | undefined;
@@ -39226,26 +40545,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39226
40545
  source_group_id: z.ZodOptional<z.ZodString>;
39227
40546
  subcircuit_id: z.ZodOptional<z.ZodString>;
39228
40547
  } & {
39229
- ftype: z.ZodLiteral<"simple_current_source">;
39230
- current: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39231
- frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
39232
- peak_to_peak_current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
39233
- wave_shape: z.ZodDefault<z.ZodOptional<z.ZodEnum<["sine", "square", "triangle", "sawtooth", "dc"]>>>;
39234
- phase: z.ZodOptional<z.ZodNumber>;
39235
- duty_cycle: z.ZodOptional<z.ZodNumber>;
40548
+ ftype: z.ZodLiteral<"subassembly">;
39236
40549
  }, "strip", z.ZodTypeAny, {
39237
40550
  type: "source_component";
39238
40551
  name: string;
39239
40552
  source_component_id: string;
39240
- wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
39241
- current: number;
39242
- ftype: "simple_current_source";
40553
+ ftype: "subassembly";
39243
40554
  subcircuit_id?: string | undefined;
39244
40555
  source_group_id?: string | undefined;
39245
- frequency?: number | undefined;
39246
- phase?: number | undefined;
39247
- duty_cycle?: number | undefined;
39248
- peak_to_peak_current?: number | undefined;
39249
40556
  display_name?: string | undefined;
39250
40557
  manufacturer_part_number?: string | undefined;
39251
40558
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -39256,15 +40563,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39256
40563
  type: "source_component";
39257
40564
  name: string;
39258
40565
  source_component_id: string;
39259
- current: string | number;
39260
- ftype: "simple_current_source";
40566
+ ftype: "subassembly";
39261
40567
  subcircuit_id?: string | undefined;
39262
40568
  source_group_id?: string | undefined;
39263
- frequency?: string | number | undefined;
39264
- wave_shape?: "square" | "triangle" | "sawtooth" | "sine" | "dc" | undefined;
39265
- phase?: number | undefined;
39266
- duty_cycle?: number | undefined;
39267
- peak_to_peak_current?: string | number | undefined;
39268
40569
  display_name?: string | undefined;
39269
40570
  manufacturer_part_number?: string | undefined;
39270
40571
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
@@ -39284,12 +40585,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39284
40585
  source_group_id: z.ZodOptional<z.ZodString>;
39285
40586
  subcircuit_id: z.ZodOptional<z.ZodString>;
39286
40587
  } & {
39287
- ftype: z.ZodLiteral<"simple_ammeter">;
40588
+ ftype: z.ZodLiteral<"motor">;
39288
40589
  }, "strip", z.ZodTypeAny, {
39289
40590
  type: "source_component";
39290
40591
  name: string;
39291
40592
  source_component_id: string;
39292
- ftype: "simple_ammeter";
40593
+ ftype: "motor";
39293
40594
  subcircuit_id?: string | undefined;
39294
40595
  source_group_id?: string | undefined;
39295
40596
  display_name?: string | undefined;
@@ -39302,7 +40603,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39302
40603
  type: "source_component";
39303
40604
  name: string;
39304
40605
  source_component_id: string;
39305
- ftype: "simple_ammeter";
40606
+ ftype: "motor";
39306
40607
  subcircuit_id?: string | undefined;
39307
40608
  source_group_id?: string | undefined;
39308
40609
  display_name?: string | undefined;
@@ -39324,14 +40625,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39324
40625
  source_group_id: z.ZodOptional<z.ZodString>;
39325
40626
  subcircuit_id: z.ZodOptional<z.ZodString>;
39326
40627
  } & {
39327
- ftype: z.ZodLiteral<"simple_battery">;
39328
- capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
40628
+ ftype: z.ZodLiteral<"simple_power_source">;
40629
+ voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39329
40630
  }, "strip", z.ZodTypeAny, {
39330
40631
  type: "source_component";
39331
40632
  name: string;
39332
40633
  source_component_id: string;
39333
- ftype: "simple_battery";
39334
- capacity: number;
40634
+ voltage: number;
40635
+ ftype: "simple_power_source";
39335
40636
  subcircuit_id?: string | undefined;
39336
40637
  source_group_id?: string | undefined;
39337
40638
  display_name?: string | undefined;
@@ -39344,8 +40645,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39344
40645
  type: "source_component";
39345
40646
  name: string;
39346
40647
  source_component_id: string;
39347
- ftype: "simple_battery";
39348
- capacity: string | number;
40648
+ voltage: string | number;
40649
+ ftype: "simple_power_source";
39349
40650
  subcircuit_id?: string | undefined;
39350
40651
  source_group_id?: string | undefined;
39351
40652
  display_name?: string | undefined;
@@ -39367,42 +40668,51 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39367
40668
  source_group_id: z.ZodOptional<z.ZodString>;
39368
40669
  subcircuit_id: z.ZodOptional<z.ZodString>;
39369
40670
  } & {
39370
- ftype: z.ZodLiteral<"simple_inductor">;
39371
- inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39372
- display_inductance: z.ZodOptional<z.ZodString>;
39373
- max_current_rating: z.ZodOptional<z.ZodNumber>;
40671
+ ftype: z.ZodLiteral<"simple_current_source">;
40672
+ current: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
40673
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
40674
+ peak_to_peak_current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
40675
+ wave_shape: z.ZodDefault<z.ZodOptional<z.ZodEnum<["sine", "square", "triangle", "sawtooth", "dc"]>>>;
40676
+ phase: z.ZodOptional<z.ZodNumber>;
40677
+ duty_cycle: z.ZodOptional<z.ZodNumber>;
39374
40678
  }, "strip", z.ZodTypeAny, {
39375
40679
  type: "source_component";
39376
40680
  name: string;
39377
40681
  source_component_id: string;
39378
- inductance: number;
39379
- ftype: "simple_inductor";
40682
+ wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
40683
+ current: number;
40684
+ ftype: "simple_current_source";
39380
40685
  subcircuit_id?: string | undefined;
39381
40686
  source_group_id?: string | undefined;
40687
+ frequency?: number | undefined;
40688
+ phase?: number | undefined;
40689
+ duty_cycle?: number | undefined;
40690
+ peak_to_peak_current?: number | undefined;
39382
40691
  display_name?: string | undefined;
39383
40692
  manufacturer_part_number?: string | undefined;
39384
40693
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
39385
40694
  display_value?: string | undefined;
39386
40695
  are_pins_interchangeable?: boolean | undefined;
39387
40696
  internally_connected_source_port_ids?: string[][] | undefined;
39388
- display_inductance?: string | undefined;
39389
- max_current_rating?: number | undefined;
39390
40697
  }, {
39391
40698
  type: "source_component";
39392
40699
  name: string;
39393
40700
  source_component_id: string;
39394
- inductance: string | number;
39395
- ftype: "simple_inductor";
40701
+ current: string | number;
40702
+ ftype: "simple_current_source";
39396
40703
  subcircuit_id?: string | undefined;
39397
40704
  source_group_id?: string | undefined;
40705
+ frequency?: string | number | undefined;
40706
+ wave_shape?: "square" | "triangle" | "sawtooth" | "sine" | "dc" | undefined;
40707
+ phase?: number | undefined;
40708
+ duty_cycle?: number | undefined;
40709
+ peak_to_peak_current?: string | number | undefined;
39398
40710
  display_name?: string | undefined;
39399
40711
  manufacturer_part_number?: string | undefined;
39400
40712
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
39401
40713
  display_value?: string | undefined;
39402
40714
  are_pins_interchangeable?: boolean | undefined;
39403
40715
  internally_connected_source_port_ids?: string[][] | undefined;
39404
- display_inductance?: string | undefined;
39405
- max_current_rating?: number | undefined;
39406
40716
  }>, z.ZodObject<{
39407
40717
  type: z.ZodLiteral<"source_component">;
39408
40718
  source_component_id: z.ZodString;
@@ -39416,12 +40726,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39416
40726
  source_group_id: z.ZodOptional<z.ZodString>;
39417
40727
  subcircuit_id: z.ZodOptional<z.ZodString>;
39418
40728
  } & {
39419
- ftype: z.ZodLiteral<"simple_push_button">;
40729
+ ftype: z.ZodLiteral<"simple_ammeter">;
39420
40730
  }, "strip", z.ZodTypeAny, {
39421
40731
  type: "source_component";
39422
40732
  name: string;
39423
40733
  source_component_id: string;
39424
- ftype: "simple_push_button";
40734
+ ftype: "simple_ammeter";
39425
40735
  subcircuit_id?: string | undefined;
39426
40736
  source_group_id?: string | undefined;
39427
40737
  display_name?: string | undefined;
@@ -39434,7 +40744,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39434
40744
  type: "source_component";
39435
40745
  name: string;
39436
40746
  source_component_id: string;
39437
- ftype: "simple_push_button";
40747
+ ftype: "simple_ammeter";
39438
40748
  subcircuit_id?: string | undefined;
39439
40749
  source_group_id?: string | undefined;
39440
40750
  display_name?: string | undefined;
@@ -39456,15 +40766,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39456
40766
  source_group_id: z.ZodOptional<z.ZodString>;
39457
40767
  subcircuit_id: z.ZodOptional<z.ZodString>;
39458
40768
  } & {
39459
- ftype: z.ZodLiteral<"simple_potentiometer">;
39460
- max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39461
- display_max_resistance: z.ZodOptional<z.ZodString>;
40769
+ ftype: z.ZodLiteral<"simple_battery">;
40770
+ capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
39462
40771
  }, "strip", z.ZodTypeAny, {
39463
40772
  type: "source_component";
39464
40773
  name: string;
39465
40774
  source_component_id: string;
39466
- ftype: "simple_potentiometer";
39467
- max_resistance: number;
40775
+ ftype: "simple_battery";
40776
+ capacity: number;
39468
40777
  subcircuit_id?: string | undefined;
39469
40778
  source_group_id?: string | undefined;
39470
40779
  display_name?: string | undefined;
@@ -39473,13 +40782,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39473
40782
  display_value?: string | undefined;
39474
40783
  are_pins_interchangeable?: boolean | undefined;
39475
40784
  internally_connected_source_port_ids?: string[][] | undefined;
39476
- display_max_resistance?: string | undefined;
39477
40785
  }, {
39478
40786
  type: "source_component";
39479
40787
  name: string;
39480
40788
  source_component_id: string;
39481
- ftype: "simple_potentiometer";
39482
- max_resistance: string | number;
40789
+ ftype: "simple_battery";
40790
+ capacity: string | number;
39483
40791
  subcircuit_id?: string | undefined;
39484
40792
  source_group_id?: string | undefined;
39485
40793
  display_name?: string | undefined;
@@ -39488,7 +40796,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39488
40796
  display_value?: string | undefined;
39489
40797
  are_pins_interchangeable?: boolean | undefined;
39490
40798
  internally_connected_source_port_ids?: string[][] | undefined;
39491
- display_max_resistance?: string | undefined;
39492
40799
  }>, z.ZodObject<{
39493
40800
  type: z.ZodLiteral<"source_component">;
39494
40801
  source_component_id: z.ZodString;
@@ -39502,16 +40809,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39502
40809
  source_group_id: z.ZodOptional<z.ZodString>;
39503
40810
  subcircuit_id: z.ZodOptional<z.ZodString>;
39504
40811
  } & {
39505
- ftype: z.ZodLiteral<"simple_crystal">;
39506
- frequency: z.ZodNumber;
39507
- load_capacitance: z.ZodOptional<z.ZodNumber>;
39508
- pin_variant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
40812
+ ftype: z.ZodLiteral<"simple_inductor">;
40813
+ inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
40814
+ display_inductance: z.ZodOptional<z.ZodString>;
40815
+ max_current_rating: z.ZodOptional<z.ZodNumber>;
39509
40816
  }, "strip", z.ZodTypeAny, {
39510
40817
  type: "source_component";
39511
40818
  name: string;
39512
40819
  source_component_id: string;
39513
- frequency: number;
39514
- ftype: "simple_crystal";
40820
+ inductance: number;
40821
+ ftype: "simple_inductor";
39515
40822
  subcircuit_id?: string | undefined;
39516
40823
  source_group_id?: string | undefined;
39517
40824
  display_name?: string | undefined;
@@ -39520,14 +40827,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39520
40827
  display_value?: string | undefined;
39521
40828
  are_pins_interchangeable?: boolean | undefined;
39522
40829
  internally_connected_source_port_ids?: string[][] | undefined;
39523
- load_capacitance?: number | undefined;
39524
- pin_variant?: "two_pin" | "four_pin" | undefined;
40830
+ display_inductance?: string | undefined;
40831
+ max_current_rating?: number | undefined;
39525
40832
  }, {
39526
40833
  type: "source_component";
39527
40834
  name: string;
39528
40835
  source_component_id: string;
39529
- frequency: number;
39530
- ftype: "simple_crystal";
40836
+ inductance: string | number;
40837
+ ftype: "simple_inductor";
39531
40838
  subcircuit_id?: string | undefined;
39532
40839
  source_group_id?: string | undefined;
39533
40840
  display_name?: string | undefined;
@@ -39536,8 +40843,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39536
40843
  display_value?: string | undefined;
39537
40844
  are_pins_interchangeable?: boolean | undefined;
39538
40845
  internally_connected_source_port_ids?: string[][] | undefined;
39539
- load_capacitance?: number | undefined;
39540
- pin_variant?: "two_pin" | "four_pin" | undefined;
40846
+ display_inductance?: string | undefined;
40847
+ max_current_rating?: number | undefined;
39541
40848
  }>, z.ZodObject<{
39542
40849
  type: z.ZodLiteral<"source_component">;
39543
40850
  source_component_id: z.ZodString;
@@ -39551,16 +40858,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39551
40858
  source_group_id: z.ZodOptional<z.ZodString>;
39552
40859
  subcircuit_id: z.ZodOptional<z.ZodString>;
39553
40860
  } & {
39554
- ftype: z.ZodLiteral<"simple_pin_header">;
39555
- pin_count: z.ZodNumber;
39556
- gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
40861
+ ftype: z.ZodLiteral<"simple_push_button">;
39557
40862
  }, "strip", z.ZodTypeAny, {
39558
40863
  type: "source_component";
39559
40864
  name: string;
39560
40865
  source_component_id: string;
39561
- ftype: "simple_pin_header";
39562
- pin_count: number;
39563
- gender: "male" | "female";
40866
+ ftype: "simple_push_button";
39564
40867
  subcircuit_id?: string | undefined;
39565
40868
  source_group_id?: string | undefined;
39566
40869
  display_name?: string | undefined;
@@ -39573,8 +40876,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39573
40876
  type: "source_component";
39574
40877
  name: string;
39575
40878
  source_component_id: string;
39576
- ftype: "simple_pin_header";
39577
- pin_count: number;
40879
+ ftype: "simple_push_button";
39578
40880
  subcircuit_id?: string | undefined;
39579
40881
  source_group_id?: string | undefined;
39580
40882
  display_name?: string | undefined;
@@ -39583,7 +40885,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39583
40885
  display_value?: string | undefined;
39584
40886
  are_pins_interchangeable?: boolean | undefined;
39585
40887
  internally_connected_source_port_ids?: string[][] | undefined;
39586
- gender?: "male" | "female" | undefined;
39587
40888
  }>, z.ZodObject<{
39588
40889
  type: z.ZodLiteral<"source_component">;
39589
40890
  source_component_id: z.ZodString;
@@ -39597,14 +40898,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39597
40898
  source_group_id: z.ZodOptional<z.ZodString>;
39598
40899
  subcircuit_id: z.ZodOptional<z.ZodString>;
39599
40900
  } & {
39600
- ftype: z.ZodLiteral<"simple_connector">;
39601
- standard: z.ZodOptional<z.ZodEnum<["usb_c", "m2", "jst_sh", "jst_gh", "jst_zh", "jst_ph", "jst_xh", "jst_vh"]>>;
39602
- pin_count: z.ZodOptional<z.ZodNumber>;
40901
+ ftype: z.ZodLiteral<"simple_potentiometer">;
40902
+ max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
40903
+ display_max_resistance: z.ZodOptional<z.ZodString>;
39603
40904
  }, "strip", z.ZodTypeAny, {
39604
40905
  type: "source_component";
39605
40906
  name: string;
39606
40907
  source_component_id: string;
39607
- ftype: "simple_connector";
40908
+ ftype: "simple_potentiometer";
40909
+ max_resistance: number;
39608
40910
  subcircuit_id?: string | undefined;
39609
40911
  source_group_id?: string | undefined;
39610
40912
  display_name?: string | undefined;
@@ -39613,13 +40915,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39613
40915
  display_value?: string | undefined;
39614
40916
  are_pins_interchangeable?: boolean | undefined;
39615
40917
  internally_connected_source_port_ids?: string[][] | undefined;
39616
- pin_count?: number | undefined;
39617
- standard?: "usb_c" | "m2" | "jst_sh" | "jst_gh" | "jst_zh" | "jst_ph" | "jst_xh" | "jst_vh" | undefined;
40918
+ display_max_resistance?: string | undefined;
39618
40919
  }, {
39619
40920
  type: "source_component";
39620
40921
  name: string;
39621
40922
  source_component_id: string;
39622
- ftype: "simple_connector";
40923
+ ftype: "simple_potentiometer";
40924
+ max_resistance: string | number;
39623
40925
  subcircuit_id?: string | undefined;
39624
40926
  source_group_id?: string | undefined;
39625
40927
  display_name?: string | undefined;
@@ -39628,8 +40930,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39628
40930
  display_value?: string | undefined;
39629
40931
  are_pins_interchangeable?: boolean | undefined;
39630
40932
  internally_connected_source_port_ids?: string[][] | undefined;
39631
- pin_count?: number | undefined;
39632
- standard?: "usb_c" | "m2" | "jst_sh" | "jst_gh" | "jst_zh" | "jst_ph" | "jst_xh" | "jst_vh" | undefined;
40933
+ display_max_resistance?: string | undefined;
39633
40934
  }>, z.ZodObject<{
39634
40935
  type: z.ZodLiteral<"source_component">;
39635
40936
  source_component_id: z.ZodString;
@@ -39643,12 +40944,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39643
40944
  source_group_id: z.ZodOptional<z.ZodString>;
39644
40945
  subcircuit_id: z.ZodOptional<z.ZodString>;
39645
40946
  } & {
39646
- ftype: z.ZodLiteral<"simple_pinout">;
40947
+ ftype: z.ZodLiteral<"simple_crystal">;
40948
+ frequency: z.ZodNumber;
40949
+ load_capacitance: z.ZodOptional<z.ZodNumber>;
40950
+ pin_variant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
39647
40951
  }, "strip", z.ZodTypeAny, {
39648
40952
  type: "source_component";
39649
40953
  name: string;
39650
40954
  source_component_id: string;
39651
- ftype: "simple_pinout";
40955
+ frequency: number;
40956
+ ftype: "simple_crystal";
39652
40957
  subcircuit_id?: string | undefined;
39653
40958
  source_group_id?: string | undefined;
39654
40959
  display_name?: string | undefined;
@@ -39657,11 +40962,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39657
40962
  display_value?: string | undefined;
39658
40963
  are_pins_interchangeable?: boolean | undefined;
39659
40964
  internally_connected_source_port_ids?: string[][] | undefined;
40965
+ load_capacitance?: number | undefined;
40966
+ pin_variant?: "two_pin" | "four_pin" | undefined;
39660
40967
  }, {
39661
40968
  type: "source_component";
39662
40969
  name: string;
39663
40970
  source_component_id: string;
39664
- ftype: "simple_pinout";
40971
+ frequency: number;
40972
+ ftype: "simple_crystal";
39665
40973
  subcircuit_id?: string | undefined;
39666
40974
  source_group_id?: string | undefined;
39667
40975
  display_name?: string | undefined;
@@ -39670,6 +40978,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39670
40978
  display_value?: string | undefined;
39671
40979
  are_pins_interchangeable?: boolean | undefined;
39672
40980
  internally_connected_source_port_ids?: string[][] | undefined;
40981
+ load_capacitance?: number | undefined;
40982
+ pin_variant?: "two_pin" | "four_pin" | undefined;
39673
40983
  }>, z.ZodObject<{
39674
40984
  type: z.ZodLiteral<"source_component">;
39675
40985
  source_component_id: z.ZodString;
@@ -39683,17 +40993,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39683
40993
  source_group_id: z.ZodOptional<z.ZodString>;
39684
40994
  subcircuit_id: z.ZodOptional<z.ZodString>;
39685
40995
  } & {
39686
- ftype: z.ZodLiteral<"simple_resonator">;
39687
- load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
39688
- equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
39689
- frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
40996
+ ftype: z.ZodLiteral<"simple_pin_header">;
40997
+ pin_count: z.ZodNumber;
40998
+ gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
39690
40999
  }, "strip", z.ZodTypeAny, {
39691
41000
  type: "source_component";
39692
41001
  name: string;
39693
41002
  source_component_id: string;
39694
- frequency: number;
39695
- ftype: "simple_resonator";
39696
- load_capacitance: number;
41003
+ ftype: "simple_pin_header";
41004
+ pin_count: number;
41005
+ gender: "male" | "female";
39697
41006
  subcircuit_id?: string | undefined;
39698
41007
  source_group_id?: string | undefined;
39699
41008
  display_name?: string | undefined;
@@ -39702,14 +41011,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39702
41011
  display_value?: string | undefined;
39703
41012
  are_pins_interchangeable?: boolean | undefined;
39704
41013
  internally_connected_source_port_ids?: string[][] | undefined;
39705
- equivalent_series_resistance?: number | undefined;
39706
41014
  }, {
39707
41015
  type: "source_component";
39708
41016
  name: string;
39709
41017
  source_component_id: string;
39710
- frequency: string | number;
39711
- ftype: "simple_resonator";
39712
- load_capacitance: string | number;
41018
+ ftype: "simple_pin_header";
41019
+ pin_count: number;
39713
41020
  subcircuit_id?: string | undefined;
39714
41021
  source_group_id?: string | undefined;
39715
41022
  display_name?: string | undefined;
@@ -39718,7 +41025,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39718
41025
  display_value?: string | undefined;
39719
41026
  are_pins_interchangeable?: boolean | undefined;
39720
41027
  internally_connected_source_port_ids?: string[][] | undefined;
39721
- equivalent_series_resistance?: string | number | undefined;
41028
+ gender?: "male" | "female" | undefined;
39722
41029
  }>, z.ZodObject<{
39723
41030
  type: z.ZodLiteral<"source_component">;
39724
41031
  source_component_id: z.ZodString;
@@ -39732,12 +41039,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39732
41039
  source_group_id: z.ZodOptional<z.ZodString>;
39733
41040
  subcircuit_id: z.ZodOptional<z.ZodString>;
39734
41041
  } & {
39735
- ftype: z.ZodLiteral<"simple_switch">;
41042
+ ftype: z.ZodLiteral<"simple_connector">;
41043
+ standard: z.ZodOptional<z.ZodEnum<["usb_c", "m2", "jst_sh", "jst_gh", "jst_zh", "jst_ph", "jst_xh", "jst_vh"]>>;
41044
+ pin_count: z.ZodOptional<z.ZodNumber>;
39736
41045
  }, "strip", z.ZodTypeAny, {
39737
41046
  type: "source_component";
39738
41047
  name: string;
39739
41048
  source_component_id: string;
39740
- ftype: "simple_switch";
41049
+ ftype: "simple_connector";
39741
41050
  subcircuit_id?: string | undefined;
39742
41051
  source_group_id?: string | undefined;
39743
41052
  display_name?: string | undefined;
@@ -39746,11 +41055,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39746
41055
  display_value?: string | undefined;
39747
41056
  are_pins_interchangeable?: boolean | undefined;
39748
41057
  internally_connected_source_port_ids?: string[][] | undefined;
41058
+ pin_count?: number | undefined;
41059
+ standard?: "usb_c" | "m2" | "jst_sh" | "jst_gh" | "jst_zh" | "jst_ph" | "jst_xh" | "jst_vh" | undefined;
39749
41060
  }, {
39750
41061
  type: "source_component";
39751
41062
  name: string;
39752
41063
  source_component_id: string;
39753
- ftype: "simple_switch";
41064
+ ftype: "simple_connector";
39754
41065
  subcircuit_id?: string | undefined;
39755
41066
  source_group_id?: string | undefined;
39756
41067
  display_name?: string | undefined;
@@ -39759,6 +41070,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39759
41070
  display_value?: string | undefined;
39760
41071
  are_pins_interchangeable?: boolean | undefined;
39761
41072
  internally_connected_source_port_ids?: string[][] | undefined;
41073
+ pin_count?: number | undefined;
41074
+ standard?: "usb_c" | "m2" | "jst_sh" | "jst_gh" | "jst_zh" | "jst_ph" | "jst_xh" | "jst_vh" | undefined;
39762
41075
  }>, z.ZodObject<{
39763
41076
  type: z.ZodLiteral<"source_component">;
39764
41077
  source_component_id: z.ZodString;
@@ -39772,14 +41085,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39772
41085
  source_group_id: z.ZodOptional<z.ZodString>;
39773
41086
  subcircuit_id: z.ZodOptional<z.ZodString>;
39774
41087
  } & {
39775
- ftype: z.ZodLiteral<"simple_transistor">;
39776
- transistor_type: z.ZodEnum<["npn", "pnp"]>;
41088
+ ftype: z.ZodLiteral<"simple_pinout">;
39777
41089
  }, "strip", z.ZodTypeAny, {
39778
41090
  type: "source_component";
39779
41091
  name: string;
39780
41092
  source_component_id: string;
39781
- ftype: "simple_transistor";
39782
- transistor_type: "npn" | "pnp";
41093
+ ftype: "simple_pinout";
39783
41094
  subcircuit_id?: string | undefined;
39784
41095
  source_group_id?: string | undefined;
39785
41096
  display_name?: string | undefined;
@@ -39792,8 +41103,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39792
41103
  type: "source_component";
39793
41104
  name: string;
39794
41105
  source_component_id: string;
39795
- ftype: "simple_transistor";
39796
- transistor_type: "npn" | "pnp";
41106
+ ftype: "simple_pinout";
39797
41107
  subcircuit_id?: string | undefined;
39798
41108
  source_group_id?: string | undefined;
39799
41109
  display_name?: string | undefined;
@@ -39815,23 +41125,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39815
41125
  source_group_id: z.ZodOptional<z.ZodString>;
39816
41126
  subcircuit_id: z.ZodOptional<z.ZodString>;
39817
41127
  } & {
39818
- ftype: z.ZodLiteral<"simple_test_point">;
39819
- footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
39820
- pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
39821
- pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
39822
- hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
39823
- width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
39824
- height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
41128
+ ftype: z.ZodLiteral<"simple_resonator">;
41129
+ load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
41130
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
41131
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39825
41132
  }, "strip", z.ZodTypeAny, {
39826
41133
  type: "source_component";
39827
41134
  name: string;
39828
41135
  source_component_id: string;
39829
- ftype: "simple_test_point";
39830
- width?: string | number | undefined;
39831
- height?: string | number | undefined;
41136
+ frequency: number;
41137
+ ftype: "simple_resonator";
41138
+ load_capacitance: number;
39832
41139
  subcircuit_id?: string | undefined;
39833
- hole_diameter?: string | number | undefined;
39834
- pad_shape?: "circle" | "rect" | undefined;
39835
41140
  source_group_id?: string | undefined;
39836
41141
  display_name?: string | undefined;
39837
41142
  manufacturer_part_number?: string | undefined;
@@ -39839,18 +41144,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39839
41144
  display_value?: string | undefined;
39840
41145
  are_pins_interchangeable?: boolean | undefined;
39841
41146
  internally_connected_source_port_ids?: string[][] | undefined;
39842
- footprint_variant?: "through_hole" | "pad" | undefined;
39843
- pad_diameter?: string | number | undefined;
41147
+ equivalent_series_resistance?: number | undefined;
39844
41148
  }, {
39845
41149
  type: "source_component";
39846
41150
  name: string;
39847
41151
  source_component_id: string;
39848
- ftype: "simple_test_point";
39849
- width?: string | number | undefined;
39850
- height?: string | number | undefined;
41152
+ frequency: string | number;
41153
+ ftype: "simple_resonator";
41154
+ load_capacitance: string | number;
39851
41155
  subcircuit_id?: string | undefined;
39852
- hole_diameter?: string | number | undefined;
39853
- pad_shape?: "circle" | "rect" | undefined;
39854
41156
  source_group_id?: string | undefined;
39855
41157
  display_name?: string | undefined;
39856
41158
  manufacturer_part_number?: string | undefined;
@@ -39858,8 +41160,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39858
41160
  display_value?: string | undefined;
39859
41161
  are_pins_interchangeable?: boolean | undefined;
39860
41162
  internally_connected_source_port_ids?: string[][] | undefined;
39861
- footprint_variant?: "through_hole" | "pad" | undefined;
39862
- pad_diameter?: string | number | undefined;
41163
+ equivalent_series_resistance?: string | number | undefined;
39863
41164
  }>, z.ZodObject<{
39864
41165
  type: z.ZodLiteral<"source_component">;
39865
41166
  source_component_id: z.ZodString;
@@ -39873,16 +41174,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39873
41174
  source_group_id: z.ZodOptional<z.ZodString>;
39874
41175
  subcircuit_id: z.ZodOptional<z.ZodString>;
39875
41176
  } & {
39876
- ftype: z.ZodLiteral<"simple_mosfet">;
39877
- channel_type: z.ZodEnum<["n", "p"]>;
39878
- mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
41177
+ ftype: z.ZodLiteral<"simple_switch">;
39879
41178
  }, "strip", z.ZodTypeAny, {
39880
41179
  type: "source_component";
39881
41180
  name: string;
39882
41181
  source_component_id: string;
39883
- ftype: "simple_mosfet";
39884
- channel_type: "n" | "p";
39885
- mosfet_mode: "enhancement" | "depletion";
41182
+ ftype: "simple_switch";
39886
41183
  subcircuit_id?: string | undefined;
39887
41184
  source_group_id?: string | undefined;
39888
41185
  display_name?: string | undefined;
@@ -39895,9 +41192,154 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39895
41192
  type: "source_component";
39896
41193
  name: string;
39897
41194
  source_component_id: string;
39898
- ftype: "simple_mosfet";
39899
- channel_type: "n" | "p";
39900
- mosfet_mode: "enhancement" | "depletion";
41195
+ ftype: "simple_switch";
41196
+ subcircuit_id?: string | undefined;
41197
+ source_group_id?: string | undefined;
41198
+ display_name?: string | undefined;
41199
+ manufacturer_part_number?: string | undefined;
41200
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
41201
+ display_value?: string | undefined;
41202
+ are_pins_interchangeable?: boolean | undefined;
41203
+ internally_connected_source_port_ids?: string[][] | undefined;
41204
+ }>, z.ZodObject<{
41205
+ type: z.ZodLiteral<"source_component">;
41206
+ source_component_id: z.ZodString;
41207
+ name: z.ZodString;
41208
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
41209
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
41210
+ display_value: z.ZodOptional<z.ZodString>;
41211
+ display_name: z.ZodOptional<z.ZodString>;
41212
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
41213
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
41214
+ source_group_id: z.ZodOptional<z.ZodString>;
41215
+ subcircuit_id: z.ZodOptional<z.ZodString>;
41216
+ } & {
41217
+ ftype: z.ZodLiteral<"simple_transistor">;
41218
+ transistor_type: z.ZodEnum<["npn", "pnp"]>;
41219
+ }, "strip", z.ZodTypeAny, {
41220
+ type: "source_component";
41221
+ name: string;
41222
+ source_component_id: string;
41223
+ ftype: "simple_transistor";
41224
+ transistor_type: "npn" | "pnp";
41225
+ subcircuit_id?: string | undefined;
41226
+ source_group_id?: string | undefined;
41227
+ display_name?: string | undefined;
41228
+ manufacturer_part_number?: string | undefined;
41229
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
41230
+ display_value?: string | undefined;
41231
+ are_pins_interchangeable?: boolean | undefined;
41232
+ internally_connected_source_port_ids?: string[][] | undefined;
41233
+ }, {
41234
+ type: "source_component";
41235
+ name: string;
41236
+ source_component_id: string;
41237
+ ftype: "simple_transistor";
41238
+ transistor_type: "npn" | "pnp";
41239
+ subcircuit_id?: string | undefined;
41240
+ source_group_id?: string | undefined;
41241
+ display_name?: string | undefined;
41242
+ manufacturer_part_number?: string | undefined;
41243
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
41244
+ display_value?: string | undefined;
41245
+ are_pins_interchangeable?: boolean | undefined;
41246
+ internally_connected_source_port_ids?: string[][] | undefined;
41247
+ }>, z.ZodObject<{
41248
+ type: z.ZodLiteral<"source_component">;
41249
+ source_component_id: z.ZodString;
41250
+ name: z.ZodString;
41251
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
41252
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
41253
+ display_value: z.ZodOptional<z.ZodString>;
41254
+ display_name: z.ZodOptional<z.ZodString>;
41255
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
41256
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
41257
+ source_group_id: z.ZodOptional<z.ZodString>;
41258
+ subcircuit_id: z.ZodOptional<z.ZodString>;
41259
+ } & {
41260
+ ftype: z.ZodLiteral<"simple_test_point">;
41261
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
41262
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
41263
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
41264
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
41265
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
41266
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
41267
+ }, "strip", z.ZodTypeAny, {
41268
+ type: "source_component";
41269
+ name: string;
41270
+ source_component_id: string;
41271
+ ftype: "simple_test_point";
41272
+ width?: string | number | undefined;
41273
+ height?: string | number | undefined;
41274
+ subcircuit_id?: string | undefined;
41275
+ hole_diameter?: string | number | undefined;
41276
+ pad_shape?: "circle" | "rect" | undefined;
41277
+ source_group_id?: string | undefined;
41278
+ display_name?: string | undefined;
41279
+ manufacturer_part_number?: string | undefined;
41280
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
41281
+ display_value?: string | undefined;
41282
+ are_pins_interchangeable?: boolean | undefined;
41283
+ internally_connected_source_port_ids?: string[][] | undefined;
41284
+ footprint_variant?: "through_hole" | "pad" | undefined;
41285
+ pad_diameter?: string | number | undefined;
41286
+ }, {
41287
+ type: "source_component";
41288
+ name: string;
41289
+ source_component_id: string;
41290
+ ftype: "simple_test_point";
41291
+ width?: string | number | undefined;
41292
+ height?: string | number | undefined;
41293
+ subcircuit_id?: string | undefined;
41294
+ hole_diameter?: string | number | undefined;
41295
+ pad_shape?: "circle" | "rect" | undefined;
41296
+ source_group_id?: string | undefined;
41297
+ display_name?: string | undefined;
41298
+ manufacturer_part_number?: string | undefined;
41299
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
41300
+ display_value?: string | undefined;
41301
+ are_pins_interchangeable?: boolean | undefined;
41302
+ internally_connected_source_port_ids?: string[][] | undefined;
41303
+ footprint_variant?: "through_hole" | "pad" | undefined;
41304
+ pad_diameter?: string | number | undefined;
41305
+ }>, z.ZodObject<{
41306
+ type: z.ZodLiteral<"source_component">;
41307
+ source_component_id: z.ZodString;
41308
+ name: z.ZodString;
41309
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
41310
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
41311
+ display_value: z.ZodOptional<z.ZodString>;
41312
+ display_name: z.ZodOptional<z.ZodString>;
41313
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
41314
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
41315
+ source_group_id: z.ZodOptional<z.ZodString>;
41316
+ subcircuit_id: z.ZodOptional<z.ZodString>;
41317
+ } & {
41318
+ ftype: z.ZodLiteral<"simple_mosfet">;
41319
+ channel_type: z.ZodEnum<["n", "p"]>;
41320
+ mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
41321
+ }, "strip", z.ZodTypeAny, {
41322
+ type: "source_component";
41323
+ name: string;
41324
+ source_component_id: string;
41325
+ ftype: "simple_mosfet";
41326
+ channel_type: "n" | "p";
41327
+ mosfet_mode: "enhancement" | "depletion";
41328
+ subcircuit_id?: string | undefined;
41329
+ source_group_id?: string | undefined;
41330
+ display_name?: string | undefined;
41331
+ manufacturer_part_number?: string | undefined;
41332
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
41333
+ display_value?: string | undefined;
41334
+ are_pins_interchangeable?: boolean | undefined;
41335
+ internally_connected_source_port_ids?: string[][] | undefined;
41336
+ }, {
41337
+ type: "source_component";
41338
+ name: string;
41339
+ source_component_id: string;
41340
+ ftype: "simple_mosfet";
41341
+ channel_type: "n" | "p";
41342
+ mosfet_mode: "enhancement" | "depletion";
39901
41343
  subcircuit_id?: string | undefined;
39902
41344
  source_group_id?: string | undefined;
39903
41345
  display_name?: string | undefined;
@@ -48057,6 +49499,660 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
48057
49499
  url: string;
48058
49500
  mimetype: string;
48059
49501
  } | undefined;
49502
+ }>]>, z.ZodEffects<z.ZodDiscriminatedUnion<"routing_rule", [z.ZodObject<{
49503
+ message: z.ZodString;
49504
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49505
+ } & {
49506
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49507
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49508
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49509
+ source_bus_id: z.ZodString;
49510
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49511
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49512
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49513
+ } & {
49514
+ routing_rule: z.ZodLiteral<"length_skew">;
49515
+ actual_length_skew: z.ZodNumber;
49516
+ maximum_length_skew: z.ZodNumber;
49517
+ }, "strip", z.ZodTypeAny, {
49518
+ message: string;
49519
+ type: "pcb_bus_routing_constraint_error";
49520
+ error_type: "pcb_bus_routing_constraint_error";
49521
+ source_bus_id: string;
49522
+ source_trace_ids: string[];
49523
+ pcb_trace_ids: string[];
49524
+ actual_length_skew: number;
49525
+ maximum_length_skew: number;
49526
+ pcb_bus_routing_constraint_error_id: string;
49527
+ routing_rule: "length_skew";
49528
+ subcircuit_id?: string | undefined;
49529
+ is_fatal?: boolean | undefined;
49530
+ }, {
49531
+ message: string;
49532
+ type: "pcb_bus_routing_constraint_error";
49533
+ source_bus_id: string;
49534
+ source_trace_ids: string[];
49535
+ pcb_trace_ids: string[];
49536
+ actual_length_skew: number;
49537
+ maximum_length_skew: number;
49538
+ routing_rule: "length_skew";
49539
+ subcircuit_id?: string | undefined;
49540
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49541
+ is_fatal?: boolean | undefined;
49542
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49543
+ }>, z.ZodObject<{
49544
+ message: z.ZodString;
49545
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49546
+ } & {
49547
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49548
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49549
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49550
+ source_bus_id: z.ZodString;
49551
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49552
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49553
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49554
+ } & {
49555
+ routing_rule: z.ZodLiteral<"min_length">;
49556
+ actual_trace_length: z.ZodNumber;
49557
+ minimum_trace_length: z.ZodNumber;
49558
+ }, "strip", z.ZodTypeAny, {
49559
+ message: string;
49560
+ type: "pcb_bus_routing_constraint_error";
49561
+ error_type: "pcb_bus_routing_constraint_error";
49562
+ actual_trace_length: number;
49563
+ source_bus_id: string;
49564
+ source_trace_ids: string[];
49565
+ pcb_trace_ids: string[];
49566
+ pcb_bus_routing_constraint_error_id: string;
49567
+ routing_rule: "min_length";
49568
+ minimum_trace_length: number;
49569
+ subcircuit_id?: string | undefined;
49570
+ is_fatal?: boolean | undefined;
49571
+ }, {
49572
+ message: string;
49573
+ type: "pcb_bus_routing_constraint_error";
49574
+ actual_trace_length: number;
49575
+ source_bus_id: string;
49576
+ source_trace_ids: string[];
49577
+ pcb_trace_ids: string[];
49578
+ routing_rule: "min_length";
49579
+ minimum_trace_length: number;
49580
+ subcircuit_id?: string | undefined;
49581
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49582
+ is_fatal?: boolean | undefined;
49583
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49584
+ }>, z.ZodObject<{
49585
+ message: z.ZodString;
49586
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49587
+ } & {
49588
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49589
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49590
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49591
+ source_bus_id: z.ZodString;
49592
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49593
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49594
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49595
+ } & {
49596
+ routing_rule: z.ZodLiteral<"max_length">;
49597
+ actual_trace_length: z.ZodNumber;
49598
+ maximum_trace_length: z.ZodNumber;
49599
+ }, "strip", z.ZodTypeAny, {
49600
+ message: string;
49601
+ type: "pcb_bus_routing_constraint_error";
49602
+ error_type: "pcb_bus_routing_constraint_error";
49603
+ actual_trace_length: number;
49604
+ maximum_trace_length: number;
49605
+ source_bus_id: string;
49606
+ source_trace_ids: string[];
49607
+ pcb_trace_ids: string[];
49608
+ pcb_bus_routing_constraint_error_id: string;
49609
+ routing_rule: "max_length";
49610
+ subcircuit_id?: string | undefined;
49611
+ is_fatal?: boolean | undefined;
49612
+ }, {
49613
+ message: string;
49614
+ type: "pcb_bus_routing_constraint_error";
49615
+ actual_trace_length: number;
49616
+ maximum_trace_length: number;
49617
+ source_bus_id: string;
49618
+ source_trace_ids: string[];
49619
+ pcb_trace_ids: string[];
49620
+ routing_rule: "max_length";
49621
+ subcircuit_id?: string | undefined;
49622
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49623
+ is_fatal?: boolean | undefined;
49624
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49625
+ }>, z.ZodObject<{
49626
+ message: z.ZodString;
49627
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49628
+ } & {
49629
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49630
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49631
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49632
+ source_bus_id: z.ZodString;
49633
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49634
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49635
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49636
+ } & {
49637
+ routing_rule: z.ZodLiteral<"target_length">;
49638
+ actual_trace_length: z.ZodNumber;
49639
+ target_trace_length: z.ZodNumber;
49640
+ length_tolerance: z.ZodNumber;
49641
+ }, "strip", z.ZodTypeAny, {
49642
+ message: string;
49643
+ type: "pcb_bus_routing_constraint_error";
49644
+ error_type: "pcb_bus_routing_constraint_error";
49645
+ actual_trace_length: number;
49646
+ source_bus_id: string;
49647
+ source_trace_ids: string[];
49648
+ pcb_trace_ids: string[];
49649
+ pcb_bus_routing_constraint_error_id: string;
49650
+ routing_rule: "target_length";
49651
+ target_trace_length: number;
49652
+ length_tolerance: number;
49653
+ subcircuit_id?: string | undefined;
49654
+ is_fatal?: boolean | undefined;
49655
+ }, {
49656
+ message: string;
49657
+ type: "pcb_bus_routing_constraint_error";
49658
+ actual_trace_length: number;
49659
+ source_bus_id: string;
49660
+ source_trace_ids: string[];
49661
+ pcb_trace_ids: string[];
49662
+ routing_rule: "target_length";
49663
+ target_trace_length: number;
49664
+ length_tolerance: number;
49665
+ subcircuit_id?: string | undefined;
49666
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49667
+ is_fatal?: boolean | undefined;
49668
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49669
+ }>, z.ZodObject<{
49670
+ message: z.ZodString;
49671
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49672
+ } & {
49673
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49674
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49675
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49676
+ source_bus_id: z.ZodString;
49677
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49678
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49679
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49680
+ } & {
49681
+ routing_rule: z.ZodLiteral<"pcb_trace_spacing">;
49682
+ other_pcb_trace_id: z.ZodString;
49683
+ other_source_trace_id: z.ZodOptional<z.ZodString>;
49684
+ actual_centerline_spacing: z.ZodNumber;
49685
+ minimum_centerline_spacing: z.ZodNumber;
49686
+ }, "strip", z.ZodTypeAny, {
49687
+ message: string;
49688
+ type: "pcb_bus_routing_constraint_error";
49689
+ error_type: "pcb_bus_routing_constraint_error";
49690
+ source_bus_id: string;
49691
+ source_trace_ids: string[];
49692
+ pcb_trace_ids: string[];
49693
+ pcb_bus_routing_constraint_error_id: string;
49694
+ routing_rule: "pcb_trace_spacing";
49695
+ other_pcb_trace_id: string;
49696
+ actual_centerline_spacing: number;
49697
+ minimum_centerline_spacing: number;
49698
+ subcircuit_id?: string | undefined;
49699
+ is_fatal?: boolean | undefined;
49700
+ other_source_trace_id?: string | undefined;
49701
+ }, {
49702
+ message: string;
49703
+ type: "pcb_bus_routing_constraint_error";
49704
+ source_bus_id: string;
49705
+ source_trace_ids: string[];
49706
+ pcb_trace_ids: string[];
49707
+ routing_rule: "pcb_trace_spacing";
49708
+ other_pcb_trace_id: string;
49709
+ actual_centerline_spacing: number;
49710
+ minimum_centerline_spacing: number;
49711
+ subcircuit_id?: string | undefined;
49712
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49713
+ is_fatal?: boolean | undefined;
49714
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49715
+ other_source_trace_id?: string | undefined;
49716
+ }>, z.ZodObject<{
49717
+ message: z.ZodString;
49718
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49719
+ } & {
49720
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49721
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49722
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49723
+ source_bus_id: z.ZodString;
49724
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49725
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49726
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49727
+ } & {
49728
+ routing_rule: z.ZodLiteral<"pcb_spacing_to_other_signals">;
49729
+ other_pcb_trace_id: z.ZodString;
49730
+ other_source_trace_id: z.ZodOptional<z.ZodString>;
49731
+ actual_centerline_spacing: z.ZodNumber;
49732
+ minimum_centerline_spacing: z.ZodNumber;
49733
+ }, "strip", z.ZodTypeAny, {
49734
+ message: string;
49735
+ type: "pcb_bus_routing_constraint_error";
49736
+ error_type: "pcb_bus_routing_constraint_error";
49737
+ source_bus_id: string;
49738
+ source_trace_ids: string[];
49739
+ pcb_trace_ids: string[];
49740
+ pcb_bus_routing_constraint_error_id: string;
49741
+ routing_rule: "pcb_spacing_to_other_signals";
49742
+ other_pcb_trace_id: string;
49743
+ actual_centerline_spacing: number;
49744
+ minimum_centerline_spacing: number;
49745
+ subcircuit_id?: string | undefined;
49746
+ is_fatal?: boolean | undefined;
49747
+ other_source_trace_id?: string | undefined;
49748
+ }, {
49749
+ message: string;
49750
+ type: "pcb_bus_routing_constraint_error";
49751
+ source_bus_id: string;
49752
+ source_trace_ids: string[];
49753
+ pcb_trace_ids: string[];
49754
+ routing_rule: "pcb_spacing_to_other_signals";
49755
+ other_pcb_trace_id: string;
49756
+ actual_centerline_spacing: number;
49757
+ minimum_centerline_spacing: number;
49758
+ subcircuit_id?: string | undefined;
49759
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49760
+ is_fatal?: boolean | undefined;
49761
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49762
+ other_source_trace_id?: string | undefined;
49763
+ }>, z.ZodObject<{
49764
+ message: z.ZodString;
49765
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
49766
+ } & {
49767
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
49768
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49769
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
49770
+ source_bus_id: z.ZodString;
49771
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
49772
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
49773
+ subcircuit_id: z.ZodOptional<z.ZodString>;
49774
+ } & {
49775
+ routing_rule: z.ZodLiteral<"impedance_target">;
49776
+ target_impedance: z.ZodNumber;
49777
+ minimum_impedance: z.ZodOptional<z.ZodNumber>;
49778
+ maximum_impedance: z.ZodOptional<z.ZodNumber>;
49779
+ }, "strip", z.ZodTypeAny, {
49780
+ message: string;
49781
+ type: "pcb_bus_routing_constraint_error";
49782
+ error_type: "pcb_bus_routing_constraint_error";
49783
+ source_bus_id: string;
49784
+ source_trace_ids: string[];
49785
+ pcb_trace_ids: string[];
49786
+ pcb_bus_routing_constraint_error_id: string;
49787
+ routing_rule: "impedance_target";
49788
+ target_impedance: number;
49789
+ subcircuit_id?: string | undefined;
49790
+ is_fatal?: boolean | undefined;
49791
+ minimum_impedance?: number | undefined;
49792
+ maximum_impedance?: number | undefined;
49793
+ }, {
49794
+ message: string;
49795
+ type: "pcb_bus_routing_constraint_error";
49796
+ source_bus_id: string;
49797
+ source_trace_ids: string[];
49798
+ pcb_trace_ids: string[];
49799
+ routing_rule: "impedance_target";
49800
+ target_impedance: number;
49801
+ subcircuit_id?: string | undefined;
49802
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49803
+ is_fatal?: boolean | undefined;
49804
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49805
+ minimum_impedance?: number | undefined;
49806
+ maximum_impedance?: number | undefined;
49807
+ }>]>, {
49808
+ message: string;
49809
+ type: "pcb_bus_routing_constraint_error";
49810
+ error_type: "pcb_bus_routing_constraint_error";
49811
+ source_bus_id: string;
49812
+ source_trace_ids: string[];
49813
+ pcb_trace_ids: string[];
49814
+ actual_length_skew: number;
49815
+ maximum_length_skew: number;
49816
+ pcb_bus_routing_constraint_error_id: string;
49817
+ routing_rule: "length_skew";
49818
+ subcircuit_id?: string | undefined;
49819
+ is_fatal?: boolean | undefined;
49820
+ } | {
49821
+ message: string;
49822
+ type: "pcb_bus_routing_constraint_error";
49823
+ error_type: "pcb_bus_routing_constraint_error";
49824
+ actual_trace_length: number;
49825
+ source_bus_id: string;
49826
+ source_trace_ids: string[];
49827
+ pcb_trace_ids: string[];
49828
+ pcb_bus_routing_constraint_error_id: string;
49829
+ routing_rule: "min_length";
49830
+ minimum_trace_length: number;
49831
+ subcircuit_id?: string | undefined;
49832
+ is_fatal?: boolean | undefined;
49833
+ } | {
49834
+ message: string;
49835
+ type: "pcb_bus_routing_constraint_error";
49836
+ error_type: "pcb_bus_routing_constraint_error";
49837
+ actual_trace_length: number;
49838
+ maximum_trace_length: number;
49839
+ source_bus_id: string;
49840
+ source_trace_ids: string[];
49841
+ pcb_trace_ids: string[];
49842
+ pcb_bus_routing_constraint_error_id: string;
49843
+ routing_rule: "max_length";
49844
+ subcircuit_id?: string | undefined;
49845
+ is_fatal?: boolean | undefined;
49846
+ } | {
49847
+ message: string;
49848
+ type: "pcb_bus_routing_constraint_error";
49849
+ error_type: "pcb_bus_routing_constraint_error";
49850
+ actual_trace_length: number;
49851
+ source_bus_id: string;
49852
+ source_trace_ids: string[];
49853
+ pcb_trace_ids: string[];
49854
+ pcb_bus_routing_constraint_error_id: string;
49855
+ routing_rule: "target_length";
49856
+ target_trace_length: number;
49857
+ length_tolerance: number;
49858
+ subcircuit_id?: string | undefined;
49859
+ is_fatal?: boolean | undefined;
49860
+ } | {
49861
+ message: string;
49862
+ type: "pcb_bus_routing_constraint_error";
49863
+ error_type: "pcb_bus_routing_constraint_error";
49864
+ source_bus_id: string;
49865
+ source_trace_ids: string[];
49866
+ pcb_trace_ids: string[];
49867
+ pcb_bus_routing_constraint_error_id: string;
49868
+ routing_rule: "pcb_trace_spacing";
49869
+ other_pcb_trace_id: string;
49870
+ actual_centerline_spacing: number;
49871
+ minimum_centerline_spacing: number;
49872
+ subcircuit_id?: string | undefined;
49873
+ is_fatal?: boolean | undefined;
49874
+ other_source_trace_id?: string | undefined;
49875
+ } | {
49876
+ message: string;
49877
+ type: "pcb_bus_routing_constraint_error";
49878
+ error_type: "pcb_bus_routing_constraint_error";
49879
+ source_bus_id: string;
49880
+ source_trace_ids: string[];
49881
+ pcb_trace_ids: string[];
49882
+ pcb_bus_routing_constraint_error_id: string;
49883
+ routing_rule: "pcb_spacing_to_other_signals";
49884
+ other_pcb_trace_id: string;
49885
+ actual_centerline_spacing: number;
49886
+ minimum_centerline_spacing: number;
49887
+ subcircuit_id?: string | undefined;
49888
+ is_fatal?: boolean | undefined;
49889
+ other_source_trace_id?: string | undefined;
49890
+ } | {
49891
+ message: string;
49892
+ type: "pcb_bus_routing_constraint_error";
49893
+ error_type: "pcb_bus_routing_constraint_error";
49894
+ source_bus_id: string;
49895
+ source_trace_ids: string[];
49896
+ pcb_trace_ids: string[];
49897
+ pcb_bus_routing_constraint_error_id: string;
49898
+ routing_rule: "impedance_target";
49899
+ target_impedance: number;
49900
+ subcircuit_id?: string | undefined;
49901
+ is_fatal?: boolean | undefined;
49902
+ minimum_impedance?: number | undefined;
49903
+ maximum_impedance?: number | undefined;
49904
+ }, {
49905
+ message: string;
49906
+ type: "pcb_bus_routing_constraint_error";
49907
+ source_bus_id: string;
49908
+ source_trace_ids: string[];
49909
+ pcb_trace_ids: string[];
49910
+ actual_length_skew: number;
49911
+ maximum_length_skew: number;
49912
+ routing_rule: "length_skew";
49913
+ subcircuit_id?: string | undefined;
49914
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49915
+ is_fatal?: boolean | undefined;
49916
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49917
+ } | {
49918
+ message: string;
49919
+ type: "pcb_bus_routing_constraint_error";
49920
+ actual_trace_length: number;
49921
+ source_bus_id: string;
49922
+ source_trace_ids: string[];
49923
+ pcb_trace_ids: string[];
49924
+ routing_rule: "min_length";
49925
+ minimum_trace_length: number;
49926
+ subcircuit_id?: string | undefined;
49927
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49928
+ is_fatal?: boolean | undefined;
49929
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49930
+ } | {
49931
+ message: string;
49932
+ type: "pcb_bus_routing_constraint_error";
49933
+ actual_trace_length: number;
49934
+ maximum_trace_length: number;
49935
+ source_bus_id: string;
49936
+ source_trace_ids: string[];
49937
+ pcb_trace_ids: string[];
49938
+ routing_rule: "max_length";
49939
+ subcircuit_id?: string | undefined;
49940
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49941
+ is_fatal?: boolean | undefined;
49942
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49943
+ } | {
49944
+ message: string;
49945
+ type: "pcb_bus_routing_constraint_error";
49946
+ actual_trace_length: number;
49947
+ source_bus_id: string;
49948
+ source_trace_ids: string[];
49949
+ pcb_trace_ids: string[];
49950
+ routing_rule: "target_length";
49951
+ target_trace_length: number;
49952
+ length_tolerance: number;
49953
+ subcircuit_id?: string | undefined;
49954
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49955
+ is_fatal?: boolean | undefined;
49956
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49957
+ } | {
49958
+ message: string;
49959
+ type: "pcb_bus_routing_constraint_error";
49960
+ source_bus_id: string;
49961
+ source_trace_ids: string[];
49962
+ pcb_trace_ids: string[];
49963
+ routing_rule: "pcb_trace_spacing";
49964
+ other_pcb_trace_id: string;
49965
+ actual_centerline_spacing: number;
49966
+ minimum_centerline_spacing: number;
49967
+ subcircuit_id?: string | undefined;
49968
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49969
+ is_fatal?: boolean | undefined;
49970
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49971
+ other_source_trace_id?: string | undefined;
49972
+ } | {
49973
+ message: string;
49974
+ type: "pcb_bus_routing_constraint_error";
49975
+ source_bus_id: string;
49976
+ source_trace_ids: string[];
49977
+ pcb_trace_ids: string[];
49978
+ routing_rule: "pcb_spacing_to_other_signals";
49979
+ other_pcb_trace_id: string;
49980
+ actual_centerline_spacing: number;
49981
+ minimum_centerline_spacing: number;
49982
+ subcircuit_id?: string | undefined;
49983
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49984
+ is_fatal?: boolean | undefined;
49985
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49986
+ other_source_trace_id?: string | undefined;
49987
+ } | {
49988
+ message: string;
49989
+ type: "pcb_bus_routing_constraint_error";
49990
+ source_bus_id: string;
49991
+ source_trace_ids: string[];
49992
+ pcb_trace_ids: string[];
49993
+ routing_rule: "impedance_target";
49994
+ target_impedance: number;
49995
+ subcircuit_id?: string | undefined;
49996
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
49997
+ is_fatal?: boolean | undefined;
49998
+ pcb_bus_routing_constraint_error_id?: string | undefined;
49999
+ minimum_impedance?: number | undefined;
50000
+ maximum_impedance?: number | undefined;
50001
+ }>, z.ZodDiscriminatedUnion<"routing_rule", [z.ZodObject<{
50002
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
50003
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
50004
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
50005
+ source_bus_id: z.ZodString;
50006
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
50007
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
50008
+ message: z.ZodString;
50009
+ subcircuit_id: z.ZodOptional<z.ZodString>;
50010
+ } & {
50011
+ routing_rule: z.ZodLiteral<"route_geometry">;
50012
+ }, "strip", z.ZodTypeAny, {
50013
+ message: string;
50014
+ type: "pcb_bus_routing_constraint_warning";
50015
+ warning_type: "pcb_bus_routing_constraint_warning";
50016
+ source_bus_id: string;
50017
+ source_trace_ids: string[];
50018
+ pcb_trace_ids: string[];
50019
+ routing_rule: "route_geometry";
50020
+ pcb_bus_routing_constraint_warning_id: string;
50021
+ subcircuit_id?: string | undefined;
50022
+ }, {
50023
+ message: string;
50024
+ type: "pcb_bus_routing_constraint_warning";
50025
+ source_bus_id: string;
50026
+ source_trace_ids: string[];
50027
+ pcb_trace_ids: string[];
50028
+ routing_rule: "route_geometry";
50029
+ subcircuit_id?: string | undefined;
50030
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
50031
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
50032
+ }>, z.ZodObject<{
50033
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
50034
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
50035
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
50036
+ source_bus_id: z.ZodString;
50037
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
50038
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
50039
+ message: z.ZodString;
50040
+ subcircuit_id: z.ZodOptional<z.ZodString>;
50041
+ } & {
50042
+ routing_rule: z.ZodLiteral<"reference_geometry">;
50043
+ }, "strip", z.ZodTypeAny, {
50044
+ message: string;
50045
+ type: "pcb_bus_routing_constraint_warning";
50046
+ warning_type: "pcb_bus_routing_constraint_warning";
50047
+ source_bus_id: string;
50048
+ source_trace_ids: string[];
50049
+ pcb_trace_ids: string[];
50050
+ routing_rule: "reference_geometry";
50051
+ pcb_bus_routing_constraint_warning_id: string;
50052
+ subcircuit_id?: string | undefined;
50053
+ }, {
50054
+ message: string;
50055
+ type: "pcb_bus_routing_constraint_warning";
50056
+ source_bus_id: string;
50057
+ source_trace_ids: string[];
50058
+ pcb_trace_ids: string[];
50059
+ routing_rule: "reference_geometry";
50060
+ subcircuit_id?: string | undefined;
50061
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
50062
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
50063
+ }>, z.ZodObject<{
50064
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
50065
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
50066
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
50067
+ source_bus_id: z.ZodString;
50068
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
50069
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
50070
+ message: z.ZodString;
50071
+ subcircuit_id: z.ZodOptional<z.ZodString>;
50072
+ } & {
50073
+ routing_rule: z.ZodLiteral<"spacing_geometry">;
50074
+ }, "strip", z.ZodTypeAny, {
50075
+ message: string;
50076
+ type: "pcb_bus_routing_constraint_warning";
50077
+ warning_type: "pcb_bus_routing_constraint_warning";
50078
+ source_bus_id: string;
50079
+ source_trace_ids: string[];
50080
+ pcb_trace_ids: string[];
50081
+ routing_rule: "spacing_geometry";
50082
+ pcb_bus_routing_constraint_warning_id: string;
50083
+ subcircuit_id?: string | undefined;
50084
+ }, {
50085
+ message: string;
50086
+ type: "pcb_bus_routing_constraint_warning";
50087
+ source_bus_id: string;
50088
+ source_trace_ids: string[];
50089
+ pcb_trace_ids: string[];
50090
+ routing_rule: "spacing_geometry";
50091
+ subcircuit_id?: string | undefined;
50092
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
50093
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
50094
+ }>, z.ZodObject<{
50095
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
50096
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
50097
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
50098
+ source_bus_id: z.ZodString;
50099
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
50100
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
50101
+ message: z.ZodString;
50102
+ subcircuit_id: z.ZodOptional<z.ZodString>;
50103
+ } & {
50104
+ routing_rule: z.ZodLiteral<"target_length">;
50105
+ }, "strip", z.ZodTypeAny, {
50106
+ message: string;
50107
+ type: "pcb_bus_routing_constraint_warning";
50108
+ warning_type: "pcb_bus_routing_constraint_warning";
50109
+ source_bus_id: string;
50110
+ source_trace_ids: string[];
50111
+ pcb_trace_ids: string[];
50112
+ routing_rule: "target_length";
50113
+ pcb_bus_routing_constraint_warning_id: string;
50114
+ subcircuit_id?: string | undefined;
50115
+ }, {
50116
+ message: string;
50117
+ type: "pcb_bus_routing_constraint_warning";
50118
+ source_bus_id: string;
50119
+ source_trace_ids: string[];
50120
+ pcb_trace_ids: string[];
50121
+ routing_rule: "target_length";
50122
+ subcircuit_id?: string | undefined;
50123
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
50124
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
50125
+ }>, z.ZodObject<{
50126
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
50127
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
50128
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
50129
+ source_bus_id: z.ZodString;
50130
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
50131
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
50132
+ message: z.ZodString;
50133
+ subcircuit_id: z.ZodOptional<z.ZodString>;
50134
+ } & {
50135
+ routing_rule: z.ZodLiteral<"physical_impedance">;
50136
+ }, "strip", z.ZodTypeAny, {
50137
+ message: string;
50138
+ type: "pcb_bus_routing_constraint_warning";
50139
+ warning_type: "pcb_bus_routing_constraint_warning";
50140
+ source_bus_id: string;
50141
+ source_trace_ids: string[];
50142
+ pcb_trace_ids: string[];
50143
+ routing_rule: "physical_impedance";
50144
+ pcb_bus_routing_constraint_warning_id: string;
50145
+ subcircuit_id?: string | undefined;
50146
+ }, {
50147
+ message: string;
50148
+ type: "pcb_bus_routing_constraint_warning";
50149
+ source_bus_id: string;
50150
+ source_trace_ids: string[];
50151
+ pcb_trace_ids: string[];
50152
+ routing_rule: "physical_impedance";
50153
+ subcircuit_id?: string | undefined;
50154
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
50155
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
48060
50156
  }>]>, z.ZodObject<{
48061
50157
  message: z.ZodString;
48062
50158
  is_fatal: z.ZodOptional<z.ZodBoolean>;
@@ -60233,9 +62329,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60233
62329
  connected_source_net_ids: string[];
60234
62330
  name?: string | undefined;
60235
62331
  subcircuit_id?: string | undefined;
62332
+ max_length?: number | undefined;
60236
62333
  subcircuit_connectivity_map_key?: string | undefined;
60237
62334
  display_name?: string | undefined;
60238
- max_length?: number | undefined;
60239
62335
  max_via_count?: number | undefined;
60240
62336
  min_trace_thickness?: number | undefined;
60241
62337
  }, {
@@ -60245,9 +62341,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60245
62341
  connected_source_net_ids: string[];
60246
62342
  name?: string | undefined;
60247
62343
  subcircuit_id?: string | undefined;
62344
+ max_length?: number | undefined;
60248
62345
  subcircuit_connectivity_map_key?: string | undefined;
60249
62346
  display_name?: string | undefined;
60250
- max_length?: number | undefined;
60251
62347
  max_via_count?: number | undefined;
60252
62348
  min_trace_thickness?: number | undefined;
60253
62349
  }>, z.ZodObject<{
@@ -60256,6 +62352,83 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60256
62352
  name: z.ZodOptional<z.ZodString>;
60257
62353
  source_trace_ids: z.ZodArray<z.ZodString, "many">;
60258
62354
  max_length_skew: z.ZodOptional<z.ZodNumber>;
62355
+ target_impedance: z.ZodOptional<z.ZodNumber>;
62356
+ target_differential_impedance: z.ZodOptional<z.ZodNumber>;
62357
+ differential_pair: z.ZodOptional<z.ZodObject<{
62358
+ positive_source_trace_id: z.ZodString;
62359
+ negative_source_trace_id: z.ZodString;
62360
+ trace_gap: z.ZodOptional<z.ZodNumber>;
62361
+ max_uncoupled_length: z.ZodOptional<z.ZodNumber>;
62362
+ }, "strip", z.ZodTypeAny, {
62363
+ positive_source_trace_id: string;
62364
+ negative_source_trace_id: string;
62365
+ trace_gap?: number | undefined;
62366
+ max_uncoupled_length?: number | undefined;
62367
+ }, {
62368
+ positive_source_trace_id: string;
62369
+ negative_source_trace_id: string;
62370
+ trace_gap?: number | undefined;
62371
+ max_uncoupled_length?: number | undefined;
62372
+ }>>;
62373
+ length_match_source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62374
+ min_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
62375
+ reference: z.ZodLiteral<"longest_manhattan">;
62376
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62377
+ offset: z.ZodOptional<z.ZodNumber>;
62378
+ }, "strip", z.ZodTypeAny, {
62379
+ reference: "longest_manhattan";
62380
+ offset?: number | undefined;
62381
+ source_trace_ids?: string[] | undefined;
62382
+ }, {
62383
+ reference: "longest_manhattan";
62384
+ offset?: number | undefined;
62385
+ source_trace_ids?: string[] | undefined;
62386
+ }>]>>;
62387
+ max_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
62388
+ reference: z.ZodLiteral<"longest_manhattan">;
62389
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62390
+ offset: z.ZodOptional<z.ZodNumber>;
62391
+ }, "strip", z.ZodTypeAny, {
62392
+ reference: "longest_manhattan";
62393
+ offset?: number | undefined;
62394
+ source_trace_ids?: string[] | undefined;
62395
+ }, {
62396
+ reference: "longest_manhattan";
62397
+ offset?: number | undefined;
62398
+ source_trace_ids?: string[] | undefined;
62399
+ }>]>>;
62400
+ target_length: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
62401
+ reference: z.ZodLiteral<"longest_manhattan">;
62402
+ source_trace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62403
+ offset: z.ZodOptional<z.ZodNumber>;
62404
+ }, "strip", z.ZodTypeAny, {
62405
+ reference: "longest_manhattan";
62406
+ offset?: number | undefined;
62407
+ source_trace_ids?: string[] | undefined;
62408
+ }, {
62409
+ reference: "longest_manhattan";
62410
+ offset?: number | undefined;
62411
+ source_trace_ids?: string[] | undefined;
62412
+ }>]>>;
62413
+ length_tolerance: z.ZodOptional<z.ZodNumber>;
62414
+ pcb_trace_spacing: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
62415
+ width_multiplier: z.ZodNumber;
62416
+ }, "strip", z.ZodTypeAny, {
62417
+ width_multiplier: number;
62418
+ }, {
62419
+ width_multiplier: number;
62420
+ }>]>>;
62421
+ pcb_spacing_to_other_signals: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
62422
+ width_multiplier: z.ZodNumber;
62423
+ }, "strip", z.ZodTypeAny, {
62424
+ width_multiplier: number;
62425
+ }, {
62426
+ width_multiplier: number;
62427
+ }>]>>;
62428
+ target_impedance_min: z.ZodOptional<z.ZodNumber>;
62429
+ target_impedance_max: z.ZodOptional<z.ZodNumber>;
62430
+ target_differential_impedance_min: z.ZodOptional<z.ZodNumber>;
62431
+ target_differential_impedance_max: z.ZodOptional<z.ZodNumber>;
60259
62432
  subcircuit_id: z.ZodOptional<z.ZodString>;
60260
62433
  }, "strip", z.ZodTypeAny, {
60261
62434
  type: "source_bus";
@@ -60263,14 +62436,84 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60263
62436
  source_trace_ids: string[];
60264
62437
  name?: string | undefined;
60265
62438
  subcircuit_id?: string | undefined;
62439
+ min_length?: number | {
62440
+ reference: "longest_manhattan";
62441
+ offset?: number | undefined;
62442
+ source_trace_ids?: string[] | undefined;
62443
+ } | undefined;
62444
+ max_length?: number | {
62445
+ reference: "longest_manhattan";
62446
+ offset?: number | undefined;
62447
+ source_trace_ids?: string[] | undefined;
62448
+ } | undefined;
62449
+ target_length?: number | {
62450
+ reference: "longest_manhattan";
62451
+ offset?: number | undefined;
62452
+ source_trace_ids?: string[] | undefined;
62453
+ } | undefined;
62454
+ pcb_trace_spacing?: number | {
62455
+ width_multiplier: number;
62456
+ } | undefined;
62457
+ pcb_spacing_to_other_signals?: number | {
62458
+ width_multiplier: number;
62459
+ } | undefined;
62460
+ length_tolerance?: number | undefined;
62461
+ target_impedance?: number | undefined;
60266
62462
  max_length_skew?: number | undefined;
62463
+ target_differential_impedance?: number | undefined;
62464
+ differential_pair?: {
62465
+ positive_source_trace_id: string;
62466
+ negative_source_trace_id: string;
62467
+ trace_gap?: number | undefined;
62468
+ max_uncoupled_length?: number | undefined;
62469
+ } | undefined;
62470
+ length_match_source_trace_ids?: string[] | undefined;
62471
+ target_impedance_min?: number | undefined;
62472
+ target_impedance_max?: number | undefined;
62473
+ target_differential_impedance_min?: number | undefined;
62474
+ target_differential_impedance_max?: number | undefined;
60267
62475
  }, {
60268
62476
  type: "source_bus";
60269
62477
  source_bus_id: string;
60270
62478
  source_trace_ids: string[];
60271
62479
  name?: string | undefined;
60272
62480
  subcircuit_id?: string | undefined;
62481
+ min_length?: number | {
62482
+ reference: "longest_manhattan";
62483
+ offset?: number | undefined;
62484
+ source_trace_ids?: string[] | undefined;
62485
+ } | undefined;
62486
+ max_length?: number | {
62487
+ reference: "longest_manhattan";
62488
+ offset?: number | undefined;
62489
+ source_trace_ids?: string[] | undefined;
62490
+ } | undefined;
62491
+ target_length?: number | {
62492
+ reference: "longest_manhattan";
62493
+ offset?: number | undefined;
62494
+ source_trace_ids?: string[] | undefined;
62495
+ } | undefined;
62496
+ pcb_trace_spacing?: number | {
62497
+ width_multiplier: number;
62498
+ } | undefined;
62499
+ pcb_spacing_to_other_signals?: number | {
62500
+ width_multiplier: number;
62501
+ } | undefined;
62502
+ length_tolerance?: number | undefined;
62503
+ target_impedance?: number | undefined;
60273
62504
  max_length_skew?: number | undefined;
62505
+ target_differential_impedance?: number | undefined;
62506
+ differential_pair?: {
62507
+ positive_source_trace_id: string;
62508
+ negative_source_trace_id: string;
62509
+ trace_gap?: number | undefined;
62510
+ max_uncoupled_length?: number | undefined;
62511
+ } | undefined;
62512
+ length_match_source_trace_ids?: string[] | undefined;
62513
+ target_impedance_min?: number | undefined;
62514
+ target_impedance_max?: number | undefined;
62515
+ target_differential_impedance_min?: number | undefined;
62516
+ target_differential_impedance_max?: number | undefined;
60274
62517
  }>, z.ZodObject<{
60275
62518
  type: z.ZodLiteral<"source_port">;
60276
62519
  pin_number: z.ZodOptional<z.ZodNumber>;
@@ -60786,6 +63029,126 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60786
63029
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
60787
63030
  source_group_id: z.ZodOptional<z.ZodString>;
60788
63031
  subcircuit_id: z.ZodOptional<z.ZodString>;
63032
+ } & {
63033
+ ftype: z.ZodLiteral<"printedpart">;
63034
+ }, "strip", z.ZodTypeAny, {
63035
+ type: "source_component";
63036
+ name: string;
63037
+ source_component_id: string;
63038
+ ftype: "printedpart";
63039
+ subcircuit_id?: string | undefined;
63040
+ source_group_id?: string | undefined;
63041
+ display_name?: string | undefined;
63042
+ manufacturer_part_number?: string | undefined;
63043
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
63044
+ display_value?: string | undefined;
63045
+ are_pins_interchangeable?: boolean | undefined;
63046
+ internally_connected_source_port_ids?: string[][] | undefined;
63047
+ }, {
63048
+ type: "source_component";
63049
+ name: string;
63050
+ source_component_id: string;
63051
+ ftype: "printedpart";
63052
+ subcircuit_id?: string | undefined;
63053
+ source_group_id?: string | undefined;
63054
+ display_name?: string | undefined;
63055
+ manufacturer_part_number?: string | undefined;
63056
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
63057
+ display_value?: string | undefined;
63058
+ are_pins_interchangeable?: boolean | undefined;
63059
+ internally_connected_source_port_ids?: string[][] | undefined;
63060
+ }>, z.ZodObject<{
63061
+ type: z.ZodLiteral<"source_component">;
63062
+ source_component_id: z.ZodString;
63063
+ name: z.ZodString;
63064
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
63065
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
63066
+ display_value: z.ZodOptional<z.ZodString>;
63067
+ display_name: z.ZodOptional<z.ZodString>;
63068
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
63069
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
63070
+ source_group_id: z.ZodOptional<z.ZodString>;
63071
+ subcircuit_id: z.ZodOptional<z.ZodString>;
63072
+ } & {
63073
+ ftype: z.ZodLiteral<"subassembly">;
63074
+ }, "strip", z.ZodTypeAny, {
63075
+ type: "source_component";
63076
+ name: string;
63077
+ source_component_id: string;
63078
+ ftype: "subassembly";
63079
+ subcircuit_id?: string | undefined;
63080
+ source_group_id?: string | undefined;
63081
+ display_name?: string | undefined;
63082
+ manufacturer_part_number?: string | undefined;
63083
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
63084
+ display_value?: string | undefined;
63085
+ are_pins_interchangeable?: boolean | undefined;
63086
+ internally_connected_source_port_ids?: string[][] | undefined;
63087
+ }, {
63088
+ type: "source_component";
63089
+ name: string;
63090
+ source_component_id: string;
63091
+ ftype: "subassembly";
63092
+ subcircuit_id?: string | undefined;
63093
+ source_group_id?: string | undefined;
63094
+ display_name?: string | undefined;
63095
+ manufacturer_part_number?: string | undefined;
63096
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
63097
+ display_value?: string | undefined;
63098
+ are_pins_interchangeable?: boolean | undefined;
63099
+ internally_connected_source_port_ids?: string[][] | undefined;
63100
+ }>, z.ZodObject<{
63101
+ type: z.ZodLiteral<"source_component">;
63102
+ source_component_id: z.ZodString;
63103
+ name: z.ZodString;
63104
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
63105
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
63106
+ display_value: z.ZodOptional<z.ZodString>;
63107
+ display_name: z.ZodOptional<z.ZodString>;
63108
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
63109
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
63110
+ source_group_id: z.ZodOptional<z.ZodString>;
63111
+ subcircuit_id: z.ZodOptional<z.ZodString>;
63112
+ } & {
63113
+ ftype: z.ZodLiteral<"motor">;
63114
+ }, "strip", z.ZodTypeAny, {
63115
+ type: "source_component";
63116
+ name: string;
63117
+ source_component_id: string;
63118
+ ftype: "motor";
63119
+ subcircuit_id?: string | undefined;
63120
+ source_group_id?: string | undefined;
63121
+ display_name?: string | undefined;
63122
+ manufacturer_part_number?: string | undefined;
63123
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
63124
+ display_value?: string | undefined;
63125
+ are_pins_interchangeable?: boolean | undefined;
63126
+ internally_connected_source_port_ids?: string[][] | undefined;
63127
+ }, {
63128
+ type: "source_component";
63129
+ name: string;
63130
+ source_component_id: string;
63131
+ ftype: "motor";
63132
+ subcircuit_id?: string | undefined;
63133
+ source_group_id?: string | undefined;
63134
+ display_name?: string | undefined;
63135
+ manufacturer_part_number?: string | undefined;
63136
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
63137
+ display_value?: string | undefined;
63138
+ are_pins_interchangeable?: boolean | undefined;
63139
+ internally_connected_source_port_ids?: string[][] | undefined;
63140
+ }>, z.ZodObject<{
63141
+ type: z.ZodLiteral<"source_component">;
63142
+ source_component_id: z.ZodString;
63143
+ name: z.ZodString;
63144
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
63145
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
63146
+ display_value: z.ZodOptional<z.ZodString>;
63147
+ display_name: z.ZodOptional<z.ZodString>;
63148
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
63149
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
63150
+ source_group_id: z.ZodOptional<z.ZodString>;
63151
+ subcircuit_id: z.ZodOptional<z.ZodString>;
60789
63152
  } & {
60790
63153
  ftype: z.ZodLiteral<"simple_power_source">;
60791
63154
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -69661,6 +72024,660 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69661
72024
  url: string;
69662
72025
  mimetype: string;
69663
72026
  } | undefined;
72027
+ }>]>, z.ZodEffects<z.ZodDiscriminatedUnion<"routing_rule", [z.ZodObject<{
72028
+ message: z.ZodString;
72029
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72030
+ } & {
72031
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72032
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72033
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72034
+ source_bus_id: z.ZodString;
72035
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72036
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72037
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72038
+ } & {
72039
+ routing_rule: z.ZodLiteral<"length_skew">;
72040
+ actual_length_skew: z.ZodNumber;
72041
+ maximum_length_skew: z.ZodNumber;
72042
+ }, "strip", z.ZodTypeAny, {
72043
+ message: string;
72044
+ type: "pcb_bus_routing_constraint_error";
72045
+ error_type: "pcb_bus_routing_constraint_error";
72046
+ source_bus_id: string;
72047
+ source_trace_ids: string[];
72048
+ pcb_trace_ids: string[];
72049
+ actual_length_skew: number;
72050
+ maximum_length_skew: number;
72051
+ pcb_bus_routing_constraint_error_id: string;
72052
+ routing_rule: "length_skew";
72053
+ subcircuit_id?: string | undefined;
72054
+ is_fatal?: boolean | undefined;
72055
+ }, {
72056
+ message: string;
72057
+ type: "pcb_bus_routing_constraint_error";
72058
+ source_bus_id: string;
72059
+ source_trace_ids: string[];
72060
+ pcb_trace_ids: string[];
72061
+ actual_length_skew: number;
72062
+ maximum_length_skew: number;
72063
+ routing_rule: "length_skew";
72064
+ subcircuit_id?: string | undefined;
72065
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72066
+ is_fatal?: boolean | undefined;
72067
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72068
+ }>, z.ZodObject<{
72069
+ message: z.ZodString;
72070
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72071
+ } & {
72072
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72073
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72074
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72075
+ source_bus_id: z.ZodString;
72076
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72077
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72078
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72079
+ } & {
72080
+ routing_rule: z.ZodLiteral<"min_length">;
72081
+ actual_trace_length: z.ZodNumber;
72082
+ minimum_trace_length: z.ZodNumber;
72083
+ }, "strip", z.ZodTypeAny, {
72084
+ message: string;
72085
+ type: "pcb_bus_routing_constraint_error";
72086
+ error_type: "pcb_bus_routing_constraint_error";
72087
+ actual_trace_length: number;
72088
+ source_bus_id: string;
72089
+ source_trace_ids: string[];
72090
+ pcb_trace_ids: string[];
72091
+ pcb_bus_routing_constraint_error_id: string;
72092
+ routing_rule: "min_length";
72093
+ minimum_trace_length: number;
72094
+ subcircuit_id?: string | undefined;
72095
+ is_fatal?: boolean | undefined;
72096
+ }, {
72097
+ message: string;
72098
+ type: "pcb_bus_routing_constraint_error";
72099
+ actual_trace_length: number;
72100
+ source_bus_id: string;
72101
+ source_trace_ids: string[];
72102
+ pcb_trace_ids: string[];
72103
+ routing_rule: "min_length";
72104
+ minimum_trace_length: number;
72105
+ subcircuit_id?: string | undefined;
72106
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72107
+ is_fatal?: boolean | undefined;
72108
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72109
+ }>, z.ZodObject<{
72110
+ message: z.ZodString;
72111
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72112
+ } & {
72113
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72114
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72115
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72116
+ source_bus_id: z.ZodString;
72117
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72118
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72119
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72120
+ } & {
72121
+ routing_rule: z.ZodLiteral<"max_length">;
72122
+ actual_trace_length: z.ZodNumber;
72123
+ maximum_trace_length: z.ZodNumber;
72124
+ }, "strip", z.ZodTypeAny, {
72125
+ message: string;
72126
+ type: "pcb_bus_routing_constraint_error";
72127
+ error_type: "pcb_bus_routing_constraint_error";
72128
+ actual_trace_length: number;
72129
+ maximum_trace_length: number;
72130
+ source_bus_id: string;
72131
+ source_trace_ids: string[];
72132
+ pcb_trace_ids: string[];
72133
+ pcb_bus_routing_constraint_error_id: string;
72134
+ routing_rule: "max_length";
72135
+ subcircuit_id?: string | undefined;
72136
+ is_fatal?: boolean | undefined;
72137
+ }, {
72138
+ message: string;
72139
+ type: "pcb_bus_routing_constraint_error";
72140
+ actual_trace_length: number;
72141
+ maximum_trace_length: number;
72142
+ source_bus_id: string;
72143
+ source_trace_ids: string[];
72144
+ pcb_trace_ids: string[];
72145
+ routing_rule: "max_length";
72146
+ subcircuit_id?: string | undefined;
72147
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72148
+ is_fatal?: boolean | undefined;
72149
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72150
+ }>, z.ZodObject<{
72151
+ message: z.ZodString;
72152
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72153
+ } & {
72154
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72155
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72156
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72157
+ source_bus_id: z.ZodString;
72158
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72159
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72160
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72161
+ } & {
72162
+ routing_rule: z.ZodLiteral<"target_length">;
72163
+ actual_trace_length: z.ZodNumber;
72164
+ target_trace_length: z.ZodNumber;
72165
+ length_tolerance: z.ZodNumber;
72166
+ }, "strip", z.ZodTypeAny, {
72167
+ message: string;
72168
+ type: "pcb_bus_routing_constraint_error";
72169
+ error_type: "pcb_bus_routing_constraint_error";
72170
+ actual_trace_length: number;
72171
+ source_bus_id: string;
72172
+ source_trace_ids: string[];
72173
+ pcb_trace_ids: string[];
72174
+ pcb_bus_routing_constraint_error_id: string;
72175
+ routing_rule: "target_length";
72176
+ target_trace_length: number;
72177
+ length_tolerance: number;
72178
+ subcircuit_id?: string | undefined;
72179
+ is_fatal?: boolean | undefined;
72180
+ }, {
72181
+ message: string;
72182
+ type: "pcb_bus_routing_constraint_error";
72183
+ actual_trace_length: number;
72184
+ source_bus_id: string;
72185
+ source_trace_ids: string[];
72186
+ pcb_trace_ids: string[];
72187
+ routing_rule: "target_length";
72188
+ target_trace_length: number;
72189
+ length_tolerance: number;
72190
+ subcircuit_id?: string | undefined;
72191
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72192
+ is_fatal?: boolean | undefined;
72193
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72194
+ }>, z.ZodObject<{
72195
+ message: z.ZodString;
72196
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72197
+ } & {
72198
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72199
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72200
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72201
+ source_bus_id: z.ZodString;
72202
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72203
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72204
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72205
+ } & {
72206
+ routing_rule: z.ZodLiteral<"pcb_trace_spacing">;
72207
+ other_pcb_trace_id: z.ZodString;
72208
+ other_source_trace_id: z.ZodOptional<z.ZodString>;
72209
+ actual_centerline_spacing: z.ZodNumber;
72210
+ minimum_centerline_spacing: z.ZodNumber;
72211
+ }, "strip", z.ZodTypeAny, {
72212
+ message: string;
72213
+ type: "pcb_bus_routing_constraint_error";
72214
+ error_type: "pcb_bus_routing_constraint_error";
72215
+ source_bus_id: string;
72216
+ source_trace_ids: string[];
72217
+ pcb_trace_ids: string[];
72218
+ pcb_bus_routing_constraint_error_id: string;
72219
+ routing_rule: "pcb_trace_spacing";
72220
+ other_pcb_trace_id: string;
72221
+ actual_centerline_spacing: number;
72222
+ minimum_centerline_spacing: number;
72223
+ subcircuit_id?: string | undefined;
72224
+ is_fatal?: boolean | undefined;
72225
+ other_source_trace_id?: string | undefined;
72226
+ }, {
72227
+ message: string;
72228
+ type: "pcb_bus_routing_constraint_error";
72229
+ source_bus_id: string;
72230
+ source_trace_ids: string[];
72231
+ pcb_trace_ids: string[];
72232
+ routing_rule: "pcb_trace_spacing";
72233
+ other_pcb_trace_id: string;
72234
+ actual_centerline_spacing: number;
72235
+ minimum_centerline_spacing: number;
72236
+ subcircuit_id?: string | undefined;
72237
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72238
+ is_fatal?: boolean | undefined;
72239
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72240
+ other_source_trace_id?: string | undefined;
72241
+ }>, z.ZodObject<{
72242
+ message: z.ZodString;
72243
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72244
+ } & {
72245
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72246
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72247
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72248
+ source_bus_id: z.ZodString;
72249
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72250
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72251
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72252
+ } & {
72253
+ routing_rule: z.ZodLiteral<"pcb_spacing_to_other_signals">;
72254
+ other_pcb_trace_id: z.ZodString;
72255
+ other_source_trace_id: z.ZodOptional<z.ZodString>;
72256
+ actual_centerline_spacing: z.ZodNumber;
72257
+ minimum_centerline_spacing: z.ZodNumber;
72258
+ }, "strip", z.ZodTypeAny, {
72259
+ message: string;
72260
+ type: "pcb_bus_routing_constraint_error";
72261
+ error_type: "pcb_bus_routing_constraint_error";
72262
+ source_bus_id: string;
72263
+ source_trace_ids: string[];
72264
+ pcb_trace_ids: string[];
72265
+ pcb_bus_routing_constraint_error_id: string;
72266
+ routing_rule: "pcb_spacing_to_other_signals";
72267
+ other_pcb_trace_id: string;
72268
+ actual_centerline_spacing: number;
72269
+ minimum_centerline_spacing: number;
72270
+ subcircuit_id?: string | undefined;
72271
+ is_fatal?: boolean | undefined;
72272
+ other_source_trace_id?: string | undefined;
72273
+ }, {
72274
+ message: string;
72275
+ type: "pcb_bus_routing_constraint_error";
72276
+ source_bus_id: string;
72277
+ source_trace_ids: string[];
72278
+ pcb_trace_ids: string[];
72279
+ routing_rule: "pcb_spacing_to_other_signals";
72280
+ other_pcb_trace_id: string;
72281
+ actual_centerline_spacing: number;
72282
+ minimum_centerline_spacing: number;
72283
+ subcircuit_id?: string | undefined;
72284
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72285
+ is_fatal?: boolean | undefined;
72286
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72287
+ other_source_trace_id?: string | undefined;
72288
+ }>, z.ZodObject<{
72289
+ message: z.ZodString;
72290
+ is_fatal: z.ZodOptional<z.ZodBoolean>;
72291
+ } & {
72292
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_error">;
72293
+ pcb_bus_routing_constraint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72294
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_error">>;
72295
+ source_bus_id: z.ZodString;
72296
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72297
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72298
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72299
+ } & {
72300
+ routing_rule: z.ZodLiteral<"impedance_target">;
72301
+ target_impedance: z.ZodNumber;
72302
+ minimum_impedance: z.ZodOptional<z.ZodNumber>;
72303
+ maximum_impedance: z.ZodOptional<z.ZodNumber>;
72304
+ }, "strip", z.ZodTypeAny, {
72305
+ message: string;
72306
+ type: "pcb_bus_routing_constraint_error";
72307
+ error_type: "pcb_bus_routing_constraint_error";
72308
+ source_bus_id: string;
72309
+ source_trace_ids: string[];
72310
+ pcb_trace_ids: string[];
72311
+ pcb_bus_routing_constraint_error_id: string;
72312
+ routing_rule: "impedance_target";
72313
+ target_impedance: number;
72314
+ subcircuit_id?: string | undefined;
72315
+ is_fatal?: boolean | undefined;
72316
+ minimum_impedance?: number | undefined;
72317
+ maximum_impedance?: number | undefined;
72318
+ }, {
72319
+ message: string;
72320
+ type: "pcb_bus_routing_constraint_error";
72321
+ source_bus_id: string;
72322
+ source_trace_ids: string[];
72323
+ pcb_trace_ids: string[];
72324
+ routing_rule: "impedance_target";
72325
+ target_impedance: number;
72326
+ subcircuit_id?: string | undefined;
72327
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72328
+ is_fatal?: boolean | undefined;
72329
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72330
+ minimum_impedance?: number | undefined;
72331
+ maximum_impedance?: number | undefined;
72332
+ }>]>, {
72333
+ message: string;
72334
+ type: "pcb_bus_routing_constraint_error";
72335
+ error_type: "pcb_bus_routing_constraint_error";
72336
+ source_bus_id: string;
72337
+ source_trace_ids: string[];
72338
+ pcb_trace_ids: string[];
72339
+ actual_length_skew: number;
72340
+ maximum_length_skew: number;
72341
+ pcb_bus_routing_constraint_error_id: string;
72342
+ routing_rule: "length_skew";
72343
+ subcircuit_id?: string | undefined;
72344
+ is_fatal?: boolean | undefined;
72345
+ } | {
72346
+ message: string;
72347
+ type: "pcb_bus_routing_constraint_error";
72348
+ error_type: "pcb_bus_routing_constraint_error";
72349
+ actual_trace_length: number;
72350
+ source_bus_id: string;
72351
+ source_trace_ids: string[];
72352
+ pcb_trace_ids: string[];
72353
+ pcb_bus_routing_constraint_error_id: string;
72354
+ routing_rule: "min_length";
72355
+ minimum_trace_length: number;
72356
+ subcircuit_id?: string | undefined;
72357
+ is_fatal?: boolean | undefined;
72358
+ } | {
72359
+ message: string;
72360
+ type: "pcb_bus_routing_constraint_error";
72361
+ error_type: "pcb_bus_routing_constraint_error";
72362
+ actual_trace_length: number;
72363
+ maximum_trace_length: number;
72364
+ source_bus_id: string;
72365
+ source_trace_ids: string[];
72366
+ pcb_trace_ids: string[];
72367
+ pcb_bus_routing_constraint_error_id: string;
72368
+ routing_rule: "max_length";
72369
+ subcircuit_id?: string | undefined;
72370
+ is_fatal?: boolean | undefined;
72371
+ } | {
72372
+ message: string;
72373
+ type: "pcb_bus_routing_constraint_error";
72374
+ error_type: "pcb_bus_routing_constraint_error";
72375
+ actual_trace_length: number;
72376
+ source_bus_id: string;
72377
+ source_trace_ids: string[];
72378
+ pcb_trace_ids: string[];
72379
+ pcb_bus_routing_constraint_error_id: string;
72380
+ routing_rule: "target_length";
72381
+ target_trace_length: number;
72382
+ length_tolerance: number;
72383
+ subcircuit_id?: string | undefined;
72384
+ is_fatal?: boolean | undefined;
72385
+ } | {
72386
+ message: string;
72387
+ type: "pcb_bus_routing_constraint_error";
72388
+ error_type: "pcb_bus_routing_constraint_error";
72389
+ source_bus_id: string;
72390
+ source_trace_ids: string[];
72391
+ pcb_trace_ids: string[];
72392
+ pcb_bus_routing_constraint_error_id: string;
72393
+ routing_rule: "pcb_trace_spacing";
72394
+ other_pcb_trace_id: string;
72395
+ actual_centerline_spacing: number;
72396
+ minimum_centerline_spacing: number;
72397
+ subcircuit_id?: string | undefined;
72398
+ is_fatal?: boolean | undefined;
72399
+ other_source_trace_id?: string | undefined;
72400
+ } | {
72401
+ message: string;
72402
+ type: "pcb_bus_routing_constraint_error";
72403
+ error_type: "pcb_bus_routing_constraint_error";
72404
+ source_bus_id: string;
72405
+ source_trace_ids: string[];
72406
+ pcb_trace_ids: string[];
72407
+ pcb_bus_routing_constraint_error_id: string;
72408
+ routing_rule: "pcb_spacing_to_other_signals";
72409
+ other_pcb_trace_id: string;
72410
+ actual_centerline_spacing: number;
72411
+ minimum_centerline_spacing: number;
72412
+ subcircuit_id?: string | undefined;
72413
+ is_fatal?: boolean | undefined;
72414
+ other_source_trace_id?: string | undefined;
72415
+ } | {
72416
+ message: string;
72417
+ type: "pcb_bus_routing_constraint_error";
72418
+ error_type: "pcb_bus_routing_constraint_error";
72419
+ source_bus_id: string;
72420
+ source_trace_ids: string[];
72421
+ pcb_trace_ids: string[];
72422
+ pcb_bus_routing_constraint_error_id: string;
72423
+ routing_rule: "impedance_target";
72424
+ target_impedance: number;
72425
+ subcircuit_id?: string | undefined;
72426
+ is_fatal?: boolean | undefined;
72427
+ minimum_impedance?: number | undefined;
72428
+ maximum_impedance?: number | undefined;
72429
+ }, {
72430
+ message: string;
72431
+ type: "pcb_bus_routing_constraint_error";
72432
+ source_bus_id: string;
72433
+ source_trace_ids: string[];
72434
+ pcb_trace_ids: string[];
72435
+ actual_length_skew: number;
72436
+ maximum_length_skew: number;
72437
+ routing_rule: "length_skew";
72438
+ subcircuit_id?: string | undefined;
72439
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72440
+ is_fatal?: boolean | undefined;
72441
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72442
+ } | {
72443
+ message: string;
72444
+ type: "pcb_bus_routing_constraint_error";
72445
+ actual_trace_length: number;
72446
+ source_bus_id: string;
72447
+ source_trace_ids: string[];
72448
+ pcb_trace_ids: string[];
72449
+ routing_rule: "min_length";
72450
+ minimum_trace_length: number;
72451
+ subcircuit_id?: string | undefined;
72452
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72453
+ is_fatal?: boolean | undefined;
72454
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72455
+ } | {
72456
+ message: string;
72457
+ type: "pcb_bus_routing_constraint_error";
72458
+ actual_trace_length: number;
72459
+ maximum_trace_length: number;
72460
+ source_bus_id: string;
72461
+ source_trace_ids: string[];
72462
+ pcb_trace_ids: string[];
72463
+ routing_rule: "max_length";
72464
+ subcircuit_id?: string | undefined;
72465
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72466
+ is_fatal?: boolean | undefined;
72467
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72468
+ } | {
72469
+ message: string;
72470
+ type: "pcb_bus_routing_constraint_error";
72471
+ actual_trace_length: number;
72472
+ source_bus_id: string;
72473
+ source_trace_ids: string[];
72474
+ pcb_trace_ids: string[];
72475
+ routing_rule: "target_length";
72476
+ target_trace_length: number;
72477
+ length_tolerance: number;
72478
+ subcircuit_id?: string | undefined;
72479
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72480
+ is_fatal?: boolean | undefined;
72481
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72482
+ } | {
72483
+ message: string;
72484
+ type: "pcb_bus_routing_constraint_error";
72485
+ source_bus_id: string;
72486
+ source_trace_ids: string[];
72487
+ pcb_trace_ids: string[];
72488
+ routing_rule: "pcb_trace_spacing";
72489
+ other_pcb_trace_id: string;
72490
+ actual_centerline_spacing: number;
72491
+ minimum_centerline_spacing: number;
72492
+ subcircuit_id?: string | undefined;
72493
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72494
+ is_fatal?: boolean | undefined;
72495
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72496
+ other_source_trace_id?: string | undefined;
72497
+ } | {
72498
+ message: string;
72499
+ type: "pcb_bus_routing_constraint_error";
72500
+ source_bus_id: string;
72501
+ source_trace_ids: string[];
72502
+ pcb_trace_ids: string[];
72503
+ routing_rule: "pcb_spacing_to_other_signals";
72504
+ other_pcb_trace_id: string;
72505
+ actual_centerline_spacing: number;
72506
+ minimum_centerline_spacing: number;
72507
+ subcircuit_id?: string | undefined;
72508
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72509
+ is_fatal?: boolean | undefined;
72510
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72511
+ other_source_trace_id?: string | undefined;
72512
+ } | {
72513
+ message: string;
72514
+ type: "pcb_bus_routing_constraint_error";
72515
+ source_bus_id: string;
72516
+ source_trace_ids: string[];
72517
+ pcb_trace_ids: string[];
72518
+ routing_rule: "impedance_target";
72519
+ target_impedance: number;
72520
+ subcircuit_id?: string | undefined;
72521
+ error_type?: "pcb_bus_routing_constraint_error" | undefined;
72522
+ is_fatal?: boolean | undefined;
72523
+ pcb_bus_routing_constraint_error_id?: string | undefined;
72524
+ minimum_impedance?: number | undefined;
72525
+ maximum_impedance?: number | undefined;
72526
+ }>, z.ZodDiscriminatedUnion<"routing_rule", [z.ZodObject<{
72527
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
72528
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72529
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
72530
+ source_bus_id: z.ZodString;
72531
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72532
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72533
+ message: z.ZodString;
72534
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72535
+ } & {
72536
+ routing_rule: z.ZodLiteral<"route_geometry">;
72537
+ }, "strip", z.ZodTypeAny, {
72538
+ message: string;
72539
+ type: "pcb_bus_routing_constraint_warning";
72540
+ warning_type: "pcb_bus_routing_constraint_warning";
72541
+ source_bus_id: string;
72542
+ source_trace_ids: string[];
72543
+ pcb_trace_ids: string[];
72544
+ routing_rule: "route_geometry";
72545
+ pcb_bus_routing_constraint_warning_id: string;
72546
+ subcircuit_id?: string | undefined;
72547
+ }, {
72548
+ message: string;
72549
+ type: "pcb_bus_routing_constraint_warning";
72550
+ source_bus_id: string;
72551
+ source_trace_ids: string[];
72552
+ pcb_trace_ids: string[];
72553
+ routing_rule: "route_geometry";
72554
+ subcircuit_id?: string | undefined;
72555
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
72556
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
72557
+ }>, z.ZodObject<{
72558
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
72559
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72560
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
72561
+ source_bus_id: z.ZodString;
72562
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72563
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72564
+ message: z.ZodString;
72565
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72566
+ } & {
72567
+ routing_rule: z.ZodLiteral<"reference_geometry">;
72568
+ }, "strip", z.ZodTypeAny, {
72569
+ message: string;
72570
+ type: "pcb_bus_routing_constraint_warning";
72571
+ warning_type: "pcb_bus_routing_constraint_warning";
72572
+ source_bus_id: string;
72573
+ source_trace_ids: string[];
72574
+ pcb_trace_ids: string[];
72575
+ routing_rule: "reference_geometry";
72576
+ pcb_bus_routing_constraint_warning_id: string;
72577
+ subcircuit_id?: string | undefined;
72578
+ }, {
72579
+ message: string;
72580
+ type: "pcb_bus_routing_constraint_warning";
72581
+ source_bus_id: string;
72582
+ source_trace_ids: string[];
72583
+ pcb_trace_ids: string[];
72584
+ routing_rule: "reference_geometry";
72585
+ subcircuit_id?: string | undefined;
72586
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
72587
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
72588
+ }>, z.ZodObject<{
72589
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
72590
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72591
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
72592
+ source_bus_id: z.ZodString;
72593
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72594
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72595
+ message: z.ZodString;
72596
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72597
+ } & {
72598
+ routing_rule: z.ZodLiteral<"spacing_geometry">;
72599
+ }, "strip", z.ZodTypeAny, {
72600
+ message: string;
72601
+ type: "pcb_bus_routing_constraint_warning";
72602
+ warning_type: "pcb_bus_routing_constraint_warning";
72603
+ source_bus_id: string;
72604
+ source_trace_ids: string[];
72605
+ pcb_trace_ids: string[];
72606
+ routing_rule: "spacing_geometry";
72607
+ pcb_bus_routing_constraint_warning_id: string;
72608
+ subcircuit_id?: string | undefined;
72609
+ }, {
72610
+ message: string;
72611
+ type: "pcb_bus_routing_constraint_warning";
72612
+ source_bus_id: string;
72613
+ source_trace_ids: string[];
72614
+ pcb_trace_ids: string[];
72615
+ routing_rule: "spacing_geometry";
72616
+ subcircuit_id?: string | undefined;
72617
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
72618
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
72619
+ }>, z.ZodObject<{
72620
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
72621
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72622
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
72623
+ source_bus_id: z.ZodString;
72624
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72625
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72626
+ message: z.ZodString;
72627
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72628
+ } & {
72629
+ routing_rule: z.ZodLiteral<"target_length">;
72630
+ }, "strip", z.ZodTypeAny, {
72631
+ message: string;
72632
+ type: "pcb_bus_routing_constraint_warning";
72633
+ warning_type: "pcb_bus_routing_constraint_warning";
72634
+ source_bus_id: string;
72635
+ source_trace_ids: string[];
72636
+ pcb_trace_ids: string[];
72637
+ routing_rule: "target_length";
72638
+ pcb_bus_routing_constraint_warning_id: string;
72639
+ subcircuit_id?: string | undefined;
72640
+ }, {
72641
+ message: string;
72642
+ type: "pcb_bus_routing_constraint_warning";
72643
+ source_bus_id: string;
72644
+ source_trace_ids: string[];
72645
+ pcb_trace_ids: string[];
72646
+ routing_rule: "target_length";
72647
+ subcircuit_id?: string | undefined;
72648
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
72649
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
72650
+ }>, z.ZodObject<{
72651
+ type: z.ZodLiteral<"pcb_bus_routing_constraint_warning">;
72652
+ pcb_bus_routing_constraint_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72653
+ warning_type: z.ZodDefault<z.ZodLiteral<"pcb_bus_routing_constraint_warning">>;
72654
+ source_bus_id: z.ZodString;
72655
+ source_trace_ids: z.ZodArray<z.ZodString, "many">;
72656
+ pcb_trace_ids: z.ZodArray<z.ZodString, "many">;
72657
+ message: z.ZodString;
72658
+ subcircuit_id: z.ZodOptional<z.ZodString>;
72659
+ } & {
72660
+ routing_rule: z.ZodLiteral<"physical_impedance">;
72661
+ }, "strip", z.ZodTypeAny, {
72662
+ message: string;
72663
+ type: "pcb_bus_routing_constraint_warning";
72664
+ warning_type: "pcb_bus_routing_constraint_warning";
72665
+ source_bus_id: string;
72666
+ source_trace_ids: string[];
72667
+ pcb_trace_ids: string[];
72668
+ routing_rule: "physical_impedance";
72669
+ pcb_bus_routing_constraint_warning_id: string;
72670
+ subcircuit_id?: string | undefined;
72671
+ }, {
72672
+ message: string;
72673
+ type: "pcb_bus_routing_constraint_warning";
72674
+ source_bus_id: string;
72675
+ source_trace_ids: string[];
72676
+ pcb_trace_ids: string[];
72677
+ routing_rule: "physical_impedance";
72678
+ subcircuit_id?: string | undefined;
72679
+ warning_type?: "pcb_bus_routing_constraint_warning" | undefined;
72680
+ pcb_bus_routing_constraint_warning_id?: string | undefined;
69664
72681
  }>]>, z.ZodObject<{
69665
72682
  message: z.ZodString;
69666
72683
  is_fatal: z.ZodOptional<z.ZodBoolean>;
@@ -81812,4 +84829,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
81812
84829
  */
81813
84830
  type CircuitJson = AnyCircuitElement[];
81814
84831
 
81815
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadCollisionError, type CadCollisionErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelAxisDirection, type CadModelFormat, type CircleShape, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type InsertionDirection, type InsertionDirectionCartesian, type InsertionDirectionDeprecated, type InsertionDirectionInput, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type ManufacturingDrcProperties, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPackingError, type PCBPanel, type PCBPanelizationPlacementError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBend, type PcbBendInput, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbBusLengthSkewError, type PcbBusLengthSkewErrorInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentMissingCourtyardWarning, type PcbComponentMissingCourtyardWarningInput, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardOverlapError, type PcbCourtyardOverlapErrorInput, type PcbCourtyardPill, type PcbCourtyardPillInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbDebugLine, type PcbDebugObject, type PcbDebugObjectInput, type PcbDebugPoint, type PcbDebugRect, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFabricatorExtraChargeWarning, type PcbFabricatorExtraChargeWarningInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbKeepoutOutline, type PcbKeepoutOutlineInput, type PcbKeepoutOverlapWarning, type PcbKeepoutOverlapWarningInput, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPackingError, type PcbPackingErrorInput, type PcbPadPadClearanceError, type PcbPadPadClearanceErrorInput, type PcbPadTraceClearanceError, type PcbPadTraceClearanceErrorInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPin1Location, type PcbPin1LocationRotation, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbPreflightRoutingError, type PcbPreflightRoutingErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenGraphic, type PcbSilkscreenGraphicBRep, type PcbSilkscreenGraphicBRepInput, type PcbSilkscreenGraphicInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPastePolygon, type PcbSolderPasteRect, type PcbSolderPasteRotatedPill, type PcbSolderPasteRotatedRect, type PcbSoldermaskOpening, type PcbSoldermaskOpeningBase, type PcbSoldermaskOpeningCircle, type PcbSoldermaskOpeningInput, type PcbSoldermaskOpeningPolygon, type PcbSoldermaskOpeningRect, type PcbSoldermaskOpeningRotatedRect, type PcbStiffener, type PcbStiffenerBase, type PcbStiffenerInput, type PcbStiffenerPolygon, type PcbStiffenerPolygonInput, type PcbStiffenerRect, type PcbStiffenerRectInput, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointThroughPad, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbTraceTooLongError, type PcbTraceTooLongErrorInput, type PcbTraceTooLongWarning, type PcbTraceTooLongWarningInput, type PcbTraceTooManyViasWarning, type PcbTraceTooManyViasWarningInput, type PcbTraceWarning, type PcbTraceWarningInput, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type PcbViaTraceClearanceError, type PcbViaTraceClearanceErrorInput, type Point, type Point3, type PointWithBulge, type PolygonShape, type Position, type RectShape, type Ring, type RotatedRectShape, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicComponentOverlapWarning, type SchematicComponentOverlapWarningInput, type SchematicComponentStylingWarning, type SchematicComponentStylingWarningInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicElementOutsideSheetWarning, type SchematicElementOutsideSheetWarningInput, type SchematicError, type SchematicErrorInput, type SchematicGraphic, type SchematicGraphicInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicMissingSheetWarning, type SchematicMissingSheetWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSheetSize, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTextPart, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcSweepCurrentGraph, type SimulationAcSweepCurrentGraphInput, type SimulationAcSweepVoltageGraph, type SimulationAcSweepVoltageGraphInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationAnalysisResult, type SimulationAnalysisResultInput, type SimulationCapacitanceParameterSweep, type SimulationComplexSample, type SimulationCurrentAnalysisResult, type SimulationCurrentAnalysisResultInput, type SimulationCurrentParameterSweep, type SimulationCurrentProbe, type SimulationCurrentProbeInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcOperatingPointCurrent, type SimulationDcOperatingPointCurrentInput, type SimulationDcOperatingPointVoltage, type SimulationDcOperatingPointVoltageInput, type SimulationDcSweepCurrentGraph, type SimulationDcSweepCurrentGraphInput, type SimulationDcSweepUnit, type SimulationDcSweepVoltageGraph, type SimulationDcSweepVoltageGraphInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationInductanceParameterSweep, type SimulationNonTransientCurrentAnalysisResult, type SimulationNonTransientCurrentAnalysisResultInput, type SimulationNonTransientVoltageAnalysisResult, type SimulationNonTransientVoltageAnalysisResultInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationOscilloscopeTrace, type SimulationOscilloscopeTraceInput, type SimulationParameterSweep, type SimulationParameterSweepCoordinate, type SimulationParameterSweepInput, type SimulationParameterType, type SimulationParameterUnit, type SimulationResistanceParameterSweep, type SimulationSpiceSubcircuit, type SimulationSpiceSubcircuitInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientCurrentGraph, type SimulationTransientCurrentGraphInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageAnalysisResult, type SimulationVoltageAnalysisResultInput, type SimulationVoltageParameterSweep, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceBus, type SourceBusInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentMisconfiguredError, type SourceComponentMisconfiguredErrorInput, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceConfusingNetNameWarning, type SourceConfusingNetNameWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingManufacturerPartNumberWarning, type SourceMissingManufacturerPartNumberWarningInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePartNotFoundWarning, type SourcePartNotFoundWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinAttributesInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceRefdesConventionWarning, type SourceRefdesConventionWarningInput, type SourceRuntimeError, type SourceRuntimeErrorInput, type SourceSimpleAmmeter, type SourceSimpleAmmeterInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleConnectorStandard, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleFuse, type SourceSimpleFuseInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SourceUnnamedTraceWarning, type SourceUnnamedTraceWarningInput, type SpiceSimulationOptions, type StandardShape, type StandardShapeInput, type SupplierFootprintMismatchWarning, type SupplierFootprintMismatchWarningInput, type SupplierName, type SupplierPin1LocationMap, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_collision_error, cad_component, cad_model_axis_directions, cad_model_formats, capacitance, circle_shape, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getRotationBetweenPcbPin1Locations, getZodPrefixedIdWithDefault, inductance, insertionDirectionToCanonical, insertionDirectionToVector, insertion_direction, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, manufacturing_drc_properties, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_bend, pcb_board, pcb_breakout_point, pcb_bus_length_skew_error, pcb_component, pcb_component_invalid_layer_error, pcb_component_missing_courtyard_warning, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_overlap_error, pcb_courtyard_pill, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_debug_line, pcb_debug_object, pcb_debug_object_base, pcb_debug_point, pcb_debug_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_fabricator_extra_charge_warning, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_keepout_outline, pcb_keepout_overlap_warning, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_packing_error, pcb_pad_pad_clearance_error, pcb_pad_trace_clearance_error, pcb_panel, pcb_panelization_placement_error, pcb_pin1_location, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_preflight_routing_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_graphic, pcb_silkscreen_graphic_brep, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_soldermask_opening, pcb_stiffener, pcb_stiffener_polygon, pcb_stiffener_rect, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_through_pad, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_trace_too_long_error, pcb_trace_too_long_warning, pcb_trace_too_many_vias_warning, pcb_trace_warning, pcb_via, pcb_via_clearance_error, pcb_via_trace_clearance_error, point, point3, point_with_bulge, polygon_shape, port_arrangement, position, position3, rect_shape, resistance, ring, rotated_rect_shape, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_overlap_warning, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_component_styling_warning, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_element_outside_sheet_warning, schematic_error, schematic_graphic, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_missing_sheet_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_sheet_size, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_text_part, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_sweep_current_graph, simulation_ac_sweep_voltage_graph, simulation_ac_voltage_source, simulation_complex_sample, simulation_current_probe, simulation_current_source, simulation_dc_current_source, simulation_dc_operating_point_current, simulation_dc_operating_point_voltage, simulation_dc_sweep_current_graph, simulation_dc_sweep_unit, simulation_dc_sweep_voltage_graph, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_oscilloscope_trace, simulation_parameter_sweep, simulation_parameter_sweep_coordinate, simulation_parameter_type, simulation_parameter_unit, simulation_spice_subcircuit, simulation_switch, simulation_transient_current_graph, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_bus, source_component_base, source_component_internal_connection, source_component_misconfigured_error, source_component_pins_underspecified_warning, source_confusing_net_name_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_manufacturer_part_number_warning, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_part_not_found_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_refdes_convention_warning, source_runtime_error, source_simple_ammeter, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_connector_standards, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_fuse, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, source_unnamed_trace_warning, spice_simulation_options, standard_shape, supplier_footprint_mismatch_warning, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
84832
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadCollisionError, type CadCollisionErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelAxisDirection, type CadModelFormat, type CircleShape, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type InsertionDirection, type InsertionDirectionCartesian, type InsertionDirectionDeprecated, type InsertionDirectionInput, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type ManufacturingDrcProperties, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPackingError, type PCBPanel, type PCBPanelizationPlacementError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBend, type PcbBendInput, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbBusLengthSkewError, type PcbBusLengthSkewErrorInput, type PcbBusRoutingConstraintError, type PcbBusRoutingConstraintErrorInput, type PcbBusRoutingConstraintViolation, type PcbBusRoutingConstraintWarning, type PcbBusRoutingConstraintWarningInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentMissingCourtyardWarning, type PcbComponentMissingCourtyardWarningInput, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardOverlapError, type PcbCourtyardOverlapErrorInput, type PcbCourtyardPill, type PcbCourtyardPillInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbDebugLine, type PcbDebugObject, type PcbDebugObjectInput, type PcbDebugPoint, type PcbDebugRect, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFabricatorExtraChargeWarning, type PcbFabricatorExtraChargeWarningInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbKeepoutOutline, type PcbKeepoutOutlineInput, type PcbKeepoutOverlapWarning, type PcbKeepoutOverlapWarningInput, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPackingError, type PcbPackingErrorInput, type PcbPadPadClearanceError, type PcbPadPadClearanceErrorInput, type PcbPadTraceClearanceError, type PcbPadTraceClearanceErrorInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPin1Location, type PcbPin1LocationRotation, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbPreflightRoutingError, type PcbPreflightRoutingErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenGraphic, type PcbSilkscreenGraphicBRep, type PcbSilkscreenGraphicBRepInput, type PcbSilkscreenGraphicInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPastePolygon, type PcbSolderPasteRect, type PcbSolderPasteRotatedPill, type PcbSolderPasteRotatedRect, type PcbSoldermaskOpening, type PcbSoldermaskOpeningBase, type PcbSoldermaskOpeningCircle, type PcbSoldermaskOpeningInput, type PcbSoldermaskOpeningPolygon, type PcbSoldermaskOpeningRect, type PcbSoldermaskOpeningRotatedRect, type PcbStiffener, type PcbStiffenerBase, type PcbStiffenerInput, type PcbStiffenerPolygon, type PcbStiffenerPolygonInput, type PcbStiffenerRect, type PcbStiffenerRectInput, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointThroughPad, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbTraceTooLongError, type PcbTraceTooLongErrorInput, type PcbTraceTooLongWarning, type PcbTraceTooLongWarningInput, type PcbTraceTooManyViasWarning, type PcbTraceTooManyViasWarningInput, type PcbTraceWarning, type PcbTraceWarningInput, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type PcbViaTraceClearanceError, type PcbViaTraceClearanceErrorInput, type Point, type Point3, type PointWithBulge, type PolygonShape, type Position, type RectShape, type Ring, type RotatedRectShape, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicComponentOverlapWarning, type SchematicComponentOverlapWarningInput, type SchematicComponentStylingWarning, type SchematicComponentStylingWarningInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicElementOutsideSheetWarning, type SchematicElementOutsideSheetWarningInput, type SchematicError, type SchematicErrorInput, type SchematicGraphic, type SchematicGraphicInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicMissingSheetWarning, type SchematicMissingSheetWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSheetSize, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTextPart, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcSweepCurrentGraph, type SimulationAcSweepCurrentGraphInput, type SimulationAcSweepVoltageGraph, type SimulationAcSweepVoltageGraphInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationAnalysisResult, type SimulationAnalysisResultInput, type SimulationCapacitanceParameterSweep, type SimulationComplexSample, type SimulationCurrentAnalysisResult, type SimulationCurrentAnalysisResultInput, type SimulationCurrentParameterSweep, type SimulationCurrentProbe, type SimulationCurrentProbeInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcOperatingPointCurrent, type SimulationDcOperatingPointCurrentInput, type SimulationDcOperatingPointVoltage, type SimulationDcOperatingPointVoltageInput, type SimulationDcSweepCurrentGraph, type SimulationDcSweepCurrentGraphInput, type SimulationDcSweepUnit, type SimulationDcSweepVoltageGraph, type SimulationDcSweepVoltageGraphInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationInductanceParameterSweep, type SimulationNonTransientCurrentAnalysisResult, type SimulationNonTransientCurrentAnalysisResultInput, type SimulationNonTransientVoltageAnalysisResult, type SimulationNonTransientVoltageAnalysisResultInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationOscilloscopeTrace, type SimulationOscilloscopeTraceInput, type SimulationParameterSweep, type SimulationParameterSweepCoordinate, type SimulationParameterSweepInput, type SimulationParameterType, type SimulationParameterUnit, type SimulationResistanceParameterSweep, type SimulationSpiceSubcircuit, type SimulationSpiceSubcircuitInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientCurrentGraph, type SimulationTransientCurrentGraphInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageAnalysisResult, type SimulationVoltageAnalysisResultInput, type SimulationVoltageParameterSweep, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceBus, type SourceBusInput, type SourceBusRouteLength, type SourceBusTraceSpacing, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentMisconfiguredError, type SourceComponentMisconfiguredErrorInput, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceConfusingNetNameWarning, type SourceConfusingNetNameWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingManufacturerPartNumberWarning, type SourceMissingManufacturerPartNumberWarningInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceMotor, type SourceMotorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePartNotFoundWarning, type SourcePartNotFoundWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinAttributesInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourcePrintedPart, type SourcePrintedPartInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceRefdesConventionWarning, type SourceRefdesConventionWarningInput, type SourceRuntimeError, type SourceRuntimeErrorInput, type SourceSimpleAmmeter, type SourceSimpleAmmeterInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleConnectorStandard, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleFuse, type SourceSimpleFuseInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceSubassembly, type SourceSubassemblyInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SourceUnnamedTraceWarning, type SourceUnnamedTraceWarningInput, type SpiceSimulationOptions, type StandardShape, type StandardShapeInput, type SupplierFootprintMismatchWarning, type SupplierFootprintMismatchWarningInput, type SupplierName, type SupplierPin1LocationMap, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_collision_error, cad_component, cad_model_axis_directions, cad_model_formats, capacitance, circle_shape, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getRotationBetweenPcbPin1Locations, getZodPrefixedIdWithDefault, inductance, insertionDirectionToCanonical, insertionDirectionToVector, insertion_direction, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, manufacturing_drc_properties, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_bend, pcb_board, pcb_breakout_point, pcb_bus_length_skew_error, pcb_bus_routing_constraint_error, pcb_bus_routing_constraint_warning, pcb_component, pcb_component_invalid_layer_error, pcb_component_missing_courtyard_warning, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_overlap_error, pcb_courtyard_pill, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_debug_line, pcb_debug_object, pcb_debug_object_base, pcb_debug_point, pcb_debug_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_fabricator_extra_charge_warning, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_keepout_outline, pcb_keepout_overlap_warning, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_packing_error, pcb_pad_pad_clearance_error, pcb_pad_trace_clearance_error, pcb_panel, pcb_panelization_placement_error, pcb_pin1_location, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_preflight_routing_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_graphic, pcb_silkscreen_graphic_brep, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_soldermask_opening, pcb_stiffener, pcb_stiffener_polygon, pcb_stiffener_rect, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_through_pad, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_trace_too_long_error, pcb_trace_too_long_warning, pcb_trace_too_many_vias_warning, pcb_trace_warning, pcb_via, pcb_via_clearance_error, pcb_via_trace_clearance_error, point, point3, point_with_bulge, polygon_shape, port_arrangement, position, position3, rect_shape, resistance, ring, rotated_rect_shape, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_overlap_warning, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_component_styling_warning, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_element_outside_sheet_warning, schematic_error, schematic_graphic, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_missing_sheet_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_sheet_size, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_text_part, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_sweep_current_graph, simulation_ac_sweep_voltage_graph, simulation_ac_voltage_source, simulation_complex_sample, simulation_current_probe, simulation_current_source, simulation_dc_current_source, simulation_dc_operating_point_current, simulation_dc_operating_point_voltage, simulation_dc_sweep_current_graph, simulation_dc_sweep_unit, simulation_dc_sweep_voltage_graph, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_oscilloscope_trace, simulation_parameter_sweep, simulation_parameter_sweep_coordinate, simulation_parameter_type, simulation_parameter_unit, simulation_spice_subcircuit, simulation_switch, simulation_transient_current_graph, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_bus, source_component_base, source_component_internal_connection, source_component_misconfigured_error, source_component_pins_underspecified_warning, source_confusing_net_name_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_manufacturer_part_number_warning, source_missing_property_error, source_motor, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_part_not_found_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_printed_part, source_project_metadata, source_property_ignored_warning, source_refdes_convention_warning, source_runtime_error, source_simple_ammeter, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_connector_standards, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_fuse, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_simple_voltage_source, source_subassembly, source_trace, source_trace_not_connected_error, source_unnamed_trace_warning, spice_simulation_options, standard_shape, supplier_footprint_mismatch_warning, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };