import { Key, LangCodeOrLocale, TextValue } from './TranslationRecords'; declare type Expired = boolean; declare type RetrieveValue = [TextValue | undefined, Expired]; interface CustomCache { retrieve(key: Key, language: LangCodeOrLocale): Promise; put(key: Key, language: LangCodeOrLocale, value: TextValue): Promise; keys?(): Promise<[LangCodeOrLocale, Key][]>; } export type { RetrieveValue }; export default CustomCache;