import type { KvRepository } from '../../../../persistence/kv/repositories/kv-repository.js'; import type { GatewayFetchLimits } from './limits.js'; export type EdgeDecision = { allowed: true; } | { allowed: false; retryAfterSeconds: number; scope: 'rate' | 'quota'; }; export declare function checkEdgeRateLimit(params: { kv: KvRepository; ip: string; limits: GatewayFetchLimits; now: number; }): Promise; //# sourceMappingURL=edge-limiter.d.ts.map