import type { GraphqlQuotaWarningBand } from "../config/load.mts"; import type { GraphqlApiUsage, GraphqlQuotaWarning } from "../types.mts"; export interface GraphqlQuotaWarningState { resource: string; limit: number; lastUsed?: number; lastRemaining: number; resetAt: number; warnedThresholds: number[]; rearmEpoch?: number; } export declare function evaluateGraphqlQuotaWarning(bands: GraphqlQuotaWarningBand[], sample: Pick, previous: GraphqlQuotaWarningState | null, observedAt?: number): { warning?: GraphqlQuotaWarning; state: GraphqlQuotaWarningState & { rearmEpoch: number; }; };