1 | import { Event, EventProcessor, Hub, Integration } from '@sentry/types';
|
2 | /** This function adds duration since Sentry was initialized till the time event was sent */
|
3 | export declare class SessionTiming implements Integration {
|
4 | /**
|
5 | * @inheritDoc
|
6 | */
|
7 | static id: string;
|
8 | /**
|
9 | * @inheritDoc
|
10 | */
|
11 | name: string;
|
12 | /** Exact time Client was initialized expressed in milliseconds since Unix Epoch. */
|
13 | protected readonly _startTime: number;
|
14 | /**
|
15 | * @inheritDoc
|
16 | */
|
17 | setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
|
18 | /**
|
19 | * @inheritDoc
|
20 | */
|
21 | process(event: Event): Event;
|
22 | }
|
23 | //# sourceMappingURL=sessiontiming.d.ts.map |
\ | No newline at end of file |