import { RetrieveValue, Text, Key, LangCodeOrLocale, TextValue } from './types'; interface CacheItem { value: TextValue; expiresAt: Date | undefined; } declare const cache: { records: Record>; put(key: Key, language: LangCodeOrLocale, value: TextValue): void; /** * Note: Use function retrieveForLangCodeOrLocale to retrieve a value from cache for a langCodeOrLocale * @return {TextValue | undefined, boolean} value undefined means not found, empty string means found (string value) */ retrieve(key: Key, language: LangCodeOrLocale): RetrieveValue; keys(): [LangCodeOrLocale, Key][]; storeAll(texts: Text[]): void; }; export default cache;