UNPKG

785 BTypeScriptView Raw
1import { Integration, Options } from '@sentry/types';
2export declare const installedIntegrations: string[];
3/** Map of integrations assigned to a client */
4export declare type IntegrationIndex = {
5 [key: string]: Integration;
6};
7/** Gets integration to install */
8export declare function getIntegrationsToSetup(options: Options): Integration[];
9/**
10 * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default
11 * integrations are added unless they were already provided before.
12 * @param integrations array of integration instances
13 * @param withDefault should enable default integrations
14 */
15export declare function setupIntegrations(integrations: Integration[]): IntegrationIndex;
16//# sourceMappingURL=integration.d.ts.map
\No newline at end of file