import { Benchmark } from "../../../src/benchmark/Benchmark.js"; import { Box } from "../../../src/chrono2/data/Box.js"; import { Base } from "../../../src/class/Base.js"; import { AnyFunction } from "../../../src/class/Mixin.js"; export declare class BoxAbstract { box: unknown; READ(): V; WRITE(value: V): void; } export interface BoxMobxRaw { get(): V; set(value: V): any; } export declare class BoxMobx extends BoxAbstract { box: any; constructor(box: any); get(): V; set(value: V): any; READ(): V; WRITE(value: V): any; } export declare class BoxChronoGraph2 extends BoxAbstract { box: Box; constructor(box: any); read(): V; write(value: V): void; READ(): V; WRITE(value: V): void; } export interface ReactiveDataGenerator { rawBox(initialValue: V, name?: string): RawBox; box(initialValue: V, name?: string): BoxAbstract; rawComputed(func: AnyFunction, context?: any, name?: string): RawBox; computed(func: AnyFunction, context?: any, name?: string): BoxAbstract; computedStrict(func: AnyFunction, context?: any, name?: string): BoxAbstract; } export interface ReactiveDataGeneratorWithGenerators extends ReactiveDataGenerator { computedGen(func: AnyFunction>, context?: any, name?: string): BoxAbstract; } export declare class ReactiveDataGeneratorMobx implements ReactiveDataGenerator> { rawBox(initialValue: V, name?: string): BoxMobx; box(initialValue: V, name?: string): BoxMobx; rawComputed(func: AnyFunction, context?: any, name?: string): BoxMobxRaw; computed(func: AnyFunction, context?: any, name?: string): BoxMobx; computedStrict(func: AnyFunction, context?: any, name?: string): BoxMobx; } export declare const reactiveDataGeneratorMobx: ReactiveDataGeneratorMobx; export declare class ReactiveDataGeneratorChronoGraph2 extends Base implements ReactiveDataGeneratorWithGenerators> { rawBox(initialValue: V, name?: string): Box; box(initialValue: V, name?: string): BoxChronoGraph2; rawComputed(func: AnyFunction, context?: any, name?: string): Box; computed(func: AnyFunction, context?: any, name?: string): BoxChronoGraph2; computedStrict(func: AnyFunction, context?: any, name?: string): BoxChronoGraph2; computedGen(func: AnyFunction>, context?: any, name?: string): BoxChronoGraph2; } export declare const reactiveDataGeneratorChronoGraph2: ReactiveDataGeneratorChronoGraph2; export declare type ReactiveDataGenerationResult = { boxes: BoxAbstract[]; counter: number; }; export declare type PostBenchInfo = { totalCount: number; result: number; }; export declare class ReactiveDataBenchmark extends Benchmark { gatherInfo(state: StateT): InfoT; stringifyInfo(info: InfoT): string; } export declare const launchIfStandaloneProcess: (run: AnyFunction, moduleName: string) => Res;