import type { TraceFormatSpans } from "../core/type.js"; import { type AIGNEObserverOptions } from "../core/type.js"; export declare class AIGNEObserver { tracer: { startSpan: () => { spanContext: () => { traceId: string; spanId: string; }; parentSpanContext: () => { traceId: string; spanId: string; }; setAttribute: () => void; setAttributes: () => void; end: () => void; setStatus: () => void; setSpanContext: () => void; }; }; static exportFn?: (spans: TraceFormatSpans[]) => Promise; static setExportFn(exportFn: (spans: TraceFormatSpans[]) => Promise): void; constructor(options?: AIGNEObserverOptions); serve(): Promise; close(): Promise; }