import { Client, Integration } from '@sentry/core'; /** * Router integration for miniapp navigation. * * @deprecated 默认不启用,导航面包屑已由 `PageBreadcrumbs`(基于 Page 生命周期)覆盖。 * 保留导出仅为向后兼容,将在 2.0 移除。请勿在新代码中使用。 */ export declare class Router implements Integration { /** * @inheritDoc */ static id: string; /** * @inheritDoc */ name: string; /** * @inheritDoc */ private _lastRoute; private readonly _cleanupCallbacks; /** * @inheritDoc */ setupOnce(): void; setup(client: Client): void; /** * Instrument navigation functions */ private _ensureNavigationInstrumentation; private _registerNavigationHandlers; /** * Start monitoring route changes */ private _startRouteMonitoring; /** * 清理资源 */ cleanup(): void; private _trackCleanup; /** * Get current route */ private _getCurrentRoute; /** * Record navigation action */ private _recordNavigation; /** * Record route change */ private _recordRouteChange; } //# sourceMappingURL=router.d.ts.map