/** * Worksheet check — the largest and most important part of the validator. * * Covers four new structural checks beyond the original wiring check: * 1. **Child element ordering** — `` children must appear in * the ECMA-376 canonical order. Excel is known to reject files with * out-of-order children; this is a top cause of "Excel needs to * repair" prompts. * 2. **Cell `r="A1"` consistency** — every `` inside a * `` must decode to row `N` and to a column in * `[1, 16384]` (Excel's max column limit, XFD). * 3. **Merge region overlap** — every `` must * parse and no two merged ranges may overlap. * 4. **Style / SST index bounds** — every `` must reference a * valid `cellXfs` index, and every `N` must * reference an existing `sharedStrings` index. * * Plus the legacy r:id wiring checks (controls, drawing, comments, * hyperlink, tablePart, legacyDrawing) and the "controls without * drawing" repair signal. The old "legacyDrawing-after-controls" kind is * kept for backward compatibility — it is emitted in parallel with the * generic `sheet-child-out-of-order` kind. */ import type { ValidationContext } from "./context.js"; export declare function checkWorksheets(ctx: ValidationContext): void;