import { Storage, StoreItems } from 'botbuilder'; import { Collection, MongoClient } from 'mongodb'; import { MongoDocumentStoreItem } from './MongoDocumentStoreItem'; export declare class MongoDbStorage implements Storage { static readonly DEFAULT_COLLECTION_NAME: string; static readonly DEFAULT_DB_NAME: string; protected readonly targetCollection: Collection; constructor(collection: Collection); read(stateKeys: string[]): Promise; write(changes: StoreItems): Promise; delete(keys: string[]): Promise; static packStoreItems(items: MongoDocumentStoreItem[]): StoreItems; static createQuery(stateKeys: string[]): { _id: { $in: string[]; }; }; static createBulkOperations(changes: StoreItems): any[]; static shouldSlam(etag: any): boolean; static createFilter(key: string, etag: any): { _id: string; 'state.eTag'?: undefined; } | { _id: string; 'state.eTag': any; }; static getCollection(client: MongoClient, dbName?: string, collectionName?: string): Collection; }