import { Trie } from '@kamilmielnik/trie';
import { Locale } from '@scrabble-solver/types';
import { Cache } from '../types';
export declare class MemoryCache implements Cache<Locale, Trie> {
    private readonly cache;
    private readonly cacheTimestamps;
    get(locale: Locale): Promise<Trie | undefined>;
    getLastModifiedTimestamp(locale: Locale): number | undefined;
    has(locale: Locale): boolean;
    isStale(locale: Locale): boolean | undefined;
    set(locale: Locale, trie: Trie): Promise<void>;
}
