import type { CaptureErrorContext } from "../server/capture-error.js"; export type TrackingExceptionLevel = "fatal" | "error" | "warning" | "info" | "debug"; export interface TrackingExceptionContext extends CaptureErrorContext { /** Whether the caller handled the error. Server error hooks default false. */ handled?: boolean; level?: TrackingExceptionLevel; release?: string; environment?: string; runtime?: "node" | "cli"; source?: "server" | "cli"; } /** Emit a bounded, redacted Node/CLI exception through first-party tracking. */ export declare function captureException(error: unknown, context?: TrackingExceptionContext): void; //# sourceMappingURL=error-capture.d.ts.map