import { Collection } from 'mongodb'; import { AtomStore, Atom, AtomId } from '@casual-simulation/causal-trees/core2'; /** * Defines a class that implements an AtomStore for MongoDB. */ export declare class MongoDBAtomStore implements AtomStore { private _atomsCollection; constructor(atomsCollection: Collection); init(): Promise; add(atoms: Atom[]): Promise; findByCause(cause: AtomId): Promise[]>; findByHashes(hashes: string[]): Promise[]>; } //# sourceMappingURL=MongoDBAtomStore.d.ts.map