type SentryEventLike = { user?: Record; request?: Record; extra?: Record; contexts?: Record; breadcrumbs?: Array>; tags?: Record; }; /** * Opt-in gate shared by frontend and backend init paths. * * A DSN alone must never turn reporting on: local/staging often copy production * env files. Callers must set `SENTRY_ENABLED=true` explicitly, plus DSN, * `NODE_ENV`, and `SITE_ROOT` (used for release tags / scrubbing context). */ export declare function shouldEnableSentry(): boolean; /** Native profiling is deliberately a second opt-in because its binary must * match the host Node ABI and libc. Error reporting remains available when * profiling is disabled or cannot load. */ export declare function shouldEnableSentryProfiling(): boolean; export declare function getSentryRelease(): string; export declare function getSentryEnvironment(): string; export declare function getSentryIgnoreErrors(): string[]; export declare function sanitizeSentryEvent(event: SentryEventLike): SentryEventLike; export declare function getSentryBaseOptions(): { dsn: string; environment: string; release: string; beforeSend(event: any): typeof event; ignoreErrors: string[]; }; export {};