/** * Zero-dependency OpenTelemetry OTLP Exporter. * Delivers traces and logs in the background over standard OTLP/HTTP. * Never writes to stdout. Errors are routed to stderr only behind REFINED_AGY_TRACE=1. */ import type { OtelConfig } from "./config.js"; import { type OtelLogRecord, type OtelSpan } from "./types.js"; export interface IOtelExporter { readonly exportSpans: (spans: OtelSpan[]) => void; readonly exportLogs: (logs: OtelLogRecord[]) => void; readonly flush: () => Promise; readonly shutdown: () => Promise; } export declare class OtlpExporter implements IOtelExporter { private readonly config; private readonly pendingRequests; private isShutdown; constructor(config: OtelConfig); exportSpans(spans: OtelSpan[]): void; exportLogs(logs: OtelLogRecord[]): void; private sendPayload; flush(): Promise; shutdown(): Promise; } //# sourceMappingURL=exporter.d.ts.map