import { DocumentReader, ReadResult } from '../../core/ir/adapters.js'; import { FlowDoc } from '../../core/ir/flow.js'; /** * Read a legacy Word 97–2003 `.doc` (DOC-1..11) into the same {@link FlowDoc} the * OOXML docx reader produces: paragraphs of formatted runs, tables (column widths, * cell borders, vertical merges, shading), inline images, list items, the first * section's page size and the section's headers/footers. The text + formatting is * read; drawing shapes / text boxes and comments are not, so a `degraded` (or * `dropped`, for an encrypted file) {@link Loss} is reported. * * @param bytes The `.doc` (OLE2/CFB) bytes. * @returns The projected {@link FlowDoc} and the read loss(es). */ export declare function readDoc(bytes: Uint8Array): ReadResult; /** * The {@link DocumentReader} for legacy `.doc`: sniffs a Word 97–2003 binary (a * CFB with a `WordDocument` stream) and reads it via {@link readDoc} into a * {@link FlowDoc}. */ export declare const docReader: DocumentReader;