export declare class DB { db: any; constructor(); connect(): void; promiseConnection(): Promise; static isValidId(str: string): boolean; static createNewId(value?: string): any; static makeDoc(data: MongoDoc): Object; static makeNewSolt(): string; static hash(value: string, solt: string): string; dbFindOne(collection: string, where: any, options: any): Promise<{}>; dbInsert(collection: string, docs: any, options: any): Promise<{}>; dbUpdate(collection: string, where: any, what: any, options: any): Promise<{}>; dbFind(collection: string, where: any, options: any): Promise<{}>; }