import { Context } from "@opentelemetry/api";
import { AbstractAsyncHooksContextManager } from "@opentelemetry/context-async-hooks/build/src/AbstractAsyncHooksContextManager";
/**
 * We needed to fork this because we need "enterWith" for LLMz iteration tracking
 * DO NOT switch back to the original package unless "enterWith" is added there
 * */
export declare class AsyncLocalStorageContextManager extends AbstractAsyncHooksContextManager {
    private _asyncLocalStorage;
    constructor();
    active(): Context;
    with<A extends unknown[], F extends (...args: A) => ReturnType<F>>(context: Context, fn: F, thisArg?: ThisParameterType<F>, ...args: A): ReturnType<F>;
    enable(): this;
    enterWith(context: Context): void;
    disable(): this;
}
//# sourceMappingURL=context-manager.d.ts.map