/** * Package structure check. * * Verifies the package contains the four OPC-mandatory parts (every xlsx * must have these to be considered an Open Packaging Convention file) and * that every XML-like part is syntactically well-formed. * * XML well-formedness is the broadest reachable check — it catches * unclosed tags, bad escapes, and invalid entities that would cause Excel * to repair-or-reject the whole package. We parse via DOM (which * internally delegates to SAX) so that subsequent DOM-based checkers hit * the same cached result. */ import type { ValidationContext } from "./context.js"; export declare function checkStructure(ctx: ValidationContext): void; /** * Walk every XML-like entry and parse it to surface malformed-XML * problems. Leverages the context cache so DOM-based checkers that run * afterwards do not re-parse. */ export declare function checkXmlWellFormed(ctx: ValidationContext): void;