export type AllowancePlan = 'free' | 'starter' | 'growth' | 'unlimited'; export interface Allowance { plan: AllowancePlan; /** null = unlimited. */ limit: number | null; /** Generations since this date count against the limit (null = all time). */ countFrom: Date | null; /** When a subscription's allowance renews. */ renewsAt: Date | null; }