import { ExcelTable } from '../core/spreadsheet-model/index.js'; /** * §18.5.1.1 `` — the values * a column's filter keeps visible. Used only for slicer selection (E-SHEET SV2); * not part of the persisted {@link ExcelTable} (so the writer/roundtrip stay * unchanged). */ export interface TableFilterColumn { /** 0-based column offset within the table. */ readonly colId: number; /** The values the filter keeps visible. */ readonly values: ReadonlyArray; } /** * The richer parse the reader needs for slicer resolution: the persisted * {@link ExcelTable} plus the table's numeric id and any autofilter value filters. */ export interface ParsedTablePart { readonly table: ExcelTable; /** The table's numeric `@id` (matched against a slicer cache's `tableId`). */ readonly id?: number; readonly filters: ReadonlyArray; } /** * Parse `xl/tables/tableN.xml` (§18.5.1.2) into the persisted {@link ExcelTable} * (range, header-row count, autofilter presence, banded-style flags), or undefined * when the root or its `ref` is missing. The slimmer of the two entry points; * {@link parseTablePartFull} also returns the id + filters. */ export declare function parseTablePart(data: Uint8Array): ExcelTable | undefined; /** * Parse a table part into the full {@link ParsedTablePart} — the {@link ExcelTable} * plus the table's numeric id and any autofilter value filters (for slicer * resolution). Returns undefined when the root or its `ref` is missing. */ export declare function parseTablePartFull(data: Uint8Array): ParsedTablePart | undefined;