/**
 * Overage credit grant API — stub. The upstream module fetched and cached
 * the user's available overage-credit grant for the OverageCreditUpsell
 * banner. Sandcode has no console pipeline; the upsell never renders.
 */

export type OverageCreditGrant = {
  amount: number
  currency: string
  expiresAt?: number
}

export function formatGrantAmount(_grant: OverageCreditGrant | null): string {
  return ''
}

export function getCachedOverageCreditGrant(): OverageCreditGrant | null {
  return null
}

export async function refreshOverageCreditGrantCache(): Promise<void> {
  /* no-op */
}
