circuit-json 0.0.239 → 0.0.241

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
@@ -4182,7 +4182,403 @@ interface PcbThermalSpoke {
4182
4182
  subcircuit_id?: string;
4183
4183
  }
4184
4184
 
4185
- type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke;
4185
+ declare const pcb_copper_pour_rect: z.ZodObject<{
4186
+ type: z.ZodLiteral<"pcb_copper_pour">;
4187
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4188
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4189
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4190
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4191
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4192
+ }, "strip", z.ZodTypeAny, {
4193
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4194
+ }, {
4195
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4196
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4197
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4198
+ }>;
4199
+ source_net_id: z.ZodOptional<z.ZodString>;
4200
+ } & {
4201
+ shape: z.ZodLiteral<"rect">;
4202
+ center: z.ZodObject<{
4203
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4204
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4205
+ }, "strip", z.ZodTypeAny, {
4206
+ x: number;
4207
+ y: number;
4208
+ }, {
4209
+ x: string | number;
4210
+ y: string | number;
4211
+ }>;
4212
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4213
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4214
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4215
+ }, "strip", z.ZodTypeAny, {
4216
+ type: "pcb_copper_pour";
4217
+ width: number;
4218
+ height: number;
4219
+ center: {
4220
+ x: number;
4221
+ y: number;
4222
+ };
4223
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4224
+ shape: "rect";
4225
+ pcb_copper_pour_id: string;
4226
+ rotation?: number | undefined;
4227
+ subcircuit_id?: string | undefined;
4228
+ pcb_group_id?: string | undefined;
4229
+ source_net_id?: string | undefined;
4230
+ }, {
4231
+ type: "pcb_copper_pour";
4232
+ width: string | number;
4233
+ height: string | number;
4234
+ center: {
4235
+ x: string | number;
4236
+ y: string | number;
4237
+ };
4238
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4239
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4240
+ };
4241
+ shape: "rect";
4242
+ rotation?: string | number | undefined;
4243
+ subcircuit_id?: string | undefined;
4244
+ pcb_group_id?: string | undefined;
4245
+ source_net_id?: string | undefined;
4246
+ pcb_copper_pour_id?: string | undefined;
4247
+ }>;
4248
+ type PcbCopperPourRectInput = z.input<typeof pcb_copper_pour_rect>;
4249
+ /**
4250
+ * Defines a rectangular copper pour on the PCB.
4251
+ */
4252
+ interface PcbCopperPourRect {
4253
+ type: "pcb_copper_pour";
4254
+ pcb_copper_pour_id: string;
4255
+ pcb_group_id?: string;
4256
+ subcircuit_id?: string;
4257
+ layer: LayerRef;
4258
+ source_net_id?: string;
4259
+ shape: "rect";
4260
+ center: Point;
4261
+ width: Length;
4262
+ height: Length;
4263
+ rotation?: Rotation;
4264
+ }
4265
+ declare const pcb_copper_pour_circle: z.ZodObject<{
4266
+ type: z.ZodLiteral<"pcb_copper_pour">;
4267
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4268
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4269
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4270
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4271
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4272
+ }, "strip", z.ZodTypeAny, {
4273
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4274
+ }, {
4275
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4276
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4277
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4278
+ }>;
4279
+ source_net_id: z.ZodOptional<z.ZodString>;
4280
+ } & {
4281
+ shape: z.ZodLiteral<"circle">;
4282
+ center: z.ZodObject<{
4283
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4284
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4285
+ }, "strip", z.ZodTypeAny, {
4286
+ x: number;
4287
+ y: number;
4288
+ }, {
4289
+ x: string | number;
4290
+ y: string | number;
4291
+ }>;
4292
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4293
+ }, "strip", z.ZodTypeAny, {
4294
+ type: "pcb_copper_pour";
4295
+ center: {
4296
+ x: number;
4297
+ y: number;
4298
+ };
4299
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4300
+ shape: "circle";
4301
+ radius: number;
4302
+ pcb_copper_pour_id: string;
4303
+ subcircuit_id?: string | undefined;
4304
+ pcb_group_id?: string | undefined;
4305
+ source_net_id?: string | undefined;
4306
+ }, {
4307
+ type: "pcb_copper_pour";
4308
+ center: {
4309
+ x: string | number;
4310
+ y: string | number;
4311
+ };
4312
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4313
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4314
+ };
4315
+ shape: "circle";
4316
+ radius: string | number;
4317
+ subcircuit_id?: string | undefined;
4318
+ pcb_group_id?: string | undefined;
4319
+ source_net_id?: string | undefined;
4320
+ pcb_copper_pour_id?: string | undefined;
4321
+ }>;
4322
+ type PcbCopperPourCircleInput = z.input<typeof pcb_copper_pour_circle>;
4323
+ /**
4324
+ * Defines a circular copper pour on the PCB.
4325
+ */
4326
+ interface PcbCopperPourCircle {
4327
+ type: "pcb_copper_pour";
4328
+ pcb_copper_pour_id: string;
4329
+ pcb_group_id?: string;
4330
+ subcircuit_id?: string;
4331
+ layer: LayerRef;
4332
+ source_net_id?: string;
4333
+ shape: "circle";
4334
+ center: Point;
4335
+ radius: Length;
4336
+ }
4337
+ declare const pcb_copper_pour_polygon: z.ZodObject<{
4338
+ type: z.ZodLiteral<"pcb_copper_pour">;
4339
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4340
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4341
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4342
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4343
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4344
+ }, "strip", z.ZodTypeAny, {
4345
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4346
+ }, {
4347
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4348
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4349
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4350
+ }>;
4351
+ source_net_id: z.ZodOptional<z.ZodString>;
4352
+ } & {
4353
+ shape: z.ZodLiteral<"polygon">;
4354
+ points: z.ZodArray<z.ZodObject<{
4355
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4356
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4357
+ }, "strip", z.ZodTypeAny, {
4358
+ x: number;
4359
+ y: number;
4360
+ }, {
4361
+ x: string | number;
4362
+ y: string | number;
4363
+ }>, "many">;
4364
+ }, "strip", z.ZodTypeAny, {
4365
+ type: "pcb_copper_pour";
4366
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4367
+ shape: "polygon";
4368
+ points: {
4369
+ x: number;
4370
+ y: number;
4371
+ }[];
4372
+ pcb_copper_pour_id: string;
4373
+ subcircuit_id?: string | undefined;
4374
+ pcb_group_id?: string | undefined;
4375
+ source_net_id?: string | undefined;
4376
+ }, {
4377
+ type: "pcb_copper_pour";
4378
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4379
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4380
+ };
4381
+ shape: "polygon";
4382
+ points: {
4383
+ x: string | number;
4384
+ y: string | number;
4385
+ }[];
4386
+ subcircuit_id?: string | undefined;
4387
+ pcb_group_id?: string | undefined;
4388
+ source_net_id?: string | undefined;
4389
+ pcb_copper_pour_id?: string | undefined;
4390
+ }>;
4391
+ type PcbCopperPourPolygonInput = z.input<typeof pcb_copper_pour_polygon>;
4392
+ /**
4393
+ * Defines a polygonal copper pour on the PCB, specified by a list of points.
4394
+ * The polygon should be closed (the last point implicitly connects to the first).
4395
+ */
4396
+ interface PcbCopperPourPolygon {
4397
+ type: "pcb_copper_pour";
4398
+ pcb_copper_pour_id: string;
4399
+ pcb_group_id?: string;
4400
+ subcircuit_id?: string;
4401
+ layer: LayerRef;
4402
+ source_net_id?: string;
4403
+ shape: "polygon";
4404
+ points: Point[];
4405
+ }
4406
+ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
4407
+ type: z.ZodLiteral<"pcb_copper_pour">;
4408
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4409
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4410
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4411
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4412
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4413
+ }, "strip", z.ZodTypeAny, {
4414
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4415
+ }, {
4416
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4417
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4418
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4419
+ }>;
4420
+ source_net_id: z.ZodOptional<z.ZodString>;
4421
+ } & {
4422
+ shape: z.ZodLiteral<"rect">;
4423
+ center: z.ZodObject<{
4424
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4425
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4426
+ }, "strip", z.ZodTypeAny, {
4427
+ x: number;
4428
+ y: number;
4429
+ }, {
4430
+ x: string | number;
4431
+ y: string | number;
4432
+ }>;
4433
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4434
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4435
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4436
+ }, "strip", z.ZodTypeAny, {
4437
+ type: "pcb_copper_pour";
4438
+ width: number;
4439
+ height: number;
4440
+ center: {
4441
+ x: number;
4442
+ y: number;
4443
+ };
4444
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4445
+ shape: "rect";
4446
+ pcb_copper_pour_id: string;
4447
+ rotation?: number | undefined;
4448
+ subcircuit_id?: string | undefined;
4449
+ pcb_group_id?: string | undefined;
4450
+ source_net_id?: string | undefined;
4451
+ }, {
4452
+ type: "pcb_copper_pour";
4453
+ width: string | number;
4454
+ height: string | number;
4455
+ center: {
4456
+ x: string | number;
4457
+ y: string | number;
4458
+ };
4459
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4460
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4461
+ };
4462
+ shape: "rect";
4463
+ rotation?: string | number | undefined;
4464
+ subcircuit_id?: string | undefined;
4465
+ pcb_group_id?: string | undefined;
4466
+ source_net_id?: string | undefined;
4467
+ pcb_copper_pour_id?: string | undefined;
4468
+ }>, z.ZodObject<{
4469
+ type: z.ZodLiteral<"pcb_copper_pour">;
4470
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4471
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4472
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4473
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4474
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4475
+ }, "strip", z.ZodTypeAny, {
4476
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4477
+ }, {
4478
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4479
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4480
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4481
+ }>;
4482
+ source_net_id: z.ZodOptional<z.ZodString>;
4483
+ } & {
4484
+ shape: z.ZodLiteral<"circle">;
4485
+ center: z.ZodObject<{
4486
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4487
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4488
+ }, "strip", z.ZodTypeAny, {
4489
+ x: number;
4490
+ y: number;
4491
+ }, {
4492
+ x: string | number;
4493
+ y: string | number;
4494
+ }>;
4495
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4496
+ }, "strip", z.ZodTypeAny, {
4497
+ type: "pcb_copper_pour";
4498
+ center: {
4499
+ x: number;
4500
+ y: number;
4501
+ };
4502
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4503
+ shape: "circle";
4504
+ radius: number;
4505
+ pcb_copper_pour_id: string;
4506
+ subcircuit_id?: string | undefined;
4507
+ pcb_group_id?: string | undefined;
4508
+ source_net_id?: string | undefined;
4509
+ }, {
4510
+ type: "pcb_copper_pour";
4511
+ center: {
4512
+ x: string | number;
4513
+ y: string | number;
4514
+ };
4515
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4516
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4517
+ };
4518
+ shape: "circle";
4519
+ radius: string | number;
4520
+ subcircuit_id?: string | undefined;
4521
+ pcb_group_id?: string | undefined;
4522
+ source_net_id?: string | undefined;
4523
+ pcb_copper_pour_id?: string | undefined;
4524
+ }>, z.ZodObject<{
4525
+ type: z.ZodLiteral<"pcb_copper_pour">;
4526
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4527
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4528
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4529
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4530
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4531
+ }, "strip", z.ZodTypeAny, {
4532
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4533
+ }, {
4534
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4535
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4536
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4537
+ }>;
4538
+ source_net_id: z.ZodOptional<z.ZodString>;
4539
+ } & {
4540
+ shape: z.ZodLiteral<"polygon">;
4541
+ points: z.ZodArray<z.ZodObject<{
4542
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4543
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4544
+ }, "strip", z.ZodTypeAny, {
4545
+ x: number;
4546
+ y: number;
4547
+ }, {
4548
+ x: string | number;
4549
+ y: string | number;
4550
+ }>, "many">;
4551
+ }, "strip", z.ZodTypeAny, {
4552
+ type: "pcb_copper_pour";
4553
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4554
+ shape: "polygon";
4555
+ points: {
4556
+ x: number;
4557
+ y: number;
4558
+ }[];
4559
+ pcb_copper_pour_id: string;
4560
+ subcircuit_id?: string | undefined;
4561
+ pcb_group_id?: string | undefined;
4562
+ source_net_id?: string | undefined;
4563
+ }, {
4564
+ type: "pcb_copper_pour";
4565
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4566
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4567
+ };
4568
+ shape: "polygon";
4569
+ points: {
4570
+ x: string | number;
4571
+ y: string | number;
4572
+ }[];
4573
+ subcircuit_id?: string | undefined;
4574
+ pcb_group_id?: string | undefined;
4575
+ source_net_id?: string | undefined;
4576
+ pcb_copper_pour_id?: string | undefined;
4577
+ }>]>;
4578
+ type PcbCopperPourInput = z.input<typeof pcb_copper_pour>;
4579
+ type PcbCopperPour = PcbCopperPourRect | PcbCopperPourCircle | PcbCopperPourPolygon;
4580
+
4581
+ type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour;
4186
4582
 
4187
4583
  interface SchematicBox {
4188
4584
  type: "schematic_box";
@@ -8391,38 +8787,95 @@ interface SourceNet {
8391
8787
  is_positive_voltage_source?: boolean;
8392
8788
  trace_width?: number;
8393
8789
  subcircuit_id?: string;
8394
- subcircuit_connectivity_map_key?: string;
8790
+ subcircuit_connectivity_map_key?: string;
8791
+ }
8792
+
8793
+ declare const source_pcb_ground_plane: z.ZodObject<{
8794
+ type: z.ZodLiteral<"source_pcb_ground_plane">;
8795
+ source_pcb_ground_plane_id: z.ZodString;
8796
+ source_group_id: z.ZodString;
8797
+ source_net_id: z.ZodString;
8798
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8799
+ }, "strip", z.ZodTypeAny, {
8800
+ type: "source_pcb_ground_plane";
8801
+ source_group_id: string;
8802
+ source_net_id: string;
8803
+ source_pcb_ground_plane_id: string;
8804
+ subcircuit_id?: string | undefined;
8805
+ }, {
8806
+ type: "source_pcb_ground_plane";
8807
+ source_group_id: string;
8808
+ source_net_id: string;
8809
+ source_pcb_ground_plane_id: string;
8810
+ subcircuit_id?: string | undefined;
8811
+ }>;
8812
+ type SourcePcbGroundPlaneInput = z.input<typeof source_pcb_ground_plane>;
8813
+ /**
8814
+ * Defines a ground plane in the source domain
8815
+ */
8816
+ interface SourcePcbGroundPlane {
8817
+ type: "source_pcb_ground_plane";
8818
+ source_pcb_ground_plane_id: string;
8819
+ source_group_id: string;
8820
+ source_net_id: string;
8821
+ subcircuit_id?: string;
8395
8822
  }
8396
8823
 
8397
- declare const source_pcb_ground_plane: z.ZodObject<{
8398
- type: z.ZodLiteral<"source_pcb_ground_plane">;
8399
- source_pcb_ground_plane_id: z.ZodString;
8824
+ declare const source_manually_placed_via: z.ZodObject<{
8825
+ type: z.ZodLiteral<"source_manually_placed_via">;
8826
+ source_manually_placed_via_id: z.ZodString;
8400
8827
  source_group_id: z.ZodString;
8401
8828
  source_net_id: z.ZodString;
8829
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8830
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8831
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
8832
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
8833
+ }, "strip", z.ZodTypeAny, {
8834
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8835
+ }, {
8836
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8837
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
8838
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8839
+ }>, "many">;
8402
8840
  subcircuit_id: z.ZodOptional<z.ZodString>;
8841
+ source_trace_id: z.ZodOptional<z.ZodString>;
8403
8842
  }, "strip", z.ZodTypeAny, {
8404
- type: "source_pcb_ground_plane";
8843
+ x: number;
8844
+ y: number;
8845
+ type: "source_manually_placed_via";
8846
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
8405
8847
  source_group_id: string;
8406
8848
  source_net_id: string;
8407
- source_pcb_ground_plane_id: string;
8849
+ source_manually_placed_via_id: string;
8408
8850
  subcircuit_id?: string | undefined;
8851
+ source_trace_id?: string | undefined;
8409
8852
  }, {
8410
- type: "source_pcb_ground_plane";
8853
+ x: string | number;
8854
+ y: string | number;
8855
+ type: "source_manually_placed_via";
8856
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
8857
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8858
+ })[];
8411
8859
  source_group_id: string;
8412
8860
  source_net_id: string;
8413
- source_pcb_ground_plane_id: string;
8861
+ source_manually_placed_via_id: string;
8414
8862
  subcircuit_id?: string | undefined;
8863
+ source_trace_id?: string | undefined;
8415
8864
  }>;
8416
- type SourcePcbGroundPlaneInput = z.input<typeof source_pcb_ground_plane>;
8865
+ type SourceManuallyPlacedViaInput = z.input<typeof source_manually_placed_via>;
8417
8866
  /**
8418
- * Defines a ground plane in the source domain
8867
+ * Defines a via that is manually placed in the source domain
8419
8868
  */
8420
- interface SourcePcbGroundPlane {
8421
- type: "source_pcb_ground_plane";
8422
- source_pcb_ground_plane_id: string;
8869
+ interface SourceManuallyPlacedVia {
8870
+ type: "source_manually_placed_via";
8871
+ source_manually_placed_via_id: string;
8423
8872
  source_group_id: string;
8424
8873
  source_net_id: string;
8874
+ x: Distance;
8875
+ y: Distance;
8876
+ layers: LayerRef[];
8425
8877
  subcircuit_id?: string;
8878
+ source_trace_id?: string;
8426
8879
  }
8427
8880
 
8428
8881
  declare const cad_component: z.ZodObject<{
@@ -10599,6 +11052,46 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10599
11052
  source_net_id: string;
10600
11053
  source_pcb_ground_plane_id: string;
10601
11054
  subcircuit_id?: string | undefined;
11055
+ }>, z.ZodObject<{
11056
+ type: z.ZodLiteral<"source_manually_placed_via">;
11057
+ source_manually_placed_via_id: z.ZodString;
11058
+ source_group_id: z.ZodString;
11059
+ source_net_id: z.ZodString;
11060
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11061
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11062
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
11063
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
11064
+ }, "strip", z.ZodTypeAny, {
11065
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11066
+ }, {
11067
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11068
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
11069
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11070
+ }>, "many">;
11071
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11072
+ source_trace_id: z.ZodOptional<z.ZodString>;
11073
+ }, "strip", z.ZodTypeAny, {
11074
+ x: number;
11075
+ y: number;
11076
+ type: "source_manually_placed_via";
11077
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
11078
+ source_group_id: string;
11079
+ source_net_id: string;
11080
+ source_manually_placed_via_id: string;
11081
+ subcircuit_id?: string | undefined;
11082
+ source_trace_id?: string | undefined;
11083
+ }, {
11084
+ x: string | number;
11085
+ y: string | number;
11086
+ type: "source_manually_placed_via";
11087
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
11088
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11089
+ })[];
11090
+ source_group_id: string;
11091
+ source_net_id: string;
11092
+ source_manually_placed_via_id: string;
11093
+ subcircuit_id?: string | undefined;
11094
+ source_trace_id?: string | undefined;
10602
11095
  }>, z.ZodObject<{
10603
11096
  type: z.ZodLiteral<"source_project_metadata">;
10604
11097
  name: z.ZodOptional<z.ZodString>;
@@ -13084,16 +13577,215 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13084
13577
  subcircuit_id?: string | undefined;
13085
13578
  pcb_group_id?: string | undefined;
13086
13579
  }, {
13087
- type: "pcb_ground_plane";
13088
- source_net_id: string;
13089
- source_pcb_ground_plane_id: string;
13580
+ type: "pcb_ground_plane";
13581
+ source_net_id: string;
13582
+ source_pcb_ground_plane_id: string;
13583
+ subcircuit_id?: string | undefined;
13584
+ pcb_group_id?: string | undefined;
13585
+ pcb_ground_plane_id?: string | undefined;
13586
+ }>, z.ZodObject<{
13587
+ type: z.ZodLiteral<"pcb_ground_plane_region">;
13588
+ pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13589
+ pcb_ground_plane_id: z.ZodString;
13590
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13591
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13592
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13593
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13594
+ }, "strip", z.ZodTypeAny, {
13595
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13596
+ }, {
13597
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13598
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13599
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13600
+ }>;
13601
+ points: z.ZodArray<z.ZodObject<{
13602
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13603
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13604
+ }, "strip", z.ZodTypeAny, {
13605
+ x: number;
13606
+ y: number;
13607
+ }, {
13608
+ x: string | number;
13609
+ y: string | number;
13610
+ }>, "many">;
13611
+ }, "strip", z.ZodTypeAny, {
13612
+ type: "pcb_ground_plane_region";
13613
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13614
+ points: {
13615
+ x: number;
13616
+ y: number;
13617
+ }[];
13618
+ pcb_ground_plane_id: string;
13619
+ pcb_ground_plane_region_id: string;
13620
+ subcircuit_id?: string | undefined;
13621
+ pcb_group_id?: string | undefined;
13622
+ }, {
13623
+ type: "pcb_ground_plane_region";
13624
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13625
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13626
+ };
13627
+ points: {
13628
+ x: string | number;
13629
+ y: string | number;
13630
+ }[];
13631
+ pcb_ground_plane_id: string;
13632
+ subcircuit_id?: string | undefined;
13633
+ pcb_group_id?: string | undefined;
13634
+ pcb_ground_plane_region_id?: string | undefined;
13635
+ }>, z.ZodObject<{
13636
+ type: z.ZodLiteral<"pcb_thermal_spoke">;
13637
+ pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13638
+ pcb_ground_plane_id: z.ZodString;
13639
+ shape: z.ZodString;
13640
+ spoke_count: z.ZodNumber;
13641
+ spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13642
+ spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13643
+ spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13644
+ pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
13645
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13646
+ }, "strip", z.ZodTypeAny, {
13647
+ type: "pcb_thermal_spoke";
13648
+ shape: string;
13649
+ pcb_ground_plane_id: string;
13650
+ pcb_thermal_spoke_id: string;
13651
+ spoke_count: number;
13652
+ spoke_thickness: number;
13653
+ spoke_inner_diameter: number;
13654
+ spoke_outer_diameter: number;
13655
+ subcircuit_id?: string | undefined;
13656
+ pcb_plated_hole_id?: string | undefined;
13657
+ }, {
13658
+ type: "pcb_thermal_spoke";
13659
+ shape: string;
13660
+ pcb_ground_plane_id: string;
13661
+ spoke_count: number;
13662
+ spoke_thickness: string | number;
13663
+ spoke_inner_diameter: string | number;
13664
+ spoke_outer_diameter: string | number;
13665
+ subcircuit_id?: string | undefined;
13666
+ pcb_plated_hole_id?: string | undefined;
13667
+ pcb_thermal_spoke_id?: string | undefined;
13668
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
13669
+ type: z.ZodLiteral<"pcb_copper_pour">;
13670
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13671
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13672
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13673
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13674
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13675
+ }, "strip", z.ZodTypeAny, {
13676
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13677
+ }, {
13678
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13679
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13680
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13681
+ }>;
13682
+ source_net_id: z.ZodOptional<z.ZodString>;
13683
+ } & {
13684
+ shape: z.ZodLiteral<"rect">;
13685
+ center: z.ZodObject<{
13686
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13687
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13688
+ }, "strip", z.ZodTypeAny, {
13689
+ x: number;
13690
+ y: number;
13691
+ }, {
13692
+ x: string | number;
13693
+ y: string | number;
13694
+ }>;
13695
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13696
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13697
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13698
+ }, "strip", z.ZodTypeAny, {
13699
+ type: "pcb_copper_pour";
13700
+ width: number;
13701
+ height: number;
13702
+ center: {
13703
+ x: number;
13704
+ y: number;
13705
+ };
13706
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13707
+ shape: "rect";
13708
+ pcb_copper_pour_id: string;
13709
+ rotation?: number | undefined;
13710
+ subcircuit_id?: string | undefined;
13711
+ pcb_group_id?: string | undefined;
13712
+ source_net_id?: string | undefined;
13713
+ }, {
13714
+ type: "pcb_copper_pour";
13715
+ width: string | number;
13716
+ height: string | number;
13717
+ center: {
13718
+ x: string | number;
13719
+ y: string | number;
13720
+ };
13721
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13722
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13723
+ };
13724
+ shape: "rect";
13725
+ rotation?: string | number | undefined;
13726
+ subcircuit_id?: string | undefined;
13727
+ pcb_group_id?: string | undefined;
13728
+ source_net_id?: string | undefined;
13729
+ pcb_copper_pour_id?: string | undefined;
13730
+ }>, z.ZodObject<{
13731
+ type: z.ZodLiteral<"pcb_copper_pour">;
13732
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13733
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13734
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13735
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13736
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13737
+ }, "strip", z.ZodTypeAny, {
13738
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13739
+ }, {
13740
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13741
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13742
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13743
+ }>;
13744
+ source_net_id: z.ZodOptional<z.ZodString>;
13745
+ } & {
13746
+ shape: z.ZodLiteral<"circle">;
13747
+ center: z.ZodObject<{
13748
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13749
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13750
+ }, "strip", z.ZodTypeAny, {
13751
+ x: number;
13752
+ y: number;
13753
+ }, {
13754
+ x: string | number;
13755
+ y: string | number;
13756
+ }>;
13757
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13758
+ }, "strip", z.ZodTypeAny, {
13759
+ type: "pcb_copper_pour";
13760
+ center: {
13761
+ x: number;
13762
+ y: number;
13763
+ };
13764
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13765
+ shape: "circle";
13766
+ radius: number;
13767
+ pcb_copper_pour_id: string;
13768
+ subcircuit_id?: string | undefined;
13769
+ pcb_group_id?: string | undefined;
13770
+ source_net_id?: string | undefined;
13771
+ }, {
13772
+ type: "pcb_copper_pour";
13773
+ center: {
13774
+ x: string | number;
13775
+ y: string | number;
13776
+ };
13777
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13778
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13779
+ };
13780
+ shape: "circle";
13781
+ radius: string | number;
13090
13782
  subcircuit_id?: string | undefined;
13091
13783
  pcb_group_id?: string | undefined;
13092
- pcb_ground_plane_id?: string | undefined;
13784
+ source_net_id?: string | undefined;
13785
+ pcb_copper_pour_id?: string | undefined;
13093
13786
  }>, z.ZodObject<{
13094
- type: z.ZodLiteral<"pcb_ground_plane_region">;
13095
- pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13096
- pcb_ground_plane_id: z.ZodString;
13787
+ type: z.ZodLiteral<"pcb_copper_pour">;
13788
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13097
13789
  pcb_group_id: z.ZodOptional<z.ZodString>;
13098
13790
  subcircuit_id: z.ZodOptional<z.ZodString>;
13099
13791
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -13105,6 +13797,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13105
13797
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13106
13798
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13107
13799
  }>;
13800
+ source_net_id: z.ZodOptional<z.ZodString>;
13801
+ } & {
13802
+ shape: z.ZodLiteral<"polygon">;
13108
13803
  points: z.ZodArray<z.ZodObject<{
13109
13804
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13110
13805
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13116,63 +13811,32 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13116
13811
  y: string | number;
13117
13812
  }>, "many">;
13118
13813
  }, "strip", z.ZodTypeAny, {
13119
- type: "pcb_ground_plane_region";
13814
+ type: "pcb_copper_pour";
13120
13815
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13816
+ shape: "polygon";
13121
13817
  points: {
13122
13818
  x: number;
13123
13819
  y: number;
13124
13820
  }[];
13125
- pcb_ground_plane_id: string;
13126
- pcb_ground_plane_region_id: string;
13821
+ pcb_copper_pour_id: string;
13127
13822
  subcircuit_id?: string | undefined;
13128
13823
  pcb_group_id?: string | undefined;
13824
+ source_net_id?: string | undefined;
13129
13825
  }, {
13130
- type: "pcb_ground_plane_region";
13826
+ type: "pcb_copper_pour";
13131
13827
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13132
13828
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13133
13829
  };
13830
+ shape: "polygon";
13134
13831
  points: {
13135
13832
  x: string | number;
13136
13833
  y: string | number;
13137
13834
  }[];
13138
- pcb_ground_plane_id: string;
13139
13835
  subcircuit_id?: string | undefined;
13140
13836
  pcb_group_id?: string | undefined;
13141
- pcb_ground_plane_region_id?: string | undefined;
13142
- }>, z.ZodObject<{
13143
- type: z.ZodLiteral<"pcb_thermal_spoke">;
13144
- pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13145
- pcb_ground_plane_id: z.ZodString;
13146
- shape: z.ZodString;
13147
- spoke_count: z.ZodNumber;
13148
- spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13149
- spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13150
- spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13151
- pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
13152
- subcircuit_id: z.ZodOptional<z.ZodString>;
13153
- }, "strip", z.ZodTypeAny, {
13154
- type: "pcb_thermal_spoke";
13155
- shape: string;
13156
- pcb_ground_plane_id: string;
13157
- pcb_thermal_spoke_id: string;
13158
- spoke_count: number;
13159
- spoke_thickness: number;
13160
- spoke_inner_diameter: number;
13161
- spoke_outer_diameter: number;
13162
- subcircuit_id?: string | undefined;
13163
- pcb_plated_hole_id?: string | undefined;
13164
- }, {
13165
- type: "pcb_thermal_spoke";
13166
- shape: string;
13167
- pcb_ground_plane_id: string;
13168
- spoke_count: number;
13169
- spoke_thickness: string | number;
13170
- spoke_inner_diameter: string | number;
13171
- spoke_outer_diameter: string | number;
13172
- subcircuit_id?: string | undefined;
13173
- pcb_plated_hole_id?: string | undefined;
13174
- pcb_thermal_spoke_id?: string | undefined;
13175
- }>, z.ZodObject<{
13837
+ source_net_id?: string | undefined;
13838
+ pcb_copper_pour_id?: string | undefined;
13839
+ }>]>, z.ZodObject<{
13176
13840
  type: z.ZodLiteral<"schematic_box">;
13177
13841
  schematic_component_id: z.ZodOptional<z.ZodString>;
13178
13842
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16238,6 +16902,46 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16238
16902
  source_net_id: string;
16239
16903
  source_pcb_ground_plane_id: string;
16240
16904
  subcircuit_id?: string | undefined;
16905
+ }>, z.ZodObject<{
16906
+ type: z.ZodLiteral<"source_manually_placed_via">;
16907
+ source_manually_placed_via_id: z.ZodString;
16908
+ source_group_id: z.ZodString;
16909
+ source_net_id: z.ZodString;
16910
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16911
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16912
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
16913
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
16914
+ }, "strip", z.ZodTypeAny, {
16915
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16916
+ }, {
16917
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16918
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16919
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16920
+ }>, "many">;
16921
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16922
+ source_trace_id: z.ZodOptional<z.ZodString>;
16923
+ }, "strip", z.ZodTypeAny, {
16924
+ x: number;
16925
+ y: number;
16926
+ type: "source_manually_placed_via";
16927
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
16928
+ source_group_id: string;
16929
+ source_net_id: string;
16930
+ source_manually_placed_via_id: string;
16931
+ subcircuit_id?: string | undefined;
16932
+ source_trace_id?: string | undefined;
16933
+ }, {
16934
+ x: string | number;
16935
+ y: string | number;
16936
+ type: "source_manually_placed_via";
16937
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16938
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16939
+ })[];
16940
+ source_group_id: string;
16941
+ source_net_id: string;
16942
+ source_manually_placed_via_id: string;
16943
+ subcircuit_id?: string | undefined;
16944
+ source_trace_id?: string | undefined;
16241
16945
  }>, z.ZodObject<{
16242
16946
  type: z.ZodLiteral<"source_project_metadata">;
16243
16947
  name: z.ZodOptional<z.ZodString>;
@@ -18811,7 +19515,178 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18811
19515
  subcircuit_id?: string | undefined;
18812
19516
  pcb_plated_hole_id?: string | undefined;
18813
19517
  pcb_thermal_spoke_id?: string | undefined;
19518
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
19519
+ type: z.ZodLiteral<"pcb_copper_pour">;
19520
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19521
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19522
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19523
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19524
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19525
+ }, "strip", z.ZodTypeAny, {
19526
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19527
+ }, {
19528
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19529
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19530
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19531
+ }>;
19532
+ source_net_id: z.ZodOptional<z.ZodString>;
19533
+ } & {
19534
+ shape: z.ZodLiteral<"rect">;
19535
+ center: z.ZodObject<{
19536
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19537
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19538
+ }, "strip", z.ZodTypeAny, {
19539
+ x: number;
19540
+ y: number;
19541
+ }, {
19542
+ x: string | number;
19543
+ y: string | number;
19544
+ }>;
19545
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19546
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19547
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19548
+ }, "strip", z.ZodTypeAny, {
19549
+ type: "pcb_copper_pour";
19550
+ width: number;
19551
+ height: number;
19552
+ center: {
19553
+ x: number;
19554
+ y: number;
19555
+ };
19556
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19557
+ shape: "rect";
19558
+ pcb_copper_pour_id: string;
19559
+ rotation?: number | undefined;
19560
+ subcircuit_id?: string | undefined;
19561
+ pcb_group_id?: string | undefined;
19562
+ source_net_id?: string | undefined;
19563
+ }, {
19564
+ type: "pcb_copper_pour";
19565
+ width: string | number;
19566
+ height: string | number;
19567
+ center: {
19568
+ x: string | number;
19569
+ y: string | number;
19570
+ };
19571
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19572
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19573
+ };
19574
+ shape: "rect";
19575
+ rotation?: string | number | undefined;
19576
+ subcircuit_id?: string | undefined;
19577
+ pcb_group_id?: string | undefined;
19578
+ source_net_id?: string | undefined;
19579
+ pcb_copper_pour_id?: string | undefined;
19580
+ }>, z.ZodObject<{
19581
+ type: z.ZodLiteral<"pcb_copper_pour">;
19582
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19583
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19584
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19585
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19586
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19587
+ }, "strip", z.ZodTypeAny, {
19588
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19589
+ }, {
19590
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19591
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19592
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19593
+ }>;
19594
+ source_net_id: z.ZodOptional<z.ZodString>;
19595
+ } & {
19596
+ shape: z.ZodLiteral<"circle">;
19597
+ center: z.ZodObject<{
19598
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19599
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19600
+ }, "strip", z.ZodTypeAny, {
19601
+ x: number;
19602
+ y: number;
19603
+ }, {
19604
+ x: string | number;
19605
+ y: string | number;
19606
+ }>;
19607
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19608
+ }, "strip", z.ZodTypeAny, {
19609
+ type: "pcb_copper_pour";
19610
+ center: {
19611
+ x: number;
19612
+ y: number;
19613
+ };
19614
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19615
+ shape: "circle";
19616
+ radius: number;
19617
+ pcb_copper_pour_id: string;
19618
+ subcircuit_id?: string | undefined;
19619
+ pcb_group_id?: string | undefined;
19620
+ source_net_id?: string | undefined;
19621
+ }, {
19622
+ type: "pcb_copper_pour";
19623
+ center: {
19624
+ x: string | number;
19625
+ y: string | number;
19626
+ };
19627
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19628
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19629
+ };
19630
+ shape: "circle";
19631
+ radius: string | number;
19632
+ subcircuit_id?: string | undefined;
19633
+ pcb_group_id?: string | undefined;
19634
+ source_net_id?: string | undefined;
19635
+ pcb_copper_pour_id?: string | undefined;
18814
19636
  }>, z.ZodObject<{
19637
+ type: z.ZodLiteral<"pcb_copper_pour">;
19638
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19639
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19640
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19641
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19642
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19643
+ }, "strip", z.ZodTypeAny, {
19644
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19645
+ }, {
19646
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19647
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19648
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19649
+ }>;
19650
+ source_net_id: z.ZodOptional<z.ZodString>;
19651
+ } & {
19652
+ shape: z.ZodLiteral<"polygon">;
19653
+ points: z.ZodArray<z.ZodObject<{
19654
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19655
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19656
+ }, "strip", z.ZodTypeAny, {
19657
+ x: number;
19658
+ y: number;
19659
+ }, {
19660
+ x: string | number;
19661
+ y: string | number;
19662
+ }>, "many">;
19663
+ }, "strip", z.ZodTypeAny, {
19664
+ type: "pcb_copper_pour";
19665
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19666
+ shape: "polygon";
19667
+ points: {
19668
+ x: number;
19669
+ y: number;
19670
+ }[];
19671
+ pcb_copper_pour_id: string;
19672
+ subcircuit_id?: string | undefined;
19673
+ pcb_group_id?: string | undefined;
19674
+ source_net_id?: string | undefined;
19675
+ }, {
19676
+ type: "pcb_copper_pour";
19677
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19678
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19679
+ };
19680
+ shape: "polygon";
19681
+ points: {
19682
+ x: string | number;
19683
+ y: string | number;
19684
+ }[];
19685
+ subcircuit_id?: string | undefined;
19686
+ pcb_group_id?: string | undefined;
19687
+ source_net_id?: string | undefined;
19688
+ pcb_copper_pour_id?: string | undefined;
19689
+ }>]>, z.ZodObject<{
18815
19690
  type: z.ZodLiteral<"schematic_box">;
18816
19691
  schematic_component_id: z.ZodOptional<z.ZodString>;
18817
19692
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -20029,4 +20904,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
20029
20904
  */
20030
20905
  type CircuitJson = AnyCircuitElement[];
20031
20906
 
20032
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, 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 PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, 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 PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, 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 PcbSolderPasteRect, type PcbSolderPasteRotatedRect, 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 PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, 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 SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, 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_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, 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_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
20907
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, 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 PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCopperPour, type PcbCopperPourCircle, type PcbCopperPourCircleInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, 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 PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, 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 PcbSolderPasteRect, type PcbSolderPasteRotatedRect, 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 PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, 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 SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_copper_pour, pcb_copper_pour_circle, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, 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_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, 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_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };