import type { HivePubSub, KeyValueCache, KeyValueCacheSetOptions, MeshPubSub, YamlConfig } from '@graphql-mesh/types';
export default class LocalforageCache<V = any> implements KeyValueCache<V> {
    private localforage;
    constructor(config?: YamlConfig.LocalforageConfig & {
        pubsub?: MeshPubSub | HivePubSub;
    });
    get(key: string): Promise<V>;
    getKeysByPrefix(prefix: string): Promise<string[]>;
    set(key: string, value: V, options?: KeyValueCacheSetOptions): Promise<any>;
    delete(key: string): Promise<boolean>;
}
