import type { Breadcrumb, ErrorEvent, Event, EventHint, Scope } from "@sentry/node"; export type { ReportUserFacingErrorOptions, SentryAttributionAttributes, SentryRunScopeContext, SentrySpanPayload, SentryTransactionPayload, } from "./types.js"; import type { ReportUserFacingErrorOptions, SentryAttributionAttributes, SentryRunScopeContext, SentrySpanPayload, SentryTransactionPayload } from "./types.js"; export declare function createSentryInitOptions(dsn?: string): { dsn: string | undefined; environment: string; enabled: boolean; sendDefaultPii: boolean; tracesSampleRate: number; includeLocalVariables: boolean; enableLogs: boolean; beforeSend(event: ErrorEvent, hint: EventHint): ErrorEvent | null; beforeSendSpan(span: SentrySpanPayload): SentrySpanPayload; beforeSendTransaction(event: SentryTransactionPayload): SentryTransactionPayload | null; beforeBreadcrumb(breadcrumb: Breadcrumb): Breadcrumb | null; }; export declare function reportUserFacingError(error: unknown, options: ReportUserFacingErrorOptions): string | undefined; export declare function createRunAttributionAttributes(context: SentryRunScopeContext): SentryAttributionAttributes; export declare function registerTraceAttribution(span: { setAttributes(attributes: SentryAttributionAttributes): unknown; }, attributes: SentryAttributionAttributes): void; export declare function updateActiveSpanAttribution(attributes: SentryAttributionAttributes): void; export declare function applyRunScope(scope: Scope, context: SentryRunScopeContext): void; export declare function metricAttributes(attributes: Record): Record; export declare function addLifecycleBreadcrumb(message: string, data?: Record): void; export declare function sanitizeEvent(event: T, _hint?: EventHint): T | null; export declare function applySpanAttribution(span: T): T; export declare function sanitizeBreadcrumb(breadcrumb: Breadcrumb): Breadcrumb | null; export declare function sanitizeValue(value: unknown, key?: string, depth?: number): unknown; //# sourceMappingURL=sentry.d.ts.map