import type { RateLimitResult, AlgorithmType } from '../types/index.js'; export interface Store { consume(key: string, window: number, max: number, algorithm?: AlgorithmType, burst?: number): Promise | RateLimitResult; } export declare class MemoryStore { private static readonly store; private static activeStoresCount; private static cleanupInterval; private maxEntries; private destroyed; constructor(options?: { maxEntries?: number; }); private static pruneExpiredEntries; private enforceMaxEntries; destroy(): void; consume(key: string, window: number, max: number): RateLimitResult; peek(key: string, window: number, max: number): RateLimitResult; reset(key?: string): void; getStats(): { totalKeys: number; }; clear(): void; }