/** * Async-local storage context for per-invocation telemetry state. Each top-level * SDK method call runs in its own ALS scope (via runWithTelemetryContext), isolating * its depth counter and method metadata from concurrent calls. */ export interface MethodMetadata { selectedApi?: string | null; operationType?: string | null; operationKey?: string | null; } export declare function isTelemetryNested(): boolean; export declare function runWithTelemetryContext(fn: () => T): T; export declare function setMethodMetadata(metadata: MethodMetadata): void; export declare function getMethodMetadata(): MethodMetadata | undefined; //# sourceMappingURL=telemetry-context.d.ts.map