import type { ExecutionContext } from './ExecutionContext.ts'; export interface SentryReportContext { member: string; model: string; durationMs: number; status: string; correlationId: string; } /** * Reports a member run failure to Sentry when a DSN is configured. The * @sentry/node import is dynamic so disabled installs never load it, and a * reporter failure never surfaces to the caller. */ export declare function reportErrorToSentry(error: unknown, context: ExecutionContext, report: SentryReportContext): Promise; export declare function isDevEnvironment(env?: string | undefined): boolean; export interface BackgroundFailureOptions { member?: string; model?: string; } /** * Reports a non-fatal infrastructure failure (trace, decision/provenance, or * learner errors) to Sentry and to the console when Sentry is not configured * or in development, so visibility survives without a DSN. */ export declare function reportBackgroundFailure(error: unknown, context: ExecutionContext, event: string, options?: BackgroundFailureOptions): Promise; //# sourceMappingURL=sentryReporter.d.ts.map