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