import { type LegacySmartDocument } from "smartrte-core/legacy"; /** Removes editor UI before handing the document to the core parser boundary. */ export declare const cleanEditorHtml: (root: HTMLElement) => string; export declare const smartDocumentFromHtml: (html: string, ownerDocument: Document) => LegacySmartDocument; export declare const smartDocumentFromEditorRoot: (root: HTMLElement) => { document: LegacySmartDocument; html: string; }; /** Serializes the shadow-only model. It is not used for persisted editor HTML. */ export declare const serializeSmartDocument: (document: LegacySmartDocument) => string;