export declare class Context { private _current; private memory; constructor(context: T); get current(): T; /** This should not be used. Just here for initial development. Instead use * Context#with. */ _setCurrent(context: T): T; with(context: B, fn: (context: B) => A): A; wrap(context: Passed, fn: (...args: Args) => Return): (...args: Args) => Return; }