import type { ErrorEventForQuota, ErrorSeries, QuotaState, StaticQuotaConfig, SuccessEventForQuota } from './types.js';
export declare function createInitialQuotaState(providerKey: string, staticConfig?: StaticQuotaConfig, nowMs?: number): QuotaState;
export declare function normalizeErrorSeries(event: ErrorEventForQuota): ErrorSeries;
export declare function tickQuotaStateTime(state: QuotaState, nowMs: number): QuotaState;
export declare function applyErrorEvent(state: QuotaState, event: ErrorEventForQuota, nowMs?: number): QuotaState;
export declare function applySuccessEvent(state: QuotaState, _event: SuccessEventForQuota, nowMs?: number): QuotaState;
