import { NodeSDK } from "@opentelemetry/sdk-node";
import { SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base";
import type { AttributeParams, TraceFormatSpans } from "../../core/type.js";
import HttpExporter from "../exporter/http-exporter.js";
export declare function initOpenTelemetry({ dbPath, exportFn, updateFn, }: {
    dbPath?: string;
    exportFn?: (spans: TraceFormatSpans[]) => Promise<void>;
    updateFn?: (id: string, data: AttributeParams) => Promise<void>;
}): Promise<{
    sdk: NodeSDK;
    spanProcessor: SimpleSpanProcessor;
    traceExporter: HttpExporter;
}>;
