import { AnyFunction } from "../../class/Mixin.js"; import { AtomCalculationPriorityLevel } from "../atom/Meta.js"; import { CalculationFunction, CalculationMode, CalculationModeSync } from "../CalculationMode.js"; import { EffectHandler } from "../Effect.js"; import { ChronoGraph } from "../graph/Graph.js"; import { BoxUnboundPre } from "./Box.js"; export declare const SynchronousCalculationStarted: unique symbol; export declare class CalculableBoxUnbound extends BoxUnboundPre { level: AtomCalculationPriorityLevel; cleanup: AnyFunction; $calculationEtalon: CalculationFunction; get calculationEtalon(): CalculationFunction; set calculationEtalon(value: CalculationFunction); static new(config?: Partial>): CalculableBoxUnbound; context: unknown; $calculation: CalculationFunction; get calculation(): CalculationFunction; set calculation(value: CalculationFunction); iterationResult: IteratorResult; isCalculationStarted(): boolean; isCalculationCompleted(): boolean; beforeCalculation(): void; startCalculation(onEffect: EffectHandler): IteratorResult; continueCalculation(value: unknown): IteratorResult; resetCalculation(keepProposed: boolean): void; proposedValue: V; proposedArgs: unknown[]; usedProposedOrPrevious: boolean; hasProposedValue(): boolean; onReadingPast(): this; readConsistentOrProposedOrPrevious(): V; readProposedOrPrevious(): V; readProposedOrPreviousInternal(): V; readProposed(): V; readProposedArgs(): unknown[]; readPrevious(): V; readProposedInternal(): V; readProposedArgsInternal(): unknown[]; readPreviousInternal(): V; read(graph?: ChronoGraph): this['V']; actualize(): void; updateValue(newValue: V): void; shouldCheckDependencies(): boolean; shouldCalculate(): boolean; doCalculate(): void; write(value: V, ...args: unknown[]): void; writeConfirmedDifferentValue(value: V): void; clone(): this; doCleanup(): void; onUnused(): void; } export declare class CalculableBox extends CalculableBoxUnbound { get boundGraph(): ChronoGraph; }