/** * Values-only table reads (getValues semantics). * * These helpers port the Apps Script table-read operation to the REST wire * shapes: formula cells resolve to their computed effective value, error * cells to their formatted error string (the known fast-path limitation the * safety scan exists for), strings are NFC-normalized, dates are detected * through the canonical number format, and blank rows are skipped with the * checkbox rule. Unsupported cell shapes fail closed, exactly like the Apps * Script source throws. */ import type { SyncTableRow } from "../../../../contracts/sheets/syncSheets.js"; import type { ParsedGridData } from "./preflightTypes.js"; /** One values-only read target with its registered schema. */ export interface TableReadTarget { readonly registeredRange: string; readonly headers: readonly string[]; /** ยง12 columnMap: adopted-route physical headers (see the definition type). */ readonly physicalHeaders?: readonly string[]; readonly checkboxHeaders: readonly string[]; /** 1-based system row-id column; undefined for projections without one. */ readonly anchorColumn: number | undefined; } /** * Builds the nonblank rows of one validated grid as normalized table rows. * Header validation is strict (exact match, non-empty, no duplicates; the * system row-id column must close a user_input range) and blank rows are * skipped with the checkbox-false rule, ignoring the system column. */ export declare function buildTableRowsFromGrid(grid: ParsedGridData, target: TableReadTarget): readonly SyncTableRow[]; //# sourceMappingURL=tableRead.d.ts.map