/** A 0-indexed cell address (`A1` → `{ column: 0, row: 0 }`). */ export interface CellAddress { readonly column: number; readonly row: number; } /** * Parse an A1-style cell reference (§18.18.62) into a 0-indexed {@link CellAddress}. * The column letters are base-26 (`A`=1 … `Z`=26, `AA`=27, …); the row is a plain * 1-indexed integer. Both are decremented to 0-indexed on the way out. * * @param ref The reference, e.g. `"AB12"` (case-insensitive column letters). * @returns The 0-indexed column/row. * @throws Error when `ref` has no column letters or a non-positive-integer row. */ export declare function parseCellRef(ref: string): CellAddress; /** * Format a 0-indexed {@link CellAddress} back to an A1-style reference — the * inverse of {@link parseCellRef} (`{ column: 0, row: 0 }` → `"A1"`). */ export declare function formatCellRef(address: CellAddress): string;