import { ContextManager, Context } from '@opentelemetry/api'; /** * A test-only ContextManager that uses an in-memory stack to keep track of * the active context. * * This is not intended for advanced or asynchronous use cases. */ export declare class TestStackContextManager implements ContextManager { private _contextStack; active(): Context; with ReturnType>(context: Context, fn: F, thisArg?: ThisParameterType, ...args: A): ReturnType; bind(target: T, context?: Context): T; enable(): this; disable(): this; }