@sentry/integrations
Version:
Pluggable integrations that can be used to enhance JS SDKs
21 lines • 778 B
TypeScript
import type { Event, Integration, IntegrationClass, StackFrame } from '@sentry/types';
type StackFrameIteratee = (frame: StackFrame) => StackFrame;
interface RewriteFramesOptions {
root?: string;
prefix?: string;
iteratee?: StackFrameIteratee;
}
export declare const rewriteFramesIntegration: (options?: RewriteFramesOptions | undefined) => import("@sentry/types").IntegrationFnResult;
/**
* Rewrite event frames paths.
* @deprecated Use `rewriteFramesIntegration()` instead.
*/
export declare const RewriteFrames: IntegrationClass<Integration & {
processEvent: (event: Event) => Event;
}> & (new (options?: {
root?: string;
prefix?: string;
iteratee?: StackFrameIteratee;
}) => Integration);
export {};
//# sourceMappingURL=rewriteframes.d.ts.map