/** * Debug-ID discovery: bundler plugins (Sentry's and the emerging standard) * inject a global map of stack-trace snippets → debug IDs into every built * chunk. Resolving those to filenames lets the backend pick the exact source * map for a frame with no release/dist coordination. * * Adapted from sentry-javascript (packages/core/src/utils/debug-ids.ts), * MIT License, Copyright (c) 2019-present Functional Software, Inc. dba Sentry. * * Covered by __tests__/debug-ids.test.ts. */ import { StackFrame } from './stack-parser'; /** Test hook: reset the memoized filename→debugId map. */ export declare function resetDebugIdCache(): void; /** * The current filename → debug-ID map, derived from the global registries. * Memoized on registry sizes (chunks load over time, so the map can grow). */ export declare function getFilenameDebugIdMap(): Record; /** * The subset of the debug-ID map covering the files in a report's frames. * Returns undefined when nothing matches, so reports stay unchanged on apps * without a debug-ID-injecting bundler plugin. */ export declare function getDebugIdMapForFrames(frames: StackFrame[]): Record | undefined; //# sourceMappingURL=debug-ids.d.ts.map