UNPKG

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