/** * Native DOCX → ODT conversion (issues #331, #406). * * Traverses docx-core's structured document view — the same intentionally-lossy semantic * model the markdown/HTML serializers consume — and emits a fresh ODT package. No external * binary is involved at runtime; LibreOffice exists only as a differential test oracle. * * `formattingMode: 'full'` is required (not the `'compact'` default): compact mode encodes * the document's dominant formatting as a modal baseline rather than per-run tags, which * would silently drop bold/italic/underline on mostly-bold documents. * * Two narrow raw-DOM supplements cover what the view cannot carry: table borders/grid widths * (read from the source `w:tbl` by the view's `table_index`) and text-empty body paragraphs * (vertical spacing the view never surfaces, preserved as empty `text:p` by bookmark * correlation). */ import { type ConvertDocxToOdtOptions, type ConvertDocxToOdtResult } from './types.js'; /** Convert a `.docx` buffer to a fresh `.odt` package plus a lossiness report. */ export declare function convertDocxToOdt(docx: Buffer, options?: ConvertDocxToOdtOptions): Promise; //# sourceMappingURL=docx_to_odt.d.ts.map