1 | import type { Client, Integration, IntegrationFn, Options } from '@sentry/types';
|
2 | declare module '@sentry/types' {
|
3 | interface Integration {
|
4 | isDefaultInstance?: boolean;
|
5 | }
|
6 | }
|
7 | export declare const installedIntegrations: string[];
|
8 |
|
9 | export type IntegrationIndex = {
|
10 | [key: string]: Integration;
|
11 | };
|
12 |
|
13 | export declare function getIntegrationsToSetup(options: Pick<Options, 'defaultIntegrations' | 'integrations'>): Integration[];
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare function setupIntegrations(client: Client, integrations: Integration[]): IntegrationIndex;
|
21 |
|
22 |
|
23 |
|
24 | export declare function afterSetupIntegrations(client: Client, integrations: Integration[]): void;
|
25 |
|
26 | export declare function setupIntegration(client: Client, integration: Integration, integrationIndex: IntegrationIndex): void;
|
27 |
|
28 | export declare function addIntegration(integration: Integration): void;
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | export declare function defineIntegration<Fn extends IntegrationFn>(fn: Fn): (...args: Parameters<Fn>) => Integration;
|
34 |
|
\ | No newline at end of file |