import ID from '../../utils/uuid'; import ContextCarrier from './contextCarrier'; export default class SegmentRef { refType: 'CrossProcess' | 'CrossThread'; traceId: ID; spanId: string; segmentId: ID; service: string; serviceInstance: string; endpoint: string; clientAddress: string; private constructor(); static fromCarrier(carrier: ContextCarrier): SegmentRef; }