import { Atom_Value_Type, Ref_Type, CellAddress, CellRange } from '../common/types'; import { Ast_Formula_Node } from '../parser'; import type { DependencyGraph } from './DependencyGraph'; export declare class FormulaNode { private dependencyGraph; formula: string; address: CellAddress; readonly type = "formula"; deps: Ref_Type[]; ast: Ast_Formula_Node; cachedValue: Atom_Value_Type | undefined; constructor(dependencyGraph: DependencyGraph, formula: string, address: CellAddress); get coord(): string; clearCache(): void; recompute(): boolean; get value(): Atom_Value_Type; } export declare class ValueNode { value: Atom_Value_Type; readonly type = "value"; constructor(value: Atom_Value_Type); } export declare class RangeNode { range: CellRange; readonly type = "range"; private cachedValue; cyclic: boolean; constructor(range: CellRange); getValue(tag: string): Atom_Value_Type | undefined; setValue(tag: string, value: Atom_Value_Type): void; clear(): void; } export declare type DependencyNode = ValueNode | RangeNode | FormulaNode;