/** * Post-build structural validation of a generated package — the * "no recovery dialog" gate. Each check targets a concrete repair trigger in * reading applications: missing content types, dangling relationship targets, * unresolvable r:id references, malformed section properties, and unbalanced * field characters. * * `auditSectPr` is reused as one component: it flags duplicated or misplaced * body-level sectPr and dangling header/footer references, but tolerates the * zero-sectPr case (legal for parsed third-party documents), so the * required-final-sectPr check lives here. */ export type StructuralIssue = { check: 'xml_declaration' | 'content_type_coverage' | 'relationship_target' | 'rid_resolution' | 'sectpr' | 'field_pairing' | 'table'; part: string; message: string; }; export type StructuralCheckResult = { ok: boolean; issues: StructuralIssue[]; }; /** Run every structural check against a generated package buffer. */ export declare function checkGeneratedPackage(buffer: Buffer): Promise; //# sourceMappingURL=structural-checks.d.ts.map