import type { LibreDwgEx } from "@mlightcad/libredwg-web";
/** Loaded @mlightcad/libredwg-web module + singleton WASM instance */
export type LibreDwgWebModule = typeof import("@mlightcad/libredwg-web");
export type LibreDwgRuntimeContext = {
    mod: LibreDwgWebModule;
    libredwg: LibreDwgEx;
};
/**
 * Dynamically loads @mlightcad/libredwg-web (WASM + JS) on first use.
 * Keeps the main bundle smaller until a DWG file is parsed.
 */
export declare function ensureLibredwgLoaded(): Promise<LibreDwgRuntimeContext>;
