export interface DocxInspection { /** True when the body contains nothing the merge would have to drop. */ supported: boolean; /** Human-readable reasons, one per construct family found. */ unsupported: string[]; /** * The body carries a table of contents. That is DERIVED content Word * regenerates, so it does not block editing - the merge re-emits an * equivalent TOC field instead of dropping it. */ toc: boolean; /** Number of `w:sectPr` blocks in the body (1 = single section). */ sections: number; } /** * Inspect a `.docx` package. Returns `{ supported: false, unsupported: [...] }` * when editing would require dropping content. * * Never throws: an unreadable package is reported as unsupported (the caller * treats that as "cannot edit safely"), so a corrupt file can never be edited * destructively. */ export declare function inspectDocx(bytes: Buffer): Promise;