import { MemoryRepositoryConfig } from '../config/repository.config.js'; import type { IStatsProvider, ISyncRepository } from '../interfaces/repository.interface.js'; import type { TranslationData } from '../types/translation-data.types.js'; export declare class MemoryRepository implements ISyncRepository, IStatsProvider { readonly name = "MemoryRepository"; readonly type = "memory"; readonly config: MemoryRepositoryConfig; private cache; private accessOrder; private maxSize; constructor(config: MemoryRepositoryConfig); get(key: string): string | null; set(key: string, value: string): void; remove(key: string): void; clear(): void; /** * Clear all entries for a specific namespace * Removes both the namespace cache entry and all individual translation keys */ clearNamespace(locale: string, namespace: string): void; getNamespace(locale: string, namespace: string): TranslationData | null; setNamespace(locale: string, namespace: string, translations: TranslationData): void; private evictOldest; /** * Get all cache entries for debugging */ getEntries(): Record; getConfig(): MemoryRepositoryConfig; } //# sourceMappingURL=memory-repository.d.ts.map