UNPKG

616 BTypeScriptView Raw
1import type { Integration } from '@sentry/core';
2import type { AnrIntegrationOptions } from './common';
3export declare const base64WorkerScript = "###AnrWorkerScript###";
4type AnrInternal = {
5 startWorker: () => void;
6 stopWorker: () => void;
7};
8type AnrReturn = (options?: Partial<AnrIntegrationOptions>) => Integration & AnrInternal;
9export declare const anrIntegration: AnrReturn;
10export declare function disableAnrDetectionForCallback<T>(callback: () => T): T;
11export declare function disableAnrDetectionForCallback<T>(callback: () => Promise<T>): Promise<T>;
12export {};
13//# sourceMappingURL=index.d.ts.map
\No newline at end of file