1 | import type { Transaction } from '@sentry/types';
|
2 | import { extractTraceparentData as _extractTraceparentData } from '@sentry/utils';
|
3 | import type { Hub } from '../hub';
|
4 | /** Grabs active transaction off scope, if any */
|
5 | export declare function getActiveTransaction<T extends Transaction>(maybeHub?: Hub): T | undefined;
|
6 | export { stripUrlQueryAndFragment } from '@sentry/utils';
|
7 | /**
|
8 | * The `extractTraceparentData` function and `TRACEPARENT_REGEXP` constant used
|
9 | * to be declared in this file. It was later moved into `@sentry/utils` as part of a
|
10 | * move to remove `@sentry/tracing` dependencies from `@sentry/node` (`extractTraceparentData`
|
11 | * is the only tracing function used by `@sentry/node`).
|
12 | *
|
13 | * These exports are kept here for backwards compatability's sake.
|
14 | *
|
15 | * See https://github.com/getsentry/sentry-javascript/issues/4642 for more details.
|
16 | *
|
17 | * @deprecated Import this function from `@sentry/utils` instead
|
18 | */
|
19 | export declare const extractTraceparentData: typeof _extractTraceparentData;
|
20 | //# sourceMappingURL=utils.d.ts.map |
\ | No newline at end of file |