UNPKG

4.76 kBTypeScriptView Raw
1export * from './exports';
2/** @deprecated Import the integration function directly, e.g. `inboundFiltersIntegration()` instead of `new Integrations.InboundFilter(). */
3declare const INTEGRATIONS: {
4 GlobalHandlers: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
5 setup: (client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void;
6 }> & (new (options?: Partial<{
7 onerror: boolean;
8 onunhandledrejection: boolean;
9 }> | undefined) => import("@sentry/types").Integration);
10 TryCatch: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration> & (new (options?: {
11 setTimeout: boolean;
12 setInterval: boolean;
13 requestAnimationFrame: boolean;
14 XMLHttpRequest: boolean;
15 eventTarget: boolean | string[];
16 } | undefined) => import("@sentry/types").Integration);
17 Breadcrumbs: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
18 setup: (client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void;
19 }> & (new (options?: Partial<{
20 console: boolean;
21 dom: boolean | {
22 serializeAttribute?: string | string[] | undefined;
23 maxStringLength?: number | undefined;
24 };
25 fetch: boolean;
26 history: boolean;
27 sentry: boolean;
28 xhr: boolean;
29 }> | undefined) => import("@sentry/types").Integration);
30 LinkedErrors: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
31 preprocessEvent: (event: import("@sentry/types").Event, hint: import("@sentry/types").EventHint, client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void;
32 }> & (new (options?: {
33 key?: string | undefined;
34 limit?: number | undefined;
35 } | undefined) => import("@sentry/types").Integration);
36 HttpContext: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
37 preprocessEvent: (event: import("@sentry/types").Event) => void;
38 }>;
39 Dedupe: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
40 processEvent: (event: import("@sentry/types").Event) => import("@sentry/types").Event;
41 }>;
42 FunctionToString: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
43 setupOnce: () => void;
44 }>;
45 InboundFilters: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
46 preprocessEvent: (event: import("@sentry/types").Event, hint: import("@sentry/types").EventHint, client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void;
47 }> & (new (options?: Partial<{
48 allowUrls: (string | RegExp)[];
49 denyUrls: (string | RegExp)[];
50 ignoreErrors: (string | RegExp)[];
51 ignoreTransactions: (string | RegExp)[];
52 ignoreInternal: boolean;
53 disableErrorDefaults: boolean;
54 disableTransactionDefaults: boolean;
55 }> | undefined) => import("@sentry/types").Integration);
56};
57export { INTEGRATIONS as Integrations };
58export { Replay, replayIntegration, getReplay, } from '@sentry/replay';
59export type { ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, } from '@sentry/replay';
60export { ReplayCanvas, replayCanvasIntegration, } from '@sentry-internal/replay-canvas';
61export { Feedback, feedbackIntegration, sendFeedback, } from '@sentry-internal/feedback';
62export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from '@sentry-internal/tracing';
63export type { RequestInstrumentationOptions } from '@sentry-internal/tracing';
64export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, getSpanStatusFromHttpCode, setHttpStatus, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core';
65export type { SpanStatusType } from '@sentry/core';
66export type { Span } from '@sentry/types';
67export { makeBrowserOfflineTransport } from './transports/offline';
68export { onProfilingStartRouteTransaction } from './profiling/hubextensions';
69export { BrowserProfilingIntegration, browserProfilingIntegration, } from './profiling/integration';
70//# sourceMappingURL=index.d.ts.map
\No newline at end of file