import { type BrowserSentryOptions, type SentrySetupReturn } from './core'; /** * 纯浏览器 Sentry 初始化(适用于非框架项目或原生 JS) * * @param options - 包含 dsn 必填参数的配置对象 * @returns SentrySetupReturn * * @example * ```ts * import { toSentrySetup } from 'xn-fe-tools/sentry/browser' * * const { isInitialized, captureException } = toSentrySetup({ * dsn: 'https://xxx@sentry.io/xxx', * }) * ``` */ export declare function toSentrySetup(options: BrowserSentryOptions): SentrySetupReturn; export { breadcrumbsIntegration, browserTracingIntegration, replayIntegration, feedbackIntegration, httpClientIntegration, captureConsoleIntegration, contextLinesIntegration, extraErrorDataIntegration, reportingObserverIntegration, } from '@sentry/browser'; export type { BrowserSentryOptions, SentrySetupReturn, SentryBaseOptions, BreadcrumbsConfig, SentryViteConfig } from './core'; export { getSentryViteConfig } from './core'; //# sourceMappingURL=toSentrySetup.d.ts.map