/**
 * Usage / utilization API — stub.
 *
 * The upstream module fetched per-org rate-limit + extra-usage state from
 * the console API for display in the Settings → Usage page. Sandcode has
 * no console pipeline; the page renders a permanent "no data" view by
 * resolving fetchUtilization() to null.
 */

export type RateLimit = {
  limit: number
  remaining: number
  resetsAt: number
}

export type Utilization = {
  fiveHour?: RateLimit
  sevenDay?: RateLimit
  sevenDayOpus?: RateLimit
  extraUsage?: ExtraUsage
}

export type ExtraUsage = {
  enabled: boolean
  remainingCredits?: number
  monthlyLimit?: number
}

export async function fetchUtilization(): Promise<Utilization | null> {
  return null
}
