/**
 * UptimeBar type definitions
 * @countermeasure/web-components/display/uptime-bar
 */

export type UptimeSegmentStatus = 'up' | 'down' | 'degraded' | 'unknown'

export interface UptimeSegment {
  status: UptimeSegmentStatus
  tooltip?: string
}

export interface UptimeBarConfig {
  container?: HTMLElement | string
  segments: UptimeSegment[]
  showLabels?: boolean
  height?: number
  className?: string
}
