import * as mongodb from "mongodb"; import { BasicCache } from "./BasicCache"; export declare class MongoCache extends BasicCache { private initPromise; private db; constructor(url: string, opts?: mongodb.MongoClientOptions); private initCollection; exists(key: string): Promise; get(key: string): Promise; set(key: string, value: any, ttl: number): Promise; delete(key: string): Promise; deleteAll(): Promise; }