import type { Breadcrumb, Event, EventHint, Scope } from "@sentry/node"; import * as Sentry from "@sentry/node"; import type { ReportUserFacingErrorOptions, SentryAttributionAttributes, SentryRunScopeContext } from "./types.js"; export declare function createSentryInitOptions(dsn?: string, customOpenTelemetry?: boolean): { dsn: string | undefined; environment: string; enabled: boolean; sendDefaultPii: boolean; tracesSampleRate: number | undefined; skipOpenTelemetrySetup: boolean; registerEsmLoaderHooks: boolean | undefined; includeLocalVariables: boolean; enableLogs: boolean; integrations(defaultIntegrations: ReturnType): import("@sentry/core").Integration[]; beforeSend: typeof sanitizeEvent; beforeSendTransaction: typeof sanitizeEvent; beforeBreadcrumb: typeof sanitizeBreadcrumb; }; export declare function captureSentryError(error: unknown, options: ReportUserFacingErrorOptions): string | undefined; export declare function closeSentry(timeoutMs: number): Promise; export declare function recordSentryCounter(name: string, value: number, attributes: SentryAttributionAttributes): void; export declare function recordSentryDistribution(name: string, value: number, options: { unit?: string; attributes: SentryAttributionAttributes; }): void; export declare function recordSentryGauge(name: string, value: number, options: { unit?: string; attributes: SentryAttributionAttributes; }): void; export declare function addSentryBreadcrumb(message: string, data?: Record, options?: { category?: string; level?: "info" | "warning"; log?: boolean; }): void; export declare function withSentryRunScope(context: SentryRunScopeContext, body: () => T): T; export declare function createRunScopeAttributes(context: SentryRunScopeContext): SentryAttributionAttributes; export declare function applyRunScope(scope: Scope, context: SentryRunScopeContext): void; export declare function sanitizeEvent(event: T, _hint?: EventHint): T | null; export declare function sanitizeBreadcrumb(breadcrumb: Breadcrumb): Breadcrumb | null; export declare function sanitizeValue(value: unknown, key?: string, depth?: number): unknown; export declare function sanitizeTelemetryString(value: string): string; //# sourceMappingURL=sentry.d.ts.map