UNPKG

hyperformula

Version:

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

28 lines (27 loc) 872 B
/** * @license * Copyright (c) 2025 Handsoncode. All rights reserved. */ import { CellError } from '../Cell'; import { RawCellContent } from '../CellContentParser'; import { ExtendedNumber } from '../interpreter/InterpreterValue'; export declare type ValueCellVertexValue = ExtendedNumber | boolean | string | CellError; export interface RawAndParsedValue { parsedValue: ValueCellVertexValue; rawValue: RawCellContent; } /** * Represents vertex which keeps static cell value */ export declare class ValueCellVertex { private parsedValue; private rawValue; /** Static cell value. */ constructor(parsedValue: ValueCellVertexValue, rawValue: RawCellContent); getValues(): RawAndParsedValue; setValues(values: RawAndParsedValue): void; /** * Returns cell value stored in vertex */ getCellValue(): ValueCellVertexValue; }