import type { FetchCountRequest } from '../../../types.js'; import type { FetchCounterRepository } from './fetch-counter-repository.js'; import type { GatewayFetchLimits } from './fetch-limits.js'; type FetchLimits = Pick; /** * Counts one fetch atomically and returns the refusal when a window is full. A signed-in user * is counted by subject, an anonymous caller by IP; a caller with neither is not counted. */ export declare function applyFetchCount(store: FetchCounterRepository, caller: FetchCountRequest['caller'], limits: FetchLimits, now: number): Promise; export {}; //# sourceMappingURL=fetch-count.d.ts.map