import type { RateLimitEntry, RateLimitStore } from "./types.js"; /** Options accepted by the provider-backed Redis rate-limit store. */ export interface RedisRateLimitOptions { url?: string; keyPrefix?: string; /** Maximum time allowed for opening the extension-provided Redis client. */ connectTimeoutMs?: number; /** Maximum time allowed for an individual Redis command. */ operationTimeoutMs?: number; } /** * Redis rate-limit store backed by the registered Redis runtime provider. * * Core owns only the stable rate-limit facade. The Redis extension owns the * third-party client package, connections, and transport lifecycle. */ export declare class RedisRateLimitStore implements RateLimitStore { private readonly connection; private readonly keyPrefix; private readonly operationTimeoutMs; constructor(options?: RedisRateLimitOptions); private ensureClient; private storageKey; private withOperationTimeout; increment(key: string, windowMs: number): Promise; reset(key: string): Promise; destroy(): Promise; } //# sourceMappingURL=redis-rate-limit.d.ts.map