export interface TraceEvent {
  name: string
  cat: string
  ts: number
  pid?: number
  tid?: number
  ph?: string
  dur?: number
  args?: any
  [key: string]: any
}

export type TraceEventPhase = 'M' | 'X' | 'I' | 'B' | 'E' | 'D' | 'b' | 'e' | 'n' | string

export interface TraceFile {
  metadata: {
    [key: string]: any
  }
  traceEvents: TraceEvent[]
}