/** *
* * ## Installation * * ```bash npm2yarn2pnpm * npm install next-auth @next-auth/mongodb-adapter mongodb * ``` * * @module @next-auth/mongodb-adapter */ import { ObjectId } from "mongodb"; import type { Adapter } from "next-auth/adapters"; import type { MongoClient } from "mongodb"; /** This is the interface of the MongoDB adapter options. */ export interface MongoDBAdapterOptions { /** * The name of the {@link https://www.mongodb.com/docs/manual/core/databases-and-collections/#collections MongoDB collections}. */ collections?: { Users?: string; Accounts?: string; Sessions?: string; VerificationTokens?: string; }; /** * The name you want to give to the MongoDB database */ databaseName?: string; } export declare const defaultCollections: Required