import { Event, Integration } from '@sentry/core'; /** 将各小程序宿主的虚拟路径归一化为 sentry-cli 可匹配的 app:/// 路径。 */ export declare function normalizeMiniappFrameFilename(filename: string, prefix?: string): string; /** 官方 RewriteFrames 处理器 + 小程序路径归一化规则。 */ export declare const rewriteFramesIntegration: (options?: { prefix?: string; }) => Integration; /** * Normalize miniapp stack trace paths to a standard format for source map resolution. * E.g., 'appservice/pages/index.js' -> 'app:///pages/index.js' */ export declare class RewriteFrames implements Integration { /** * @inheritDoc */ static id: string; /** * @inheritDoc */ name: string; /** * Optional prefix to append to the normalized path. Defaults to 'app:///' */ private readonly _prefix; constructor(options?: { prefix?: string; }); /** * @inheritDoc */ setupOnce(): void; /** * @inheritDoc */ processEvent(event: Event): Event; /** * Normalizes a filename from various miniapp platforms */ private _normalizeFilename; } //# sourceMappingURL=rewriteframes.d.ts.map