/** * Table part check. * * Three real-world "Removed Records: Table from /xl/tables/tableN.xml" * patterns that cause Excel to drop the entire table on open: * * 1. **Redundant per-column ``.** The writer used to * emit a bare `` for * every column in the table. The schema accepts it, but Excel's * loader interprets a fully-hidden autoFilter on a live table as * inconsistent and drops the table to recover. * * 2. **`` paired with a built-in * `totalsRowFunction`.** The schema allows the child only when * the function is `"custom"` (or absent). For any of `sum`, * `average`, `count`, `countNums`, `max`, `min`, `stdDev`, * `var` Excel generates the SUBTOTAL formula itself and rejects * the table if we pre-emit one. * * 3. **autoFilter range covering the totals row.** When * `totalsRowCount="1"` is set on the ``, the autoFilter * range must stop one row above the totals row. Filtering the * totals row itself is semantically invalid and Excel rejects * the table. * * These are some of the most common "Excel cannot open" symptoms in * production xlsx from other tooling too — catching them up front is a * high-value check. */ import type { ValidationContext } from "./context.js"; export declare function checkTables(ctx: ValidationContext): void;