import type { Collection, Db } from "mongodb"; import { ICache, IQuery } from "."; export declare class MongoCache implements ICache { cache: Collection; constructor(db: Db, name: string); set(key: string, data: T): Promise; get(k: string): Promise; remove(key: string): Promise; findOne(query?: IQuery): Promise; findMany(query?: IQuery): Promise; }