UNPKG

994 BTypeScriptView Raw
1import type { Client, Integration, IntegrationClass } from '@sentry/types';
2interface BreadcrumbsOptions {
3 console: boolean;
4 dom: boolean | {
5 serializeAttribute?: string | string[];
6 maxStringLength?: number;
7 };
8 fetch: boolean;
9 history: boolean;
10 sentry: boolean;
11 xhr: boolean;
12}
13export declare const breadcrumbsIntegration: (options?: Partial<BreadcrumbsOptions> | undefined) => import("@sentry/types").IntegrationFnResult;
14/**
15 * Default Breadcrumbs instrumentations
16 *
17 * @deprecated Use `breadcrumbsIntegration()` instead.
18 */
19export declare const Breadcrumbs: IntegrationClass<Integration & {
20 setup: (client: Client) => void;
21}> & (new (options?: Partial<{
22 console: boolean;
23 dom: boolean | {
24 serializeAttribute?: string | string[];
25 maxStringLength?: number;
26 };
27 fetch: boolean;
28 history: boolean;
29 sentry: boolean;
30 xhr: boolean;
31}>) => Integration);
32export {};
33//# sourceMappingURL=breadcrumbs.d.ts.map
\No newline at end of file