/** * Sentry事件上报工具类 * 提供统一的错误上报接口,自动添加用户认证信息 */ export declare class SentryReporter { /** * 捕获并上报错误 * @param error 错误对象 * @param context 错误上下文 */ static captureError(error: any, context?: Record & { title?: string; }): void; /** * 捕获并上报消息 * @param message 消息内容 * @param context 消息上下文 */ static captureMessage(message: string, context?: Record): void; }