UNPKG

609 BTypeScriptView Raw
1import type { CustomSamplingContext, TransactionContext } from '@sentry/types';
2import type { Hub } from '../hub';
3import { IdleTransaction } from './idletransaction';
4/**
5 * Create new idle transaction.
6 */
7export declare function startIdleTransaction(hub: Hub, transactionContext: TransactionContext, idleTimeout: number, finalTimeout: number, onScope?: boolean, customSamplingContext?: CustomSamplingContext, heartbeatInterval?: number): IdleTransaction;
8/**
9 * Adds tracing extensions to the global hub.
10 */
11export declare function addTracingExtensions(): void;
12//# sourceMappingURL=hubextensions.d.ts.map
\No newline at end of file