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