import { DocumentReader, ReadResult } from '../core/ir/adapters.js'; import { FlowDoc } from '../core/ir/flow.js'; /** * Read a `.docx` package into the {@link FlowDoc} interlayer (ir-design ยง7): the * document-derived half of what the converter used to do inline. Parses the main * document, styles, numbering, notes, comments, headers/footers, charts, embedded * fonts and core properties, runs the body through the stage-6 FlowDoc transforms * (list markers then the style cascade), and returns the tree plus any * graceful-degradation losses. Caller-supplied conversion options (fonts, PDF/A, * signature) stay with the converter/facade. * * @param docx The raw `.docx` (OPC ZIP) bytes. * @returns The parsed {@link FlowDoc} and the losses recorded while reading. */ export declare function readDocx(docx: Uint8Array): ReadResult; /** * The {@link DocumentReader} registration for `.docx`: its id, the FlowDoc * feature set it supports, the sniffer, and the {@link readDocx} entry point. */ export declare const docxReader: DocumentReader;