export interface QuotaUpdate { remainingQuota: number; status?: 'depleted'; } /** * Compute the new quota after decrementing by 1. * Returns null if the access has no quota (unlimited). */ export declare function decrementQuota(remainingQuota: number | null): QuotaUpdate | null; /** * Check if a quota is exhausted. */ export declare function isQuotaDepleted(remainingQuota: number | null): boolean; /** * Check if generating a new ticket would exceed the total quota. */ export declare function wouldExceedQuota(totalQuota: number | null, currentCount: number): boolean; //# sourceMappingURL=quota-manager.d.ts.map