UNPKG

hyperformula

Version:

HyperFormula is a JavaScript engine for efficient processing of spreadsheet-like data and formulas

20 lines (19 loc) 679 B
/** * @license * Copyright (c) 2025 Handsoncode. All rights reserved. */ import { AddressMapping } from './AddressMapping/AddressMapping'; import { SheetMapping } from './SheetMapping'; /** * Converts sheet names to ids and adds placeholder sheets if they don't exist. */ export declare class SheetReferenceRegistrar { private readonly sheetMapping; private readonly addressMapping; constructor(sheetMapping: SheetMapping, addressMapping: AddressMapping); /** * Adds placeholder sheet if it doesn't exist and adds placeholder strategy to address mapping. * @returns {number} sheet id */ ensureSheetRegistered(sheetName: string): number; }