import type { Event, EventProcessor, Integration } from '@sentry/types'; /** * Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"] * This exists because we do not want to await async profiler.stop calls as transaction.finish is called * in a synchronous context. Instead, we handle sending the profile async from the promise callback and * rely on being able to pull the event from the cache when we need to construct the envelope. This makes the * integration less reliable as we might be dropping profiles when the cache is full. * * @experimental */ export declare class BrowserProfilingIntegration implements Integration { readonly name: string; /** * @inheritDoc */ setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void): void; /** * @inheritDoc */ handleGlobalEvent(event: Event): Event; } //# sourceMappingURL=integration.d.ts.map