export declare class Context { _disposed: boolean; _enclosed: boolean; _subContexts: Context[]; /** * (get) A boolean that indicates whether this promise context is disposed. * See https://github.com/vilic/thenfail# for more information. */ readonly disposed: boolean; /** * (get) A boolean that indicates whether this promise context is enclosed. * See https://github.com/vilic/thenfail# for more information. */ readonly enclosed: boolean; /** * Dispose this promise context. * See https://github.com/vilic/thenfail# for more information. */ dispose(): void; /** * Dispose all sub contexts of this promise context. */ disposeSubContexts(): void; }