import { SpanStatusCode } from '@opentelemetry/api'; /** * Enum representing the state of a trace */ export declare enum TraceState { /** * Unspecified trace state */ STATE_UNSPECIFIED = "STATE_UNSPECIFIED", /** * Trace successfully completed */ OK = "OK", /** * Trace encountered an error */ ERROR = "ERROR", /** * Trace is currently in progress */ IN_PROGRESS = "IN_PROGRESS" } /** * Convert OpenTelemetry status code to MLflow TraceState * @param statusCode OpenTelemetry status code */ export declare function fromOtelStatus(statusCode: SpanStatusCode): TraceState;