UNPKG

607 BTypeScriptView Raw
1import type { Span } from '@sentry/types';
2import type { Scope } from '@sentry/types';
3export { stripUrlQueryAndFragment } from '@sentry/utils';
4/** Store the scope & isolation scope for a span, which can the be used when it is finished. */
5export declare function setCapturedScopesOnSpan(span: Span | undefined, scope: Scope, isolationScope: Scope): void;
6/**
7 * Grabs the scope and isolation scope off a span that were active when the span was started.
8 */
9export declare function getCapturedScopesOnSpan(span: Span): {
10 scope?: Scope;
11 isolationScope?: Scope;
12};
13//# sourceMappingURL=utils.d.ts.map
\No newline at end of file