import type { ApiServer } from '../ApiServer'; import type { QuotaService } from '../../quota/QuotaService'; import type { UsageRepository } from '../../storage/quota/UsageRepository'; export interface QuotaHandlerOptions { quotaService: QuotaService; usageRepo: UsageRepository; } /** * Handler for quota management API * * Supports four resource types: storage, bandwidth, compute, token. * Requires ServiceAuthContext with 'quota:write' scope for mutations. * * GET /v1/quota/accounts/:accountId - Get account quota + usage * PUT /v1/quota/accounts/:accountId - Set account quota * DELETE /v1/quota/accounts/:accountId - Clear account quota (revert to defaults) * GET /v1/quota/pods/:podId - Get pod quota + usage * PUT /v1/quota/pods/:podId - Set pod quota * DELETE /v1/quota/pods/:podId - Clear pod quota */ export declare function registerQuotaRoutes(server: ApiServer, options: QuotaHandlerOptions): void;