/** DSN baked at pack time; empty (-> disabled) on dev/unpacked builds. */ export declare function resolveSentryDsn(): string | undefined; export interface InitSentryOptions { readonly doNotTrack: boolean; readonly dsn: string | undefined; readonly release: string; readonly transports: readonly string[]; /** Distinct connection auth types (e.g. ["direct", "oauth"]); no ids/secrets. */ readonly connectionTypes: readonly string[]; } /** * Initialize crash reporting. Short-circuits — no DSN registered, no transport, * no global handlers — when the user has opted out or no DSN was baked in. Uses * the same resolved `doNotTrack` value as usage analytics, so one switch * disables both. */ export declare function initSentry(opts: InitSentryOptions): void; /** Report an error. No-op until {@link initSentry} has registered a client. */ export declare function captureException(error: unknown, context?: { tags?: Record; }): void; export declare function closeSentry(timeoutMs?: number): Promise; //# sourceMappingURL=sentry.d.ts.map