// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//! WASM API: diagnose_geometry — run the geometry pass and return ONLY its typed
//! CSG / opening diagnostics (the `GeometryDiagnostics` contract).
//!
//! This drives the unified `process_geometry` pass (wasm-safe via its clock shim)
//! and returns `ProcessingStats.geometry_diagnostics`, so the CLI / SDK surface the
//! exact same contract the WASM batch loader and the native server produce. The
//! meshes themselves are discarded — only the diagnostics cross the FFI boundary.
use IfcAPI;
use *;