export type Severity = "fatal" | "error" | "warning" | "log" | "info" | "debug"; export interface Breadcrumb { type?: string; level?: Severity; event_id?: string; category?: string; message?: string; data?: { [key: string]: any; }; timestamp?: number; } export interface CaptureExceptionsOptions { fingerprint?: Array; level: Severity; } export interface ErrorHandlingContextValue { /** * Captures an error event. * * @param details The error event to capture. */ captureException(details: unknown, options?: CaptureExceptionsOptions): void; addBreadcrumb(breadcrumb: Breadcrumb): void; setTag(key: string, value?: string | number | bigint | symbol | boolean | null): void; }