import { SessionInterface } from '../types'; import { SessionStorage } from '../session_storage'; export interface MongoDBSessionStorageOptions { sessionCollectionName: string; } export declare class MongoDBSessionStorage implements SessionStorage { private dbUrl; private dbName; static withCredentials(host: string, dbName: string, username: string, password: string, opts: Partial): MongoDBSessionStorage; readonly ready: Promise; private options; private client; constructor(dbUrl: URL, dbName: string, opts?: Partial); storeSession(session: SessionInterface): Promise; loadSession(id: string): Promise; deleteSession(id: string): Promise; deleteSessions(ids: string[]): Promise; findSessionsByShop(shop: string): Promise; disconnect(): Promise; private get collection(); private init; private hasSessionCollection; private createCollection; } //# sourceMappingURL=mongodb.d.ts.map