import type { IngestResource } from "./resources/ingest.js"; import type { RelivioStatsStore } from "./stats.js"; import type { LogLevel } from "./types/ingest.js"; import type { TraceIdProvider } from "./types/options.js"; export interface CaptureExceptionOptions { service?: string; level?: LogLevel; apiPath?: string; traceId?: string; } export interface CaptureResourceDefaults { defaultService?: string; traceIdProvider?: TraceIdProvider; } export declare class CaptureResource { private readonly ingest; private readonly stats; private readonly defaultService; private readonly traceIdProvider; constructor(ingest: IngestResource, stats: RelivioStatsStore, defaults?: CaptureResourceDefaults); captureException(reason: unknown, options?: CaptureExceptionOptions): Promise; private resolveTraceId; } //# sourceMappingURL=capture.d.ts.map