import { AsyncStack } from "../polyfill/AsyncStack"; type AnyFunction = (...args: any) => any; type VariableDataBox = { value: Value; }; export declare class AsyncVariable { data: WeakMap>; static stopWalkAt: WeakSet; static variableByStack: WeakMap>>; static registerVariable(variable: AsyncVariable, stack: AsyncStack): void; getBox(stack: AsyncStack): VariableDataBox | undefined; setBox(stack: AsyncStack, box: { value: Value; }): void; set(stack: AsyncStack, data: any): void; get(): Value; run(data: Value, callback: Fn): any; wrap(data: Value, callback: Fn): Fn; } export {};