/** * Sentry error monitoring for the MCP server. * * Inert unless `SENTRY_DSN` is set — so it does nothing on local / dev / BYO * installs and only reports from environments explicitly configured with a DSN * (the hosted server). It captures top-level and otherwise-unhandled errors that * would otherwise be completely invisible on distributed CLI/MCP installs. * * Privacy: PII is off by default and we never attach source code. Monitoring * never throws — a failure here must never take down a scan. * * @module monitoring/sentry */ /** Initialise Sentry if a DSN is configured. Safe to call once at server boot. */ export declare function initSentry(): Promise; /** Report an error to Sentry (no-op when Sentry isn't configured). */ export declare function captureError(error: unknown, context?: Record): void; /** Flush buffered events before the process exits (no-op when unconfigured). */ export declare function flushSentry(timeoutMs?: number): Promise; //# sourceMappingURL=sentry.d.ts.map