import NodeCache from "node-cache";
import { CacheOptions, DistributedDictionary } from "../core/types";
import { NatsConnection } from "nats";
import Redis from "ioredis";
export declare class DistributedDictionaryFactory {
    static create<K, V>(client: NatsConnection | Redis, cacheOptions: CacheOptions, l1Cache?: NodeCache): Promise<DistributedDictionary<K, V>>;
}
