UNPKG

736 BTypeScriptView Raw
1import type { Event, StackParser } from '@sentry/types';
2/**
3 * Retrieve metadata for a specific JavaScript file URL.
4 *
5 * Metadata is injected by the Sentry bundler plugins using the `_experiments.moduleMetadata` config option.
6 */
7export declare function getMetadataForUrl(parser: StackParser, filename: string): any | undefined;
8/**
9 * Adds metadata to stack frames.
10 *
11 * Metadata is injected by the Sentry bundler plugins using the `_experiments.moduleMetadata` config option.
12 */
13export declare function addMetadataToStackFrames(parser: StackParser, event: Event): void;
14/**
15 * Strips metadata from stack frames.
16 */
17export declare function stripMetadataFromStackFrames(event: Event): void;
18//# sourceMappingURL=metadata.d.ts.map
\No newline at end of file