const RUNTIME_IMAGE_COORD_STRIDE = 1_048_576;
export function toFormulaInstanceKey(row, col) {
    return row * RUNTIME_IMAGE_COORD_STRIDE + col;
}
export function getOrCreateSheetFormulaMap(maps, sheetName) {
    let sheetMap = maps.get(sheetName);
    if (!sheetMap) {
        sheetMap = new Map();
        maps.set(sheetName, sheetMap);
    }
    return sheetMap;
}
//# sourceMappingURL=runtime-image-formula-map.js.map