export declare class Cache<Key, Value> {
    private _getKeyHash;
    private _cache;
    constructor(hashFn: (key: Key) => string);
    has(key: Key): boolean;
    get(key: Key): Value | undefined;
    set(key: Key, value: Value): this;
}
