import { CircuitJson } from 'circuit-json'; import * as circuit_json_to_gltf from 'circuit-json-to-gltf'; type CircuitJsonToGltfModule = typeof circuit_json_to_gltf; declare global { var tscircuitDynamicModules: { "circuit-json-to-gltf"?: CircuitJsonToGltfModule; } | undefined; } declare const getCircuitJsonToGltfModule: () => Promise; interface CircuitJsonToStepOptions { /** Board width in mm (optional if pcb_board is present) */ boardWidth?: number; /** Board height in mm (optional if pcb_board is present) */ boardHeight?: number; /** Board thickness in mm (default: 1.6mm or from pcb_board) */ boardThickness?: number; /** Product name (default: "PCB") */ productName?: string; /** Include component meshes (default: false) */ includeComponents?: boolean; /** Include external model meshes from model_*_url fields (default: false). Only applicable when includeComponents is true. */ includeExternalMeshes?: boolean; /** * Pre-loaded STEP file contents, keyed by URL/path. * If a URL is found here, the content is used directly instead of fetching. * Useful for tests that need to load local files. */ fsMap?: Record; } /** * Converts circuit JSON to STEP format, creating holes in a PCB board */ declare function circuitJsonToStep(circuitJson: CircuitJson, options?: CircuitJsonToStepOptions): Promise; export { type CircuitJsonToStepOptions, circuitJsonToStep, getCircuitJsonToGltfModule };