import type { TraceFormatSpans } from "../core/type.js";
import { type AIGNEObserverOptions } from "../core/type.js";
import type { HttpExporterInterface } from "../opentelemetry/exporter/http-exporter.js";
export declare class AIGNEObserver {
    private storage?;
    tracer: import("@opentelemetry/api").Tracer;
    traceExporter: HttpExporterInterface | undefined;
    private sdkServerStarted;
    static exportFn?: (spans: TraceFormatSpans[]) => Promise<void>;
    static setExportFn(exportFn: (spans: TraceFormatSpans[]) => Promise<void>): void;
    constructor(options?: AIGNEObserverOptions);
    serve(): Promise<void>;
    _serve(): Promise<void>;
    close(): Promise<void>;
}
