declare class MongoClient { private _databaseName; private selectedDatabase; private selectedCollection; constructor(databaseName: string); database(databaseName: string): MongoClient; collection(collectionName: string): MongoClient; findOne(query: any, collectionName?: string): Promise; find(query: any, collectionName?: string): Promise; findById(id: any, collectionName?: string): Promise; } export default MongoClient;