1 | import type { Scope } from '@sentry/core';
|
2 | import { BaseClient } from '@sentry/core';
|
3 | import type { BrowserClientReplayOptions, ClientOptions, Event, EventHint, Options, Severity, SeverityLevel } from '@sentry/types';
|
4 | import type { BrowserTransportOptions } from './transports/types';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare type BrowserOptions = Options<BrowserTransportOptions> & BrowserClientReplayOptions;
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare type BrowserClientOptions = ClientOptions<BrowserTransportOptions>;
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | export declare class BrowserClient extends BaseClient<BrowserClientOptions> {
|
22 | |
23 |
|
24 |
|
25 |
|
26 |
|
27 | constructor(options: BrowserClientOptions);
|
28 | /**
|
29 | * @inheritDoc
|
30 | */
|
31 | eventFromException(exception: unknown, hint?: EventHint): PromiseLike<Event>;
|
32 | /**
|
33 | * @inheritDoc
|
34 | */
|
35 | eventFromMessage(message: string, level?: Severity | SeverityLevel, hint?: EventHint): PromiseLike<Event>;
|
36 | /**
|
37 | * @inheritDoc
|
38 | */
|
39 | sendEvent(event: Event, hint?: EventHint): void;
|
40 | /**
|
41 | * @inheritDoc
|
42 | */
|
43 | protected _prepareEvent(event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event | null>;
|
44 | /**
|
45 | * Sends client reports as an envelope.
|
46 | */
|
47 | private _flushOutcomes;
|
48 | }
|
49 | //# sourceMappingURL=client.d.ts.map |
\ | No newline at end of file |