import { ISpan, SerializedSpan } from './span'; /** * Represents the spans and associated data for a trace */ export declare class TraceData { /** * The spans that make up this trace */ spans: ISpan[]; /** * Create a new TraceData instance * @param spans List of spans */ constructor(spans?: ISpan[]); /** * Convert this TraceData instance to JSON format * @returns JSON object representation of the TraceData */ toJson(): SerializedTraceData; /** * Create a TraceData instance from JSON data (following Python implementation) * @param json JSON object containing trace data * @returns TraceData instance */ static fromJson(json: SerializedTraceData): TraceData; } export interface SerializedTraceData { spans: SerializedSpan[]; }