UNPKG

@brontosaurus/db

Version:
9 lines (8 loc) 277 B
import { ObjectID } from "bson"; import { ITagModel } from "../model/tag"; export declare class TagCacheAgent { static create(): TagCacheAgent; private readonly _tagMap; private constructor(); getTag(id: ObjectID | string): Promise<ITagModel | null>; }