/** * Sets up the global embedded WASM module factory. * * This module configures the DsPdfConfig.wasmFactory global variable * to provide an embedded WebAssembly binary that is bundled directly * within the JavaScript code, eliminating the need for separate HTTP requests. * * The embedded approach provides: * - Faster initialization (no network latency for WASM download) * - Self-contained deployment (single file distribution) * - Offline capability (no external dependencies) * - Simplified deployment (no separate WASM file hosting) * * @note The trade-off is larger initial bundle size since the WASM binary * is encoded and included directly in the JavaScript. * * @example * // The factory is automatically set when this module is imported * import 'ds-wasm/wasm-embedded'; * // Now connectDsPdf() will use the embedded WASM * import { connectDsPdf } from 'ds-wasm'; * await connectDsPdf(); */ declare const embeddedWasmFactory: () => Promise; export { embeddedWasmFactory };