export type PerfDiagSource = 'main' | 'renderer';

export type PerfDiagEntryType =
  | 'session'
  | 'process'
  | 'store'
  | 'components'
  | 'heap'
  | 'crash'
  | 'unresponsive';

export interface PerfDiagEntry {
  collectedAt: number;
  source: PerfDiagSource;
  type: PerfDiagEntryType;
  payload: Record<string, unknown>;
}
