import type { CaptureErrorContext } from "../server/capture-error.js"; export type TrackingExceptionLevel = "fatal" | "error" | "warning" | "info" | "debug"; export interface TrackingExceptionContext extends CaptureErrorContext { handled?: boolean; level?: TrackingExceptionLevel; release?: string; environment?: string; runtime?: "node" | "cli"; source?: "server" | "cli"; userId?: string; orgId?: string; } export declare function captureException(error: unknown, context?: TrackingExceptionContext): void;