RewriteAction:
| { count: number; sheet?: string; start: number; type: "insert_rows" }
| { count: number; sheet?: string; start: number; type: "delete_rows" }
| { count: number; sheet?: string; start: number; type: "insert_cols" }
| { count: number; sheet?: string; start: number; type: "delete_cols" }
A row or column insert/delete that rewriteFormula applies to the references in a formula.
startuses a different base per axis. Forinsert_rowsanddelete_rowsit is a 1-based row number as written in A1 notation (3is row 3). Forinsert_colsanddelete_colsit is a 0-based column index (0is column A,2is column C).>= startbycount.[start, start + count): a cell ref inside it becomes#REF!, a range shrinks (or becomes#REF!when wholly inside it), and later references shift back bycount.sheetnames the sheet whose qualified references are rewritten; the name matches ignoring case, as in Excel. When it isundefined, only unqualified references (no sheet prefix) are touched.