import { BaseViewer, Plugin, PluginConfig } from "@x-viewer/core"; export interface IfcLoaderPluginConfig extends Partial { /** * Folder URL ending with `/`, passed to `IfcAPI.SetWasmPath`. * Default: `https://cdn.jsdelivr.net/npm/web-ifc@{version}/` * For `http(s)://` bases, the loader passes `SetWasmPath(url, true)` so wasm is not prefixed twice by the script directory. */ wasmBaseUrl?: string; /** * Full URL to `web-ifc-api-iife.js`. * Default: `https://cdn.jsdelivr.net/npm/web-ifc@{version}/web-ifc-api-iife.js` */ scriptUrl?: string; } /** * Registers an IFC model loader backed by [web-ifc](https://github.com/tomvandig/web-ifc), * loaded at runtime from CDN (same strategy as Online3DViewer). */ export declare class IfcLoaderPlugin extends Plugin { static readonly DEFAULT_ID = "IfcLoaderPlugin"; private readonly loader; constructor(viewer: BaseViewer, cfg?: IfcLoaderPluginConfig); destroy(): void; }