circuit-json 0.0.240 → 0.0.242

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";
@@ -8540,6 +8936,7 @@ declare const cad_component: z.ZodObject<{
8540
8936
  model_obj_url: z.ZodOptional<z.ZodString>;
8541
8937
  model_stl_url: z.ZodOptional<z.ZodString>;
8542
8938
  model_3mf_url: z.ZodOptional<z.ZodString>;
8939
+ model_gltf_url: z.ZodOptional<z.ZodString>;
8543
8940
  model_jscad: z.ZodOptional<z.ZodAny>;
8544
8941
  }, "strip", z.ZodTypeAny, {
8545
8942
  type: "cad_component";
@@ -8567,6 +8964,7 @@ declare const cad_component: z.ZodObject<{
8567
8964
  model_obj_url?: string | undefined;
8568
8965
  model_stl_url?: string | undefined;
8569
8966
  model_3mf_url?: string | undefined;
8967
+ model_gltf_url?: string | undefined;
8570
8968
  model_jscad?: any;
8571
8969
  }, {
8572
8970
  type: "cad_component";
@@ -8596,6 +8994,7 @@ declare const cad_component: z.ZodObject<{
8596
8994
  model_obj_url?: string | undefined;
8597
8995
  model_stl_url?: string | undefined;
8598
8996
  model_3mf_url?: string | undefined;
8997
+ model_gltf_url?: string | undefined;
8599
8998
  model_jscad?: any;
8600
8999
  }>;
8601
9000
  type CadComponentInput = z.input<typeof cad_component>;
@@ -8613,6 +9012,7 @@ interface CadComponent {
8613
9012
  model_obj_url?: string;
8614
9013
  model_stl_url?: string;
8615
9014
  model_3mf_url?: string;
9015
+ model_gltf_url?: string;
8616
9016
  model_jscad?: any;
8617
9017
  }
8618
9018
 
@@ -13135,8 +13535,220 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13135
13535
  pcb_group_id: z.ZodOptional<z.ZodString>;
13136
13536
  subcircuit_id: z.ZodOptional<z.ZodString>;
13137
13537
  } & {
13138
- shape: z.ZodLiteral<"polygon">;
13139
- points: z.ZodArray<z.ZodObject<{
13538
+ shape: z.ZodLiteral<"polygon">;
13539
+ points: z.ZodArray<z.ZodObject<{
13540
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13541
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13542
+ }, "strip", z.ZodTypeAny, {
13543
+ x: number;
13544
+ y: number;
13545
+ }, {
13546
+ x: string | number;
13547
+ y: string | number;
13548
+ }>, "many">;
13549
+ }, "strip", z.ZodTypeAny, {
13550
+ type: "pcb_cutout";
13551
+ shape: "polygon";
13552
+ points: {
13553
+ x: number;
13554
+ y: number;
13555
+ }[];
13556
+ pcb_cutout_id: string;
13557
+ subcircuit_id?: string | undefined;
13558
+ pcb_group_id?: string | undefined;
13559
+ }, {
13560
+ type: "pcb_cutout";
13561
+ shape: "polygon";
13562
+ points: {
13563
+ x: string | number;
13564
+ y: string | number;
13565
+ }[];
13566
+ subcircuit_id?: string | undefined;
13567
+ pcb_group_id?: string | undefined;
13568
+ pcb_cutout_id?: string | undefined;
13569
+ }>]>, z.ZodObject<{
13570
+ type: z.ZodLiteral<"pcb_ground_plane">;
13571
+ pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13572
+ source_pcb_ground_plane_id: z.ZodString;
13573
+ source_net_id: z.ZodString;
13574
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13575
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13576
+ }, "strip", z.ZodTypeAny, {
13577
+ type: "pcb_ground_plane";
13578
+ source_net_id: string;
13579
+ pcb_ground_plane_id: string;
13580
+ source_pcb_ground_plane_id: string;
13581
+ subcircuit_id?: string | undefined;
13582
+ pcb_group_id?: string | undefined;
13583
+ }, {
13584
+ type: "pcb_ground_plane";
13585
+ source_net_id: string;
13586
+ source_pcb_ground_plane_id: string;
13587
+ subcircuit_id?: string | undefined;
13588
+ pcb_group_id?: string | undefined;
13589
+ pcb_ground_plane_id?: string | undefined;
13590
+ }>, z.ZodObject<{
13591
+ type: z.ZodLiteral<"pcb_ground_plane_region">;
13592
+ pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13593
+ pcb_ground_plane_id: z.ZodString;
13594
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13595
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13596
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13597
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13598
+ }, "strip", z.ZodTypeAny, {
13599
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13600
+ }, {
13601
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13602
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13603
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13604
+ }>;
13605
+ points: z.ZodArray<z.ZodObject<{
13606
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13607
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13608
+ }, "strip", z.ZodTypeAny, {
13609
+ x: number;
13610
+ y: number;
13611
+ }, {
13612
+ x: string | number;
13613
+ y: string | number;
13614
+ }>, "many">;
13615
+ }, "strip", z.ZodTypeAny, {
13616
+ type: "pcb_ground_plane_region";
13617
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13618
+ points: {
13619
+ x: number;
13620
+ y: number;
13621
+ }[];
13622
+ pcb_ground_plane_id: string;
13623
+ pcb_ground_plane_region_id: string;
13624
+ subcircuit_id?: string | undefined;
13625
+ pcb_group_id?: string | undefined;
13626
+ }, {
13627
+ type: "pcb_ground_plane_region";
13628
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13629
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13630
+ };
13631
+ points: {
13632
+ x: string | number;
13633
+ y: string | number;
13634
+ }[];
13635
+ pcb_ground_plane_id: string;
13636
+ subcircuit_id?: string | undefined;
13637
+ pcb_group_id?: string | undefined;
13638
+ pcb_ground_plane_region_id?: string | undefined;
13639
+ }>, z.ZodObject<{
13640
+ type: z.ZodLiteral<"pcb_thermal_spoke">;
13641
+ pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13642
+ pcb_ground_plane_id: z.ZodString;
13643
+ shape: z.ZodString;
13644
+ spoke_count: z.ZodNumber;
13645
+ spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13646
+ spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13647
+ spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13648
+ pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
13649
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13650
+ }, "strip", z.ZodTypeAny, {
13651
+ type: "pcb_thermal_spoke";
13652
+ shape: string;
13653
+ pcb_ground_plane_id: string;
13654
+ pcb_thermal_spoke_id: string;
13655
+ spoke_count: number;
13656
+ spoke_thickness: number;
13657
+ spoke_inner_diameter: number;
13658
+ spoke_outer_diameter: number;
13659
+ subcircuit_id?: string | undefined;
13660
+ pcb_plated_hole_id?: string | undefined;
13661
+ }, {
13662
+ type: "pcb_thermal_spoke";
13663
+ shape: string;
13664
+ pcb_ground_plane_id: string;
13665
+ spoke_count: number;
13666
+ spoke_thickness: string | number;
13667
+ spoke_inner_diameter: string | number;
13668
+ spoke_outer_diameter: string | number;
13669
+ subcircuit_id?: string | undefined;
13670
+ pcb_plated_hole_id?: string | undefined;
13671
+ pcb_thermal_spoke_id?: string | undefined;
13672
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
13673
+ type: z.ZodLiteral<"pcb_copper_pour">;
13674
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13675
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13676
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13677
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13678
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13679
+ }, "strip", z.ZodTypeAny, {
13680
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13681
+ }, {
13682
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13683
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13684
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13685
+ }>;
13686
+ source_net_id: z.ZodOptional<z.ZodString>;
13687
+ } & {
13688
+ shape: z.ZodLiteral<"rect">;
13689
+ center: z.ZodObject<{
13690
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13691
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13692
+ }, "strip", z.ZodTypeAny, {
13693
+ x: number;
13694
+ y: number;
13695
+ }, {
13696
+ x: string | number;
13697
+ y: string | number;
13698
+ }>;
13699
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13700
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13701
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13702
+ }, "strip", z.ZodTypeAny, {
13703
+ type: "pcb_copper_pour";
13704
+ width: number;
13705
+ height: number;
13706
+ center: {
13707
+ x: number;
13708
+ y: number;
13709
+ };
13710
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13711
+ shape: "rect";
13712
+ pcb_copper_pour_id: string;
13713
+ rotation?: number | undefined;
13714
+ subcircuit_id?: string | undefined;
13715
+ pcb_group_id?: string | undefined;
13716
+ source_net_id?: string | undefined;
13717
+ }, {
13718
+ type: "pcb_copper_pour";
13719
+ width: string | number;
13720
+ height: string | number;
13721
+ center: {
13722
+ x: string | number;
13723
+ y: string | number;
13724
+ };
13725
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13726
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13727
+ };
13728
+ shape: "rect";
13729
+ rotation?: string | number | undefined;
13730
+ subcircuit_id?: string | undefined;
13731
+ pcb_group_id?: string | undefined;
13732
+ source_net_id?: string | undefined;
13733
+ pcb_copper_pour_id?: string | undefined;
13734
+ }>, z.ZodObject<{
13735
+ type: z.ZodLiteral<"pcb_copper_pour">;
13736
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13737
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13738
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13739
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13740
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13741
+ }, "strip", z.ZodTypeAny, {
13742
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13743
+ }, {
13744
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13745
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13746
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13747
+ }>;
13748
+ source_net_id: z.ZodOptional<z.ZodString>;
13749
+ } & {
13750
+ shape: z.ZodLiteral<"circle">;
13751
+ center: z.ZodObject<{
13140
13752
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13141
13753
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13142
13754
  }, "strip", z.ZodTypeAny, {
@@ -13145,52 +13757,39 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13145
13757
  }, {
13146
13758
  x: string | number;
13147
13759
  y: string | number;
13148
- }>, "many">;
13760
+ }>;
13761
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13149
13762
  }, "strip", z.ZodTypeAny, {
13150
- type: "pcb_cutout";
13151
- shape: "polygon";
13152
- points: {
13763
+ type: "pcb_copper_pour";
13764
+ center: {
13153
13765
  x: number;
13154
13766
  y: number;
13155
- }[];
13156
- pcb_cutout_id: string;
13767
+ };
13768
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13769
+ shape: "circle";
13770
+ radius: number;
13771
+ pcb_copper_pour_id: string;
13157
13772
  subcircuit_id?: string | undefined;
13158
13773
  pcb_group_id?: string | undefined;
13774
+ source_net_id?: string | undefined;
13159
13775
  }, {
13160
- type: "pcb_cutout";
13161
- shape: "polygon";
13162
- points: {
13776
+ type: "pcb_copper_pour";
13777
+ center: {
13163
13778
  x: string | number;
13164
13779
  y: string | number;
13165
- }[];
13166
- subcircuit_id?: string | undefined;
13167
- pcb_group_id?: string | undefined;
13168
- pcb_cutout_id?: string | undefined;
13169
- }>]>, z.ZodObject<{
13170
- type: z.ZodLiteral<"pcb_ground_plane">;
13171
- pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13172
- source_pcb_ground_plane_id: z.ZodString;
13173
- source_net_id: z.ZodString;
13174
- pcb_group_id: z.ZodOptional<z.ZodString>;
13175
- subcircuit_id: z.ZodOptional<z.ZodString>;
13176
- }, "strip", z.ZodTypeAny, {
13177
- type: "pcb_ground_plane";
13178
- source_net_id: string;
13179
- pcb_ground_plane_id: string;
13180
- source_pcb_ground_plane_id: string;
13181
- subcircuit_id?: string | undefined;
13182
- pcb_group_id?: string | undefined;
13183
- }, {
13184
- type: "pcb_ground_plane";
13185
- source_net_id: string;
13186
- source_pcb_ground_plane_id: string;
13780
+ };
13781
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13782
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13783
+ };
13784
+ shape: "circle";
13785
+ radius: string | number;
13187
13786
  subcircuit_id?: string | undefined;
13188
13787
  pcb_group_id?: string | undefined;
13189
- pcb_ground_plane_id?: string | undefined;
13788
+ source_net_id?: string | undefined;
13789
+ pcb_copper_pour_id?: string | undefined;
13190
13790
  }>, z.ZodObject<{
13191
- type: z.ZodLiteral<"pcb_ground_plane_region">;
13192
- pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13193
- pcb_ground_plane_id: z.ZodString;
13791
+ type: z.ZodLiteral<"pcb_copper_pour">;
13792
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13194
13793
  pcb_group_id: z.ZodOptional<z.ZodString>;
13195
13794
  subcircuit_id: z.ZodOptional<z.ZodString>;
13196
13795
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -13202,6 +13801,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13202
13801
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13203
13802
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13204
13803
  }>;
13804
+ source_net_id: z.ZodOptional<z.ZodString>;
13805
+ } & {
13806
+ shape: z.ZodLiteral<"polygon">;
13205
13807
  points: z.ZodArray<z.ZodObject<{
13206
13808
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13207
13809
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13213,63 +13815,32 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13213
13815
  y: string | number;
13214
13816
  }>, "many">;
13215
13817
  }, "strip", z.ZodTypeAny, {
13216
- type: "pcb_ground_plane_region";
13818
+ type: "pcb_copper_pour";
13217
13819
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13820
+ shape: "polygon";
13218
13821
  points: {
13219
13822
  x: number;
13220
13823
  y: number;
13221
13824
  }[];
13222
- pcb_ground_plane_id: string;
13223
- pcb_ground_plane_region_id: string;
13825
+ pcb_copper_pour_id: string;
13224
13826
  subcircuit_id?: string | undefined;
13225
13827
  pcb_group_id?: string | undefined;
13828
+ source_net_id?: string | undefined;
13226
13829
  }, {
13227
- type: "pcb_ground_plane_region";
13830
+ type: "pcb_copper_pour";
13228
13831
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13229
13832
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13230
13833
  };
13834
+ shape: "polygon";
13231
13835
  points: {
13232
13836
  x: string | number;
13233
13837
  y: string | number;
13234
13838
  }[];
13235
- pcb_ground_plane_id: string;
13236
13839
  subcircuit_id?: string | undefined;
13237
13840
  pcb_group_id?: string | undefined;
13238
- pcb_ground_plane_region_id?: string | undefined;
13239
- }>, z.ZodObject<{
13240
- type: z.ZodLiteral<"pcb_thermal_spoke">;
13241
- pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13242
- pcb_ground_plane_id: z.ZodString;
13243
- shape: z.ZodString;
13244
- spoke_count: z.ZodNumber;
13245
- spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13246
- spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13247
- spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13248
- pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
13249
- subcircuit_id: z.ZodOptional<z.ZodString>;
13250
- }, "strip", z.ZodTypeAny, {
13251
- type: "pcb_thermal_spoke";
13252
- shape: string;
13253
- pcb_ground_plane_id: string;
13254
- pcb_thermal_spoke_id: string;
13255
- spoke_count: number;
13256
- spoke_thickness: number;
13257
- spoke_inner_diameter: number;
13258
- spoke_outer_diameter: number;
13259
- subcircuit_id?: string | undefined;
13260
- pcb_plated_hole_id?: string | undefined;
13261
- }, {
13262
- type: "pcb_thermal_spoke";
13263
- shape: string;
13264
- pcb_ground_plane_id: string;
13265
- spoke_count: number;
13266
- spoke_thickness: string | number;
13267
- spoke_inner_diameter: string | number;
13268
- spoke_outer_diameter: string | number;
13269
- subcircuit_id?: string | undefined;
13270
- pcb_plated_hole_id?: string | undefined;
13271
- pcb_thermal_spoke_id?: string | undefined;
13272
- }>, z.ZodObject<{
13841
+ source_net_id?: string | undefined;
13842
+ pcb_copper_pour_id?: string | undefined;
13843
+ }>]>, z.ZodObject<{
13273
13844
  type: z.ZodLiteral<"schematic_box">;
13274
13845
  schematic_component_id: z.ZodOptional<z.ZodString>;
13275
13846
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -14344,6 +14915,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14344
14915
  model_obj_url: z.ZodOptional<z.ZodString>;
14345
14916
  model_stl_url: z.ZodOptional<z.ZodString>;
14346
14917
  model_3mf_url: z.ZodOptional<z.ZodString>;
14918
+ model_gltf_url: z.ZodOptional<z.ZodString>;
14347
14919
  model_jscad: z.ZodOptional<z.ZodAny>;
14348
14920
  }, "strip", z.ZodTypeAny, {
14349
14921
  type: "cad_component";
@@ -14371,6 +14943,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14371
14943
  model_obj_url?: string | undefined;
14372
14944
  model_stl_url?: string | undefined;
14373
14945
  model_3mf_url?: string | undefined;
14946
+ model_gltf_url?: string | undefined;
14374
14947
  model_jscad?: any;
14375
14948
  }, {
14376
14949
  type: "cad_component";
@@ -14400,6 +14973,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14400
14973
  model_obj_url?: string | undefined;
14401
14974
  model_stl_url?: string | undefined;
14402
14975
  model_3mf_url?: string | undefined;
14976
+ model_gltf_url?: string | undefined;
14403
14977
  model_jscad?: any;
14404
14978
  }>, z.ZodUnion<[z.ZodObject<{
14405
14979
  type: z.ZodLiteral<"simulation_voltage_source">;
@@ -18948,7 +19522,178 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18948
19522
  subcircuit_id?: string | undefined;
18949
19523
  pcb_plated_hole_id?: string | undefined;
18950
19524
  pcb_thermal_spoke_id?: string | undefined;
19525
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
19526
+ type: z.ZodLiteral<"pcb_copper_pour">;
19527
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19528
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19529
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19530
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19531
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19532
+ }, "strip", z.ZodTypeAny, {
19533
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19534
+ }, {
19535
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19536
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19537
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19538
+ }>;
19539
+ source_net_id: z.ZodOptional<z.ZodString>;
19540
+ } & {
19541
+ shape: z.ZodLiteral<"rect">;
19542
+ center: z.ZodObject<{
19543
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19544
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19545
+ }, "strip", z.ZodTypeAny, {
19546
+ x: number;
19547
+ y: number;
19548
+ }, {
19549
+ x: string | number;
19550
+ y: string | number;
19551
+ }>;
19552
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19553
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19554
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19555
+ }, "strip", z.ZodTypeAny, {
19556
+ type: "pcb_copper_pour";
19557
+ width: number;
19558
+ height: number;
19559
+ center: {
19560
+ x: number;
19561
+ y: number;
19562
+ };
19563
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19564
+ shape: "rect";
19565
+ pcb_copper_pour_id: string;
19566
+ rotation?: number | undefined;
19567
+ subcircuit_id?: string | undefined;
19568
+ pcb_group_id?: string | undefined;
19569
+ source_net_id?: string | undefined;
19570
+ }, {
19571
+ type: "pcb_copper_pour";
19572
+ width: string | number;
19573
+ height: string | number;
19574
+ center: {
19575
+ x: string | number;
19576
+ y: string | number;
19577
+ };
19578
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19579
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19580
+ };
19581
+ shape: "rect";
19582
+ rotation?: string | number | undefined;
19583
+ subcircuit_id?: string | undefined;
19584
+ pcb_group_id?: string | undefined;
19585
+ source_net_id?: string | undefined;
19586
+ pcb_copper_pour_id?: string | undefined;
19587
+ }>, z.ZodObject<{
19588
+ type: z.ZodLiteral<"pcb_copper_pour">;
19589
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19590
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19591
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19592
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19593
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19594
+ }, "strip", z.ZodTypeAny, {
19595
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19596
+ }, {
19597
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19598
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19599
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19600
+ }>;
19601
+ source_net_id: z.ZodOptional<z.ZodString>;
19602
+ } & {
19603
+ shape: z.ZodLiteral<"circle">;
19604
+ center: z.ZodObject<{
19605
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19606
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19607
+ }, "strip", z.ZodTypeAny, {
19608
+ x: number;
19609
+ y: number;
19610
+ }, {
19611
+ x: string | number;
19612
+ y: string | number;
19613
+ }>;
19614
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19615
+ }, "strip", z.ZodTypeAny, {
19616
+ type: "pcb_copper_pour";
19617
+ center: {
19618
+ x: number;
19619
+ y: number;
19620
+ };
19621
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19622
+ shape: "circle";
19623
+ radius: number;
19624
+ pcb_copper_pour_id: string;
19625
+ subcircuit_id?: string | undefined;
19626
+ pcb_group_id?: string | undefined;
19627
+ source_net_id?: string | undefined;
19628
+ }, {
19629
+ type: "pcb_copper_pour";
19630
+ center: {
19631
+ x: string | number;
19632
+ y: string | number;
19633
+ };
19634
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19635
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19636
+ };
19637
+ shape: "circle";
19638
+ radius: string | number;
19639
+ subcircuit_id?: string | undefined;
19640
+ pcb_group_id?: string | undefined;
19641
+ source_net_id?: string | undefined;
19642
+ pcb_copper_pour_id?: string | undefined;
18951
19643
  }>, z.ZodObject<{
19644
+ type: z.ZodLiteral<"pcb_copper_pour">;
19645
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19646
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19647
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19648
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19649
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19650
+ }, "strip", z.ZodTypeAny, {
19651
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19652
+ }, {
19653
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19654
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19655
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19656
+ }>;
19657
+ source_net_id: z.ZodOptional<z.ZodString>;
19658
+ } & {
19659
+ shape: z.ZodLiteral<"polygon">;
19660
+ points: z.ZodArray<z.ZodObject<{
19661
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19662
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19663
+ }, "strip", z.ZodTypeAny, {
19664
+ x: number;
19665
+ y: number;
19666
+ }, {
19667
+ x: string | number;
19668
+ y: string | number;
19669
+ }>, "many">;
19670
+ }, "strip", z.ZodTypeAny, {
19671
+ type: "pcb_copper_pour";
19672
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19673
+ shape: "polygon";
19674
+ points: {
19675
+ x: number;
19676
+ y: number;
19677
+ }[];
19678
+ pcb_copper_pour_id: string;
19679
+ subcircuit_id?: string | undefined;
19680
+ pcb_group_id?: string | undefined;
19681
+ source_net_id?: string | undefined;
19682
+ }, {
19683
+ type: "pcb_copper_pour";
19684
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19685
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19686
+ };
19687
+ shape: "polygon";
19688
+ points: {
19689
+ x: string | number;
19690
+ y: string | number;
19691
+ }[];
19692
+ subcircuit_id?: string | undefined;
19693
+ pcb_group_id?: string | undefined;
19694
+ source_net_id?: string | undefined;
19695
+ pcb_copper_pour_id?: string | undefined;
19696
+ }>]>, z.ZodObject<{
18952
19697
  type: z.ZodLiteral<"schematic_box">;
18953
19698
  schematic_component_id: z.ZodOptional<z.ZodString>;
18954
19699
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -20023,6 +20768,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20023
20768
  model_obj_url: z.ZodOptional<z.ZodString>;
20024
20769
  model_stl_url: z.ZodOptional<z.ZodString>;
20025
20770
  model_3mf_url: z.ZodOptional<z.ZodString>;
20771
+ model_gltf_url: z.ZodOptional<z.ZodString>;
20026
20772
  model_jscad: z.ZodOptional<z.ZodAny>;
20027
20773
  }, "strip", z.ZodTypeAny, {
20028
20774
  type: "cad_component";
@@ -20050,6 +20796,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20050
20796
  model_obj_url?: string | undefined;
20051
20797
  model_stl_url?: string | undefined;
20052
20798
  model_3mf_url?: string | undefined;
20799
+ model_gltf_url?: string | undefined;
20053
20800
  model_jscad?: any;
20054
20801
  }, {
20055
20802
  type: "cad_component";
@@ -20079,6 +20826,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20079
20826
  model_obj_url?: string | undefined;
20080
20827
  model_stl_url?: string | undefined;
20081
20828
  model_3mf_url?: string | undefined;
20829
+ model_gltf_url?: string | undefined;
20082
20830
  model_jscad?: any;
20083
20831
  }>, z.ZodUnion<[z.ZodObject<{
20084
20832
  type: z.ZodLiteral<"simulation_voltage_source">;
@@ -20166,4 +20914,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
20166
20914
  */
20167
20915
  type CircuitJson = AnyCircuitElement[];
20168
20916
 
20169
- 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 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_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 };
20917
+ 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 };