import { Span } from './span'; import { SpanManager } from './span_manager'; export interface ZoneSpanOptions { /** * Name to give a created zone. Defaults to 'opentracing'. */ zoneName?: string; /** * Key of Zone property. Defaults to 'opentracing'. */ propertyKey?: string; } /** * SpanManager using {@link Zone.js|https://github.com/angular/zone.js}. * * The activated span is tied to the Zone. I.e. Zone#run affects which span is * active. */ export declare class ZoneSpanManager implements SpanManager { private readonly _propertyKey; private readonly _zoneName; constructor(options?: ZoneSpanOptions); active(): Span | null; activate(span: Span | null, f: () => A): A; }