/** * `docx2txt ` — a Word document's text, one paragraph per line. * * A .docx is a zip with an XML part inside, so this is an unzip and a walk over * `` runs — no Word, no LibreOffice, no conversion service. `fflate` does * the unzip (synchronous, zero dependencies); the extraction is a regex over the * one element that holds text, and that is deliberate: a full XML parse would * pull a parser in for a job whose whole grammar is "the text inside w:t, * grouped by w:p". * * Runs of one paragraph are JOINED, never newline-separated: Word splits a * sentence across runs at every formatting change, so a line per run would cut * "Revenue rose 26%" into three. */ import type { LazyCommand } from "just-bash"; /** The document's paragraphs, in order. */ export declare function paragraphsOf(documentXml: string): string[]; export declare const docx2txt: LazyCommand; //# sourceMappingURL=docx2txt.d.ts.map