import type { RateLimitStorage, RateLimitData, RateLimitTransaction } from '../types'; export declare class MemoryStorage implements RateLimitStorage { private store; private cleanupInterval; constructor(cleanupIntervalMs?: number); private startCleanup; private cleanup; destroy(): void; get(key: string): Promise; set(key: string, data: RateLimitData, ttl?: number): Promise; increment(key: string, amount?: number): Promise; delete(key: string): Promise; exists(key: string): Promise; expire(key: string, ttl: number): Promise; multi(): RateLimitTransaction; }