/** * Embeddable viewer/editor entry point — the CDN story. * * This module packages the whole stack behind two one-call factories so a page * can embed a DOCX viewer or editor with a single script tag and no build step: * * ```html *
* * ``` * * It ships in three shapes (see package.json build scripts): * - `dist/embed.js` — plain ESM with relative imports, for bundler users * (`import { createEditor } from "docxodus/embed"`). * Shares module state with the main `docxodus` entry. * - `dist/embed.bundle.js` — self-contained ESM bundle for CDN ` * ``` * * The chrome (and its loading overlay) paint immediately; the .NET runtime streams * behind them, and the overlay narrates that wait instead of hiding it. Density * follows the CONTAINER's width, so the same call serves a full-page editor and a * narrow embedded panel. */ export declare function createRibbonEditor(container: string | HTMLElement, source?: DocumentSource | null, options?: CreateRibbonEditorOptions): Promise