UNPKG

722 BTypeScriptView Raw
1import type { Client, Integration, IntegrationClass } from '@sentry/types';
2type ReportTypes = 'crash' | 'deprecation' | 'intervention';
3interface ReportingObserverOptions {
4 types?: ReportTypes[];
5}
6export declare const reportingObserverIntegration: (options?: ReportingObserverOptions | undefined) => import("@sentry/types").IntegrationFnResult;
7/**
8 * Reporting API integration - https://w3c.github.io/reporting/
9 * @deprecated Use `reportingObserverIntegration()` instead.
10 */
11export declare const ReportingObserver: IntegrationClass<Integration & {
12 setup: (client: Client) => void;
13}> & (new (options?: {
14 types?: ReportTypes[];
15}) => Integration);
16export {};
17//# sourceMappingURL=reportingobserver.d.ts.map
\No newline at end of file