import Segment from '../trace/context/segment'; import Span, { Log } from '../trace/span/span'; import { SpanType, SpanLayer, Component } from '../trace/constants'; declare type Tags = { [key: string]: any; }; export default class SegmentAdapter { protected sn: string; protected e: string; protected tn: string; protected u: string; protected id: string; protected p: string; protected s: string; protected t: SpanType; protected y: SpanLayer; protected ts: number; protected te: number; protected d: number; protected c: Component; protected o: string; protected r: string; protected er: boolean; protected g?: Tags; protected l?: Log[]; protected tv?: string; protected sv?: string; protected tl?: string; constructor(); private transferArray2Obj; private getParentId; setObject(segment: Segment, span: Span): SegmentAdapter; } export {};